mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #1512] Cannot parse the CDN URL - WARN librespot_core::cdn_url] Cannot parse CDN URL expiry timestamp 'verify=... #683
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#683
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 @richardhapb on GitHub (Jun 21, 2025).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1512
Look for similar bugs
There are not related issues.
Description
In Librespot's logs there is a warning that is raised when try to parsing expiry string from the CDN with pattern
https://audio-cf.spotifycdn.comVersion
v0.6.0
How to reproduce
Log
Host (what you are running
librespoton):OS: Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:26 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T8112 arm64Also in Raspberry PI:
Linux archpi 6.12.20+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.12.20-1+rpt1~bpo12+1 (2025-03-19) aarch64 GNU/LinuxAdditional context
This warning is expected because the format of the received CDN. I will send a request for this.
@edbr-xyz commented on GitHub (Jun 24, 2025):
I'm also experiencing this.
Version:
librespot 0.6.0-dev 2c425eb (Built on 2025-06-24, Build ID: EVBNJh5L, Profile: release)When it happens the song being displayed in Spotify Desktop changes to the next in the queue, but the audio carries on unaffected beyond a minor blip in the audio. You also can't pause the song after this!
I'm in the UK, not sure if this is localised.
@jkazimierczak commented on GitHub (Jun 24, 2025):
Second that. My country is "PL" (Poland), and on librespot 0.6.0 I'm experiencing the same issue. For me it's hit or miss - some songs play, some don't.
A couple of log lines with errors prior and after "parse CDN URL warning":
In the above case
Remedy (feat. TS Graye)didn't play, butAdieuplayed fine.Might be unrelated, but for songs that play fine I'm receiving 502 too:
@richardhapb commented on GitHub (Jun 25, 2025):
Yes, I am experiencing connection closures and playback stops with the same error (spirc and connection issues). I don't think this is related to the CDN; it occurs randomly, every hour or every few hours. I am investigating; the connection might be lost. Perhaps "caching" the next streaming data can improve resilience or another retry pattern. I am new to the project and exploring the core; there may be many key points for this implementation that I am not noticing.
@photovoltex commented on GitHub (Jun 26, 2025):
Fixed with #1513