mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #44] thread 'main' panicked at 'Box<Any>', src/session.rs:115 #33
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sashahilton00 on GitHub (Jan 29, 2018).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/44
Saturday Mar 04, 2017 at 09:05 GMT
Originally opened as https://github.com/plietar/librespot/issues/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:
@sashahilton00 commented on GitHub (Jan 29, 2018):
Saturday Mar 04, 2017 at 09:23 GMT
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.
@sashahilton00 commented on GitHub (Jan 29, 2018):
Saturday Mar 11, 2017 at 11:07 GMT
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.
@sashahilton00 commented on GitHub (Jan 29, 2018):
Friday Sep 01, 2017 at 11:43 GMT
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
thread 'main' panicked at 'Box<Any>', src/session.rs:83error after about 5 minutes.
Build info:
INFO:librespot: librespot ddfc28f (2017-08-04). Built on 2017-08-07. Build ID: N5RcEuisRunning on a Raspberry Pi 1
@ComlOnline commented on GitHub (Jan 29, 2018):
Please continue discussion for this in #103, as it seems to be same bug.