-
Notifications
You must be signed in to change notification settings - Fork 659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
thread 'main' panicked at 'Box<Any>', src/session.rs:115 #44
Comments
I am able to reproduce the panic when I force a disconnection of my DSL connection in the router. The librespot client keeps streaming fine after the router get a new IP. However, the Spotify App drops connection to the client. The status bar goes from green to blue., but the device is in the list and selectable. If I select the device now, librespot panics. |
The error message is "Connection reset by peer". Ideally, we should try to reconnect. Unfortunately, I have no idea, how to do it for librespot. When this event happens, the Spotify Player disconnects for a moment from the librespot device (the status bar goes from green to blue for a short moment) than the device is displayed as connected again for about 2 or 3 seconds. Thereafter, the player shows the device as disconnected. |
Have the same issue when playing from the Android client. Passing a username and using the --disable-discovery flag allowed me to connect from my phone, but after about 1.5 - 2 minutes, the connection was dropped, while librespot still showed nothing out of the ordinary. After the connection was dropped, I couldn't reconnect to librespot, as it still thought it was connected to the client. I received a similar Build info: |
Please continue discussion for this in #103, as it seems to be same bug. |
Saturday Mar 04, 2017 at 09:05 GMT
Originally opened as plietar/librespot#156
Running the latest master works great so far! Yesterday, I set up a playlist in the Spotify App lo be played in a loop and selected the librespot client as audio sink. When I woke up today, the librespot client died:
The text was updated successfully, but these errors were encountered: