Spotify token refresh fail

Hello - running mopidy on RPI as service and spotify will not load songs. This even though all token and login details are saved correctly to config file.

Error log output below:

– Logs begin at Thu 2022-05-19 09:17:01 CEST, end at Mon 2022-05-23 12:24:32 CEST. –
May 19 09:33:07 raspberrypi systemd[1]: Starting Mopidy music server…
May 19 09:33:07 raspberrypi systemd[1]: Started Mopidy music server.
May 19 09:33:11 raspberrypi mopidy[497]: INFO [MainThread] mopidy.main Starting Mopidy 3.2.0
May 19 09:33:11 raspberrypi mopidy[497]: INFO [MainThread] mopidy.config Loading config from builtin defaults
May 19 09:33:11 raspberrypi mopidy[497]: INFO [MainThread] mopidy.config Loading config from file:///usr/share/mopidy/conf.d/mopidy-local.conf
May 19 09:33:11 raspberrypi mopidy[497]: INFO [MainThread] mopidy.config Loading config from file:///usr/share/mopidy/conf.d/mopidy.conf
May 19 09:33:11 raspberrypi mopidy[497]: INFO [MainThread] mopidy.config Loading config from file:///etc/mopidy/mopidy.conf
May 19 09:33:11 raspberrypi mopidy[497]: INFO [MainThread] mopidy.config Loading config from command line options
May 19 09:33:11 raspberrypi mopidy[497]: INFO [MainThread] mopidy.main Enabled extensions: softwaremixer, musicbox_webclient, spotify, m3u, iris,
May 19 09:33:11 raspberrypi mopidy[497]: INFO [MainThread] mopidy.main Disabled extensions: none
May 19 09:33:12 raspberrypi mopidy[497]: INFO [MainThread] mopidy.commands Starting Mopidy mixer: SoftwareMixer
May 19 09:33:12 raspberrypi mopidy[497]: INFO [MainThread] mopidy.commands Starting Mopidy audio
May 19 09:33:12 raspberrypi mopidy[497]: INFO [MainThread] mopidy.commands Starting Mopidy backends: FileBackend, M3UBackend, StreamBackend, TuneInBac
May 19 09:33:12 raspberrypi mopidy[497]: INFO [Audio-2] mopidy.audio.actor Audio output set to “alsasink”
May 19 09:33:12 raspberrypi mopidy[497]: ERROR [SpotifyEventLoop] spotify.session Spotify login error: <ErrorType.OTHER_PERMANENT: 10>
May 19 09:33:14 raspberrypi mopidy[497]: ERROR [SpotifyBackend-7] mopidy_spotify.web OAuth token refresh failed: Unknown error.
May 19 09:33:14 raspberrypi mopidy[497]: ERROR [SpotifyBackend-7] mopidy_spotify.web Failed to load Spotify user profile
May 19 09:33:14 raspberrypi mopidy[497]: INFO [MainThread] mopidy.commands Starting Mopidy core
May 19 09:33:14 raspberrypi mopidy[497]: INFO [MainThread] mopidy.commands Starting Mopidy frontends: IrisFrontend, HttpFrontend, MpdFrontend
May 19 09:33:14 raspberrypi mopidy[497]: INFO [IrisFrontend-14] mopidy_iris.core Starting Iris 3.58.2
May 19 09:33:14 raspberrypi mopidy[497]: INFO [HttpFrontend-16] mopidy.http.actor HTTP server running at [::]:6680
May 19 09:33:14 raspberrypi mopidy[497]: INFO [MainThread] mopidy_mpd.actor MPD server running at [::ffff:127.0.0.1]:6600

Any thoughts on how to solve this one?

May 23 13:47:02 5erver mopidy[167383]: INFO     2022-05-23 13:47:02,722 [167383:MainThread] mopidy.commands
May 23 13:47:02 5erver mopidy[167383]:   Starting GLib mainloop
May 23 13:47:02 5erver mopidy[167383]: INFO     2022-05-23 13:47:02,722 [167383:QSaverFrontend-18 (_actor_loop)] mopidy_qsaver.frontend
May 23 13:47:02 5erver mopidy[167383]:   Qsaver unable to restore tracklist file
May 23 13:47:23 5erver mopidy[167383]: INFO     2022-05-23 13:47:23,394 [167383:SpotifyBackend-4 (_actor_loop)] mopidy_spotify.lookup
May 23 13:47:23 5erver mopidy[167383]:   Failed to lookup 'spotify:track:4KHXk0rTD80mEf7bbdK29j': Session must be logged in and online to load objects: <ConnectionState.LOGGED_OUT: 0>
May 23 13:47:25 5erver mopidy[167383]: INFO     2022-05-23 13:47:25,021 [167383:SpotifyBackend-4 (_actor_loop)] mopidy_spotify.lookup
May 23 13:47:25 5erver mopidy[167383]:   Failed to lookup 'spotify:track:4KHXk0rTD80mEf7bbdK29j': Session must be logged in and online to load objects: <ConnectionState.LOGGED_OUT: 0>
May 23 13:47:26 5erver mopidy[167383]: INFO     2022-05-23 13:47:26,376 [167383:SpotifyBackend-4 (_actor_loop)] mopidy_spotify.lookup
May 23 13:47:26 5erver mopidy[167383]:   Failed to lookup 'spotify:track:5r43qanLhUCdBj8HN3fa6B': Session must be logged in and online to load objects: <ConnectionState.LOGGED_OUT: 0>

Got this error but I’m logged in on spotify

Thanks for the quick reply. I hadnt realised. Is there another extension for mopidy i can switch to using the rpi… Or does this mean spotify on mopidy is dead now?

It’s mean mopidy-spotify is dead at moment!