Soundcloud problem

hi im kinda newb for this
im have problem when streaming music from soundcloud plugin after play the music once i cant play it anymore with error like this

ERROR GStreamer error: gst-resource-error-quark: Forbidden (15)

what should i do ?

no one cant help? :frowning:

There is not enough information here to help. Provide the exact steps to reproduce and the information requested at https://docs.mopidy.com/en/latest/troubleshooting/

ok this is my config, im use mopidy as service

`[core]
cache_dir = $XDG_CACHE_DIR/mopidy
config_dir = $XDG_CONFIG_DIR/mopidy
data_dir = $XDG_DATA_DIR/mopidy
max_tracklist_length = 10000
restore_state = false

[logging]
color = true
console_format = %(levelname)-8s %(message)s
debug_format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n %(message)s
debug_file = mopidy.log
config_file =

[audio]
mixer = software
mixer_volume = 50
output = alsasink
buffer_time =

[proxy]
scheme =
hostname =
port =
username =
password =

[musicbox_webclient]
enabled = true
musicbox = false
websocket_host =
websocket_port =
on_track_click = PLAY_ALL

[local-images]
enabled = true
library = json
base_uri = /images/
image_dir =
album_art_files =
*.jpg
*.jpeg
*.png

[iris]
enabled = true
country = NZ
locale = en_NZ
spotify_authorization_url = https://jamesbarnsley.co.nz/iris/auth_spotify.php
lastfm_authorization_url = https://jamesbarnsley.co.nz/iris/auth_lastfm.php
genius_authorization_url = https://jamesbarnsley.co.nz/iris/auth_genius.php
snapcast_enabled = false
snapcast_host = localhost
snapcast_port = 1705
snapcast_buffer_size = 8192

[mpd]
enabled = true
hostname = 192.168.1.107
port = 6600
password =
max_connections = 20
connection_timeout = 60
zeroconf = Mopidy MPD server on $hostname
command_blacklist =
listall
listallinfo
default_playlist_scheme = m3u

[http]
enabled = true
hostname = 192.168.1.107
port = 6680
static_dir = /iris
zeroconf = Mopidy HTTP server on $hostname
allowed_origins =
csrf_protection = true

[stream]
enabled = false ; Extension disabled due to config errors.
protocols = ; Must be set.
metadata_blacklist =
timeout = 5000

[m3u]
enabled = true
base_dir =
default_encoding = latin-1
default_extension = .m3u8
playlists_dir =

[softwaremixer]
enabled = true

[file]
enabled = true
media_dirs =
$XDG_MUSIC_DIR|Music
~/|Home
excluded_file_extensions =
.jpg
.jpeg
show_dotfiles = false
follow_symlinks = false
metadata_timeout = 1000

[local]
enabled = true
library = json
media_dir = /home/pi/media/Music
scan_timeout = 1000
scan_flush_threshold = 100
scan_follow_symlinks = false
excluded_file_extensions =
.directory
.html
.jpeg
.jpg
.log
.nfo
.png
.txt

[spotify]
enabled = true
username = *******
password = ********
client_id = *******
client_secret = ********
bitrate = 160
volume_normalization = true
private_session = false
timeout = 10
allow_cache = true
allow_network = true
allow_playlists = true
search_album_count = 20
search_artist_count = 10
search_track_count = 50
toplist_countries =

[soundcloud]
enabled = true
explore_songs = 25
auth_token = ********
`

and this is mopidy status when im playing song from soundcloud, spotify are works but soundcloud i get this error

