core icon indicating copy to clipboard operation
core copied to clipboard

Spotify Connect playback poll gets stuck in a loop

Open kkerssem opened this issue 9 months ago • 2 comments

I noticed in the debug log that the Spotify Connect playback poll got stuck in a loop in couldn't get out of. I am running beta 8.

[2026-03-01T09:22:02.699Z][DEBUG][Input|SpotifyConnect] [force=false suppressOutputError=true zoneId=1] spotify validatePlayback poll [2026-03-01T09:22:02.749Z][DEBUG][Input|SpotifyConnect] [body="{\n \"error\": {\n \"status\": 401,\n \"message\": \"The access token expired\"\n }\n}" status=401 zoneId=1] spotify api request failed [2026-03-01T09:22:02.752Z][DEBUG][Input|SpotifyConnect] [zoneId=1] spotify poll returned empty snapshot [2026-03-01T09:22:02.755Z][DEBUG][Input|SpotifyConnect] [inMs=5000 zoneId=1] spotify scheduleValidation set [2026-03-01T09:22:07.755Z][DEBUG][Input|SpotifyConnect] [force=false suppressOutputError=true zoneId=1] spotify validatePlayback poll [2026-03-01T09:22:07.801Z][DEBUG][Input|SpotifyConnect] [body="{\n \"error\": {\n \"status\": 401,\n \"message\": \"The access token expired\"\n }\n}" status=401 zoneId=1] spotify api request failed [2026-03-01T09:22:07.803Z][DEBUG][Input|SpotifyConnect] [zoneId=1] spotify poll returned empty snapshot [2026-03-01T09:22:07.804Z][DEBUG][Input|SpotifyConnect] [inMs=5000 zoneId=1] spotify scheduleValidation set [2026-03-01T09:22:12.805Z][DEBUG][Input|SpotifyConnect] [force=false suppressOutputError=true zoneId=1] spotify validatePlayback poll [2026-03-01T09:22:12.847Z][DEBUG][Input|SpotifyConnect] [body="{\n \"error\": {\n \"status\": 401,\n \"message\": \"The access token expired\"\n }\n}" status=401 zoneId=1] spotify api request failed

Don't know if this was the trigger, or just a related error message, but before the loop started there was a continuos repeat of this error:

[2026-03-01T08:16:42.799Z][WARN][Audio|@lox-audioserver/node-librespot] [scope=librespot_core::dealer source=connect_host] failure during data parsing for hm://collection/collection/renkhaos/json: Invalid state { base64 decoding failed: Invalid symbol 123, offset 0. }

kkerssem avatar Mar 01 '26 09:03 kkerssem

02d46c2950386b320fd804ba94041aab64094854 should probably fix it.

rudyberends avatar Mar 01 '26 10:03 rudyberends

@kkerssem can you confirm? Try also the latest beta.

mr-manuel avatar Apr 27 '26 22:04 mr-manuel