Skip to content
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

Automatically reconnect after connection loss #230

Closed
djmaze opened this issue May 31, 2018 · 1 comment
Closed

Automatically reconnect after connection loss #230

djmaze opened this issue May 31, 2018 · 1 comment

Comments

@djmaze
Copy link

djmaze commented May 31, 2018

When internet connectivity is lost, librespot (running under a snapcast server) outputs:

2018-05-31 16-46-33 [Info] (Spotify) ERROR:librespot_core::session: Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" }

When connectivity returns, the librespot device just disappears from the device list in Spotify and does not return. The Spotify connection in librespot is permanently lost. I have to restart the app in order get it working again.

We could just try to periodically reconnect when the connection fails?

@ComlOnline
Copy link
Contributor

Hi @djmaze, This is annoying a well known bug see #134. I would follow that Issue for updates.

Many thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants