[GH-ISSUE #10] Hangs after connection is lost #8

Closed
opened 2026-02-28 14:29:54 +03:00 by kerem · 6 comments
Owner

Originally created by @thvdveld on GitHub (Jan 4, 2021).
Original GitHub issue: https://github.com/jpochyla/psst/issues/10

After connection is lost and reset, the player hangs (running with WiFi).
This is the output:

[2021-01-04T15:21:39Z ERROR psst_gui::delegate] connection error: IoError(Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" })
[2021-01-04T15:21:42Z INFO psst_gui::delegate] session connected
[2021-01-04T15:22:07Z INFO psst_core::stream_storage] blocked at 8992924
[2021-01-04T15:22:07Z INFO psst_core::stream_storage] blocked at 7408684
[2021-01-04T15:22:07Z INFO psst_core::stream_storage] blocked at 7447668
[2021-01-04T15:22:07Z INFO psst_core::stream_storage] blocked at 6179592
[2021-01-04T15:22:07Z INFO psst_core::audio_player] stale open result received, ignoring

After this, nothing happens, unless selecting a new song.

Originally created by @thvdveld on GitHub (Jan 4, 2021). Original GitHub issue: https://github.com/jpochyla/psst/issues/10 After connection is lost and reset, the player hangs (running with WiFi). This is the output: >[2021-01-04T15:21:39Z ERROR psst_gui::delegate] connection error: IoError(Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" }) [2021-01-04T15:21:42Z INFO psst_gui::delegate] session connected >[2021-01-04T15:22:07Z INFO psst_core::stream_storage] blocked at 8992924 [2021-01-04T15:22:07Z INFO psst_core::stream_storage] blocked at 7408684 [2021-01-04T15:22:07Z INFO psst_core::stream_storage] blocked at 7447668 [2021-01-04T15:22:07Z INFO psst_core::stream_storage] blocked at 6179592 [2021-01-04T15:22:07Z INFO psst_core::audio_player] stale open result received, ignoring After this, nothing happens, unless selecting a new song.
kerem closed this issue 2026-02-28 14:29:54 +03:00
Author
Owner

@thvdveld commented on GitHub (Jan 4, 2021):

This now seems to happen after every song. I recall having the same issue when I was using spotify-tui and I think the problem was the client couldn't handle a connection reset (https://github.com/Rigellute/spotify-tui/issues/178 and https://github.com/librespot-org/librespot/issues/134).

<!-- gh-comment-id:754064239 --> @thvdveld commented on GitHub (Jan 4, 2021): This now seems to happen after every song. I recall having the same issue when I was using spotify-tui and I think the problem was the client couldn't handle a connection reset (https://github.com/Rigellute/spotify-tui/issues/178 and https://github.com/librespot-org/librespot/issues/134).
Author
Owner

@jpochyla commented on GitHub (Jan 4, 2021):

I think this is a bug unrelated to Spotify connection, caused by d136d3bd. I'm on it!

<!-- gh-comment-id:754070950 --> @jpochyla commented on GitHub (Jan 4, 2021): I think this is a bug unrelated to Spotify connection, caused by d136d3bd. I'm on it!
Author
Owner

@jpochyla commented on GitHub (Jan 4, 2021):

Should be fixed in da88499a. Leaving this issue open as network resiliency is on the roadmap.

<!-- gh-comment-id:754076612 --> @jpochyla commented on GitHub (Jan 4, 2021): Should be fixed in da88499a. Leaving this issue open as network resiliency is on the roadmap.
Author
Owner

@thvdveld commented on GitHub (Jan 4, 2021):

It has been working now with no issues for 2 hours! 🎉 Nice work and thanks for the fast fixes!

<!-- gh-comment-id:754133685 --> @thvdveld commented on GitHub (Jan 4, 2021): It has been working now with no issues for 2 hours! :tada: Nice work and thanks for the fast fixes!
Author
Owner

@kirillrogovoy commented on GitHub (Aug 28, 2022):

I have this problem on macOS 12.3.1 and the latest Psst.

Only that in my case, it hangs until I restart the app. I can still browse the catalog, but the playback is dead.

<!-- gh-comment-id:1229439133 --> @kirillrogovoy commented on GitHub (Aug 28, 2022): I have this problem on macOS 12.3.1 and the latest Psst. Only that in my case, it hangs until I restart the app. I can still browse the catalog, but the playback is dead.
Author
Owner

@conartist6 commented on GitHub (Dec 31, 2022):

All issues related to this problem are "closed as completed" which seems misleading, and makes it more difficult to find https://github.com/librespot-org/librespot/discussions/609. Once a user does find it they need to read the entire thread to figure out if the problem still exists. It definitely seems to.

<!-- gh-comment-id:1368273499 --> @conartist6 commented on GitHub (Dec 31, 2022): All issues related to this problem are "closed as completed" which seems misleading, and makes it more difficult to find https://github.com/librespot-org/librespot/discussions/609. Once a user does find it they need to read the entire thread to figure out if the problem still exists. It definitely seems to.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/psst#8
No description provided.