[GH-ISSUE #982] Random interruptions of playback #474

Closed
opened 2026-02-27 19:30:51 +03:00 by kerem · 2 comments
Owner

Originally created by @stenub on GitHub (Mar 20, 2022).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/982

Hello,

I have random playback interruptions after 5-30 minutes. This is what my log says. How can i troubleshoot further?

Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_playback::player] command=Preload(SpotifyId { id: 161324305904036895493107911526969909648, audio_type: Track })
Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_playback::player] Preloading track
Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_core::session] Invalidating session[0]
Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z ERROR librespot_playback::player] Unable to load audio item: MercuryError
Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_core::session] drop Dispatch
Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z ERROR librespot_core::session] Connection reset by peer (os error 104)
Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z ERROR librespot_connect::spirc] subscription terminated
Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_connect::spirc] drop Spirc[0]
Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_playback::player] Shutting down player thread ...
Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_playback::player] drop PlayerInternal[0]
Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_playback::player] PlayerInternal thread finished.
Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_core::session] drop Session[0]
Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_core::audio_key] drop AudioKeyManager
Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_core::channel] drop ChannelManager
Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_core::mercury] drop MercuryManager
Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z WARN librespot] Spirc shut down unexpectedly

Originally created by @stenub on GitHub (Mar 20, 2022). Original GitHub issue: https://github.com/librespot-org/librespot/issues/982 Hello, I have random playback interruptions after 5-30 minutes. This is what my log says. How can i troubleshoot further? Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_playback::player] command=Preload(SpotifyId { id: 161324305904036895493107911526969909648, audio_type: Track }) Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_playback::player] Preloading track Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_core::session] Invalidating session[0] Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z ERROR librespot_playback::player] Unable to load audio item: MercuryError Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_core::session] drop Dispatch Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z ERROR librespot_core::session] Connection reset by peer (os error 104) Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z ERROR librespot_connect::spirc] subscription terminated Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_connect::spirc] drop Spirc[0] Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_playback::player] Shutting down player thread ... Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_playback::player] drop PlayerInternal[0] Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_playback::player] PlayerInternal thread finished. Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_core::session] drop Session[0] Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_core::audio_key] drop AudioKeyManager Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_core::channel] drop ChannelManager Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z DEBUG librespot_core::mercury] drop MercuryManager Mar 20 22:57:50 raspberrypi librespot[913]: [2022-03-20T21:57:50Z WARN librespot] Spirc shut down unexpectedly
kerem 2026-02-27 19:30:51 +03:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@roderickvd commented on GitHub (Apr 7, 2022):

There have been a lot of Mercury-related errors in the Spotify infrastructure lately. Please search around the repository for related reports and solutions.

If you feel that it is unrelated to those infrastructure problems, feel free to open with a complete log and description of hardware and internet setup.

<!-- gh-comment-id:1092131267 --> @roderickvd commented on GitHub (Apr 7, 2022): There have been a lot of Mercury-related errors in the Spotify infrastructure lately. Please search around the repository for related reports and solutions. If you feel that it is unrelated to those infrastructure problems, feel free to open with a complete log and description of hardware and internet setup.
Author
Owner

@stenub commented on GitHub (Apr 8, 2022):

Sorry, but i have searched around and i cant find (for the life of me) any related issues or suitable solutions. Also, i dont know what exactly Mercury is, or what it is responsible for. Can you give me a hint and/or a link to a related issue? Many thanks!

<!-- gh-comment-id:1092880509 --> @stenub commented on GitHub (Apr 8, 2022): Sorry, but i have searched around and i cant find (for the life of me) any related issues or suitable solutions. Also, i dont know what exactly Mercury is, or what it is responsible for. Can you give me a hint and/or a link to a related issue? Many thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot#474
No description provided.