dtcooper / raspotify

A Spotify Connect client that mostly Just Works™
https://dtcooper.github.io/raspotify
MIT License
4.63k stars 213 forks source link

My phone disconnects from raspberry stream #636

Closed xfirebg closed 1 year ago

xfirebg commented 1 year ago

Compatible Device

Are you sure?

Compatible OS

Compatible Configuration

Latest Version

Are you sure?

Due Diligence

What happened?

Hello, mi phone disconnects from my Pi straming service. Here is the log from the device. After that I need to connect again with my phone.

Relevant log output and/or the contents of /etc/raspotify/crash_report if any ( sudo journalctl -u raspotify -b and sudo cat /etc/raspotify/crash_report )

Jul 13 14:10:24 raspberrypi librespot[1744]: [2023-07-13T11:10:24Z ERROR librespot_playback::player] Unable to load audio item: MercuryError
Jul 13 14:10:24 raspberrypi librespot[1744]: [2023-07-13T11:10:24Z ERROR librespot_core::session] Connection reset by peer (os error 104)
Jul 13 14:10:24 raspberrypi librespot[1744]: [2023-07-13T11:10:24Z ERROR librespot_connect::spirc] subscription terminated
Jul 13 14:10:24 raspberrypi librespot[1744]: [2023-07-13T11:10:24Z WARN  librespot] Spirc shut down unexpectedly
Jul 13 14:10:24 raspberrypi librespot[1744]: [2023-07-13T11:10:24Z WARN  librespot_core::apresolve] Ignoring blacklisted access point ap-gue1.spotify.com:4070
JasonLG1979 commented 1 year ago

See the upstream issue:

https://github.com/librespot-org/librespot/issues/1151

github-actions[bot] commented 1 year ago

This is an upstream issue. You should file an issue with librespot.

xfirebg commented 1 year ago

I see that there is a fix to this in this topic: https://github.com/librespot-org/librespot/pull/1129 How to implement this in Raspotify?

JasonLG1979 commented 1 year ago

That's not a fix for 104's.

xfirebg commented 1 year ago

That's not a fix for 104's.

Strange, because there are 2 mentions in your link provided on the top. One is yours, the other one is of zborro. There I tracked that he explain for the 104's. So you need to told him that this is not the same issue too.

JasonLG1979 commented 1 year ago

A fix to 104's would be reconnecting seamlessly.