[GH-ISSUE #1264] Librespot causing Spocon to pause/not work? #581

Closed
opened 2026-02-27 19:31:22 +03:00 by kerem · 2 comments
Owner

Originally created by @floodwayprintco on GitHub (Mar 15, 2024).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1264

My owntone server will be playing music perfectly, and then it will pause. We will need to either start new playlist/song, go the next song. Nothing we can do will unpause it in Owntone. Logs from two users be seen in my Spocon issue here: https://github.com/spocon/spocon/issues/62

To Reproduce

Play music through Owntone using Spocon. Eventually the music will pause.

Try to unpause it on Owntone, nothing happens.

Expected behavior

It should not pause randomly.

Screenshots
I have a video showing the behaviour but I cannot attach it directly.

Logs
If applicable, execute journalctl -u spocon -f --no-pager and paste the result here

I am running a log now and will see if I can catch anything.

Running on a Rasperry Pi 4B+ with SSD, i thought it might be the SD card but apparently not.

Originally created by @floodwayprintco on GitHub (Mar 15, 2024). Original GitHub issue: https://github.com/librespot-org/librespot/issues/1264 My owntone server will be playing music perfectly, and then it will pause. We will need to either start new playlist/song, go the next song. Nothing we can do will unpause it in Owntone. Logs from two users be seen in my Spocon issue here: https://github.com/spocon/spocon/issues/62 To Reproduce Play music through Owntone using Spocon. Eventually the music will pause. Try to unpause it on Owntone, nothing happens. Expected behavior It should not pause randomly. Screenshots I have a video showing the behaviour but I cannot attach it directly. Logs If applicable, execute journalctl -u spocon -f --no-pager and paste the result here I am running a log now and will see if I can catch anything. Running on a Rasperry Pi 4B+ with SSD, i thought it might be the SD card but apparently not.
kerem 2026-02-27 19:31:22 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@floodwayprintco commented on GitHub (Mar 15, 2024):

Here is why I think it's Librespot related:

Jan 10 15:05:11 pi-music-server java[1175]:         at xyz.gianlu.librespot.audio.cdn.CdnManager$Streamer.requestChunk(CdnManager.java:322) ~[librespot-java-api-v1.6.2.jar:1.6.3]
Jan 10 15:05:11 pi-music-server java[1175]:         at xyz.gianlu.librespot.audio.cdn.CdnManager$Streamer.access$1500(CdnManager.java:198) ~[librespot-java-api-v1.6.2.jar:1.6.3]
Jan 10 15:05:11 pi-music-server java[1175]:         at xyz.gianlu.librespot.audio.cdn.CdnManager$Streamer$InternalStream.lambda$requestChunkFromStream$0(CdnManager.java:398) ~[librespot-java-api-v1.6.2.jar:1.6.3]
Jan 10 15:05:11 pi-music-server java[1175]:         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
Jan 10 15:05:11 pi-music-server java[1175]:         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
Jan 10 15:05:11 pi-music-server java[1175]:         at java.lang.Thread.run(Thread.java:829) [?:?]
Jan 10 15:05:11 pi-music-server java[1175]: Caused by: java.io.IOException: 404: Not Found
Jan 10 15:05:11 pi-music-server java[1175]:         at xyz.gianlu.librespot.audio.cdn.CdnManager$Streamer.request(CdnManager.java:338) ~[librespot-java-api-v1.6.2.jar:1.6.3]
Jan 10 15:05:11 pi-music-server java[1175]:         at xyz.gianlu.librespot.audio.cdn.CdnManager$Streamer.request(CdnManager.java:328) ~[librespot-java-api-v1.6.2.jar:1.6.3]
Jan 10 15:05:11 pi-music-server java[1175]:         at xyz.gianlu.librespot.audio.cdn.CdnManager$Streamer.requestChunk(CdnManager.java:318) ~[librespot-java-api-v1.6.2.jar:1.6.3]
Jan 10 15:05:11 pi-music-server java[1175]:         ... 5 more```
<!-- gh-comment-id:2000019595 --> @floodwayprintco commented on GitHub (Mar 15, 2024): Here is why I think it's Librespot related: ```Jan 10 15:05:11 pi-music-server java[1175]: xyz.gianlu.librespot.audio.AbsChunkedInputStream$ChunkException: java.io.IOException: 404: Not Found Jan 10 15:05:11 pi-music-server java[1175]: at xyz.gianlu.librespot.audio.cdn.CdnManager$Streamer.requestChunk(CdnManager.java:322) ~[librespot-java-api-v1.6.2.jar:1.6.3] Jan 10 15:05:11 pi-music-server java[1175]: at xyz.gianlu.librespot.audio.cdn.CdnManager$Streamer.access$1500(CdnManager.java:198) ~[librespot-java-api-v1.6.2.jar:1.6.3] Jan 10 15:05:11 pi-music-server java[1175]: at xyz.gianlu.librespot.audio.cdn.CdnManager$Streamer$InternalStream.lambda$requestChunkFromStream$0(CdnManager.java:398) ~[librespot-java-api-v1.6.2.jar:1.6.3] Jan 10 15:05:11 pi-music-server java[1175]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] Jan 10 15:05:11 pi-music-server java[1175]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] Jan 10 15:05:11 pi-music-server java[1175]: at java.lang.Thread.run(Thread.java:829) [?:?] Jan 10 15:05:11 pi-music-server java[1175]: Caused by: java.io.IOException: 404: Not Found Jan 10 15:05:11 pi-music-server java[1175]: at xyz.gianlu.librespot.audio.cdn.CdnManager$Streamer.request(CdnManager.java:338) ~[librespot-java-api-v1.6.2.jar:1.6.3] Jan 10 15:05:11 pi-music-server java[1175]: at xyz.gianlu.librespot.audio.cdn.CdnManager$Streamer.request(CdnManager.java:328) ~[librespot-java-api-v1.6.2.jar:1.6.3] Jan 10 15:05:11 pi-music-server java[1175]: at xyz.gianlu.librespot.audio.cdn.CdnManager$Streamer.requestChunk(CdnManager.java:318) ~[librespot-java-api-v1.6.2.jar:1.6.3] Jan 10 15:05:11 pi-music-server java[1175]: ... 5 more```
Author
Owner

@kingosticks commented on GitHub (Mar 15, 2024):

Wrong repo: https://github.com/librespot-org/librespot-java

<!-- gh-comment-id:2000152005 --> @kingosticks commented on GitHub (Mar 15, 2024): Wrong repo: https://github.com/librespot-org/librespot-java
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/librespot#581
No description provided.