mopidy.service - Mopidy music server
Loaded: loaded (/lib/systemd/system/mopidy.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2019-11-22 16:48:47 WIB; 5 days ago
Process: 4215 ExecStartPre=/bin/chown mopidy:audio /var/cache/mopidy (code=exited, status=0/SUCCESS)
Process: 4212 ExecStartPre=/bin/mkdir -p /var/cache/mopidy (code=exited, status=0/SUCCESS)
Main PID: 4218 (mopidy)
CGroup: /system.slice/mopidy.service
└─4218 /usr/bin/python /usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf

Nov 28 07:43:00 raspberrypi mopidy[4218]: ERROR GStreamer error: gst-resource-error-quark: Forbidden (15)
Nov 28 07:43:10 raspberrypi mopidy[4218]: ERROR GStreamer error: gst-resource-error-quark: Forbidden (15)
Nov 28 07:43:13 raspberrypi mopidy[4218]: ERROR GStreamer error: gst-resource-error-quark: Forbidden (15)
Nov 28 07:44:02 raspberrypi mopidy[4218]: ERROR GStreamer error: gst-resource-error-quark: Forbidden (15)
Nov 28 07:44:04 raspberrypi mopidy[4218]: ERROR GStreamer error: gst-resource-error-quark: Forbidden (15)
Nov 28 07:44:07 raspberrypi mopidy[4218]: ERROR GStreamer error: gst-resource-error-quark: Forbidden (15)
Nov 28 07:44:11 raspberrypi mopidy[4218]: ERROR GStreamer error: gst-resource-error-quark: Forbidden (15)
Nov 28 07:49:11 raspberrypi mopidy[4218]: INFO Logged in to Spotify in online mode
Nov 28 07:57:31 raspberrypi mopidy[4218]: ERROR GStreamer error: gst-resource-error-quark: Forbidden (15)
Nov 28 08:00:08 raspberrypi mopidy[4218]: ERROR GStreamer error: gst-resource-error-quark: Forbidden (15)

idk how to debuging gstreamer when mopidy as service, did i need to stop the mopidy service and start it with debug ?

For the steps to reproduce can you provide some tracks you tried to play.

for example im try play this file

soundcloud:song/Ost Seal Online - Avec Le.114880355

its playing fine theres no log about soundcloud

Loaded: loaded (/lib/systemd/system/mopidy.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2019-11-22 16:48:47 WIB; 6 days ago
Process: 4215 ExecStartPre=/bin/chown mopidy:audio /var/cache/mopidy (code=exited, status=0/SUCCESS)
Process: 4212 ExecStartPre=/bin/mkdir -p /var/cache/mopidy (code=exited, status=0/SUCCESS)
Main PID: 4218 (mopidy)
CGroup: /system.slice/mopidy.service
└─4218 /usr/bin/python /usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf

Nov 28 07:49:11 raspberrypi mopidy[4218]: INFO Logged in to Spotify in online mode
Nov 28 07:57:31 raspberrypi mopidy[4218]: ERROR GStreamer error: gst-resource-error-quark: Forbidden (15)
Nov 28 08:00:08 raspberrypi mopidy[4218]: ERROR GStreamer error: gst-resource-error-quark: Forbidden (15)
Nov 28 14:28:47 raspberrypi mopidy[4218]: ERROR Spotify connection error: <ErrorType.UNABLE_TO_CONTACT_SERVER: 8>
Nov 28 14:28:47 raspberrypi mopidy[4218]: INFO Disconnected from Spotify
Nov 28 14:28:58 raspberrypi mopidy[4218]: ERROR Spotify connection error: <ErrorType.UNABLE_TO_CONTACT_SERVER: 8>
Nov 28 14:28:58 raspberrypi mopidy[4218]: INFO Disconnected from Spotify
Nov 28 14:29:11 raspberrypi mopidy[4218]: ERROR Spotify connection error: <ErrorType.UNABLE_TO_CONTACT_SERVER: 8>
Nov 28 14:29:11 raspberrypi mopidy[4218]: INFO Disconnected from Spotify
Nov 28 14:29:32 raspberrypi mopidy[4218]: INFO Logged in to Spotify in online mode

then im changing the music to another music from soundcloud this happen
for example im playing this

soundcloud:song/Ipang Lazuardi - Ada Yang Hilang - ft. Didit Saad - Music Everywhere.mp3.280463893

then this happen

● mopidy.service - Mopidy music server
Loaded: loaded (/lib/systemd/system/mopidy.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2019-11-22 16:48:47 WIB; 6 days ago
Process: 4215 ExecStartPre=/bin/chown mopidy:audio /var/cache/mopidy (code=exited, status=0/SUCCESS)
Process: 4212 ExecStartPre=/bin/mkdir -p /var/cache/mopidy (code=exited, status=0/SUCCESS)
Main PID: 4218 (mopidy)
CGroup: /system.slice/mopidy.service
└─4218 /usr/bin/python /usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf

Nov 28 08:00:08 raspberrypi mopidy[4218]: ERROR GStreamer error: gst-resource-error-quark: Forbidden (15)
Nov 28 14:28:47 raspberrypi mopidy[4218]: ERROR Spotify connection error: <ErrorType.UNABLE_TO_CONTACT_SERVER: 8>
Nov 28 14:28:47 raspberrypi mopidy[4218]: INFO Disconnected from Spotify
Nov 28 14:28:58 raspberrypi mopidy[4218]: ERROR Spotify connection error: <ErrorType.UNABLE_TO_CONTACT_SERVER: 8>
Nov 28 14:28:58 raspberrypi mopidy[4218]: INFO Disconnected from Spotify
Nov 28 14:29:11 raspberrypi mopidy[4218]: ERROR Spotify connection error: <ErrorType.UNABLE_TO_CONTACT_SERVER: 8>
Nov 28 14:29:11 raspberrypi mopidy[4218]: INFO Disconnected from Spotify
Nov 28 14:29:32 raspberrypi mopidy[4218]: INFO Logged in to Spotify in online mode
Nov 28 17:17:43 raspberrypi mopidy[4218]: ERROR GStreamer error: gst-resource-error-quark: Forbidden (15)
Nov 28 17:17:51 raspberrypi mopidy[4218]: ERROR GStreamer error: gst-resource-error-quark: Forbidden (15)

sometimes after multiple times i try play another music from soundcloud its works then after end music and change to another music from soundcloud error like above happen again
spotify work well only soundcloud like this
im using iris player or another still same problem
im use raspberry zero w for the hardware and usb dac

gs streamer version

GStreamer Core Library version 1.10.4

found something, i cant change the music if i play music until the end of song , if i choose the song after song end that error happen maybe its about limitation of the soundcloud account ?

You can enable debug logging for the service if you edit /etc/mopidy/logging.conf and change the filehandler level from INFO to DEBUG.

[handler_fileHandler]
class = FileHandler
formatter = simpleFormatter
level = DEBUG
args = ('/var/log/mopidy/mopidy.log',)

im done change info to debug and reboot but log file doesnt show up at /var/log/mopidy folder
do i need to write another command ?