-
Notifications
You must be signed in to change notification settings - Fork 459
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
no termination or reconnect on "connection reset error" #1154
Comments
interesting thing it seems not to happen every time when there is an internet connection issue. so sometimes it reconnects automatically but sometimes it gets stuck like in the example below
|
for the record I post the internet connection log
|
Thank you for the report! I'm not exactly sure, but that might have happened to me as well already. I hope, I'll find the time sometime soon to have a look at this, but it may also be that this would need changes in librespot and we can't do anything about it. If you want, you could try running bare librespot and see, if the problem happens there as well. (I think, their reconnection logic is similar.) If you do, it would be great if you could report the results here. |
Thanks for the reply. I tried. But once I had a technician fixing my cable internet profile on the provider side I did not manage to reproduce the issue. It might be very timing sensitive since it only occured from time to time with my very unstable Internet connection (so in other words most of the reconnects worked). so maybe sth. like this: some packet loss, delayed packets or timeouts trigger the termination of the subscription, being back online triggers the reconnect, but while it is reconnecting the timeout is happening again). |
Oh, that's good to hear (although it makes it more difficult to debug the issue 😅). Thanks anyway for the pointers, where the issue might live. Maybe I can reproduce it reliably with these hints. |
Looks like I'm hitting a similar (if not identical) issue in #1211. Basically, even though my network is pretty stable it seems to terminate the Spotifyd connection after about 10 minutes. In my opinion, Spotifyd should try to reestablish the connection when that happens (maybe it needs to send some ping messages over the wire once in a while to keep it alive?). |
Description
after a short internet interruption on provide side the new version 0.3.4 in contrast to 0.3.3 does not terminate but keeps running without being visible in spotfiy connect nor playing music (finished the cached song of course)
To Reproduce
play music
shortly unplug your WWAN of your internet router
Expected behavior
version 0.3.3 terminated so one could automatically restart the service with systemd. 0.3.4 does not succeed to reconnect and seems to be stuck in a somewhat useless state. it would be good to have the old behaviour back or that the main loop tries to reconnect in frequent intervals
Logs
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: