mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-28 00:35:55 +03:00
[GH-ISSUE #1241] librespot / SPIRC crashed in the middle of the night #568
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#568
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 @microfx on GitHub (Jan 16, 2024).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1241
Describe the bug
Saw that librespot is not available anymore this morning after having run for days without errors. I was sleeping and it crashed (no music was playing)
Log
When starting I get this - maybe is related?
Host (what you are running
librespoton):OS: Raspbian GNU/Linux 11 (bullseye) aarch64
Kernel: Linux 6.1.69-v8-16k+
Raspberry Pi 5 8GB
librespot 0.5.0-dev
a245a3c(Built on 2023-12-23, Build ID: 0GbZXlzH, Profile: release)@kingosticks commented on GitHub (Jan 16, 2024):
So it didn't really crash. Your network stopped working for a bit and librespot could not (immediately) reconnect, but rather than retrying, the session connection network failure causes spirc to return an error and the program to then exit. This does look like a bug in the connection retrying, librespot should handle spirc network-related errors differently as they might be recoverable.
@microfx commented on GitHub (Jan 19, 2024):
Yeah... my ISP has tons of dropouts everyday... Can I maybe tell systemd to restart it? That's how mine looks:
@microfx commented on GitHub (Jan 19, 2024):
I'll add
and report back if that fixed it.
@microfx commented on GitHub (Feb 14, 2024):
I guess it's fixed. Still a few other weird issues – I will look into those now. Thx!
@SailingSailing commented on GitHub (Mar 3, 2025):
Hey there, which file is this?
/etc/systemd/system.conf?@kingosticks commented on GitHub (Mar 4, 2025):
No. See https://github.com/librespot-org/librespot/wiki/Running-as-a-service