addon-spotify-connect icon indicating copy to clipboard operation
addon-spotify-connect copied to clipboard

Frequent disconnects, Mercury error

Open jo-mueller opened this issue 1 year ago • 2 comments

Problem description

I can correctly select my HASS instance in the spotify app in my local wifi and start the playback. However, after about 8-10 minutes into the playback, the sound interrupts and I have to reconnect to the HASS speaker in Spotify. Possible duplicate of #198.

Things I tried: Updated all versions, chose different network access points (WiFi, LAN, phone mobile data tethering)

Expected behavior

No disconnects during playback

Current behavior

Frequent disconnects.

To reproduce

Connect to HASS in Spotify, start playback and wait for 8-10 minutes.

Logs

librespot_playback::player] Loading <Blue> with Spotify URI <spotify:track:3XtKluN0ce1EjiAax8HFw8> 
[2024-06-28T14:40:00Z INFO librespot_playback::player] <Blue> (336290 ms) loaded
[2024-06-28T14:45:36Z ERROR librespot_playback::player] Unable to load audio item: MercuryError
[2024-06-28T14:45:36Z ERROR librespot_core::session] Connection reset by peer (os error 104)
[2024-06-28T14:45:36Z ERROR librespot_connect::spirc] subscription terminated 
[2024-06-28T14:45:36Z WARN librespot] Spirc shut down unexpectedly 
[2024-06-28T14:45:36Z WARN librespot_core::apresolve] Ignoring blacklisted access point ap-gew4.spotify.com:4070 
[2024-06-28T14:45:36Z WARN librespot_core::apresolve] Ignoring blacklisted access point ap-gew4.spotify.com:443

Edit: Formatted traceback

jo-mueller avatar Jun 30 '24 21:06 jo-mueller