Skip to content
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

"Unable to load encrypted file" on every song #1182

Closed
Mitschmaster opened this issue Jun 28, 2023 · 4 comments
Closed

"Unable to load encrypted file" on every song #1182

Mitschmaster opened this issue Jun 28, 2023 · 4 comments
Labels

Comments

@Mitschmaster
Copy link

I cant play anything with my spotify box. On every song i get "Unable to load encrypted file". I dont know when the thing broke exactly.
I did a new build from source recently(but did not test immediately). But im not shure if that was the cause as i jumped back the commits, build again and got the same error.

[2023-06-28T18:54:29Z INFO  librespot] librespot 0.5.0-dev 4d402e6 (Built on 2023-06-28, Build ID: Z7nIpPHv, Profile: release)
[2023-06-28T18:54:36Z INFO  librespot_playback::mixer::softmixer] Mixing with softvol and volume control: Log(60.0)
[2023-06-28T18:54:36Z INFO  librespot_playback::convert] Converting with ditherer: tpdf
[2023-06-28T18:54:36Z INFO  librespot_playback::audio_backend::alsa] Using AlsaSink with format: S16
[2023-06-28T18:54:36Z INFO  librespot_core::session] Connecting to AP "ap-gew4.spotify.com:4070"
[2023-06-28T18:54:36Z INFO  librespot_core::session] Authenticated as "****" !
[2023-06-28T18:54:36Z INFO  librespot_core::session] Country: "DE"
[2023-06-28T18:54:36Z INFO  librespot_core::spclient] Resolved "gew4-spclient.spotify.com:443" as spclient access point
[2023-06-28T18:54:36Z INFO  librespot_playback::player] Loading <Black Summer> with Spotify URI <spotify:track:3a94TbZOxhkI9xuNwYL53b>
[2023-06-28T18:54:36Z ERROR librespot_playback::player] Unable to load encrypted file: Error { kind: FailedPrecondition, error: ParseIntError { kind: InvalidDigit } }
[2023-06-28T18:54:36Z ERROR librespot_playback::player] Skipping to next track, unable to load track <SpotifyId("spotify:track:3a94TbZOxhkI9xuNwYL53b")>: ()
[2023-06-28T18:54:37Z INFO  librespot_connect::spirc] Resolved 50 tracks from <"spotify:playlist:37i9dQZF1E3718VTRzJpFT">
[2023-06-28T18:54:37Z INFO  librespot_playback::player] Loading <Breaking the Habit> with Spotify URI <spotify:track:3dxiWIBVJRlqh9xk144rf4>
[2023-06-28T18:54:37Z ERROR librespot_playback::player] Unable to load encrypted file: Error { kind: FailedPrecondition, error: ParseIntError { kind: InvalidDigit } }

Maybe somethin gon the spotify side?
Im running librespot on a raspberry 4 with a digital output hat attached under arch linux.
Thanks for your help.

@roderickvd
Copy link
Member

Can you post debug logs?

@Mitschmaster
Copy link
Author

sure
debug.log

@eHallberg
Copy link

Same issue for me, started a few days ago. So far i have tried to update and rebuild but have same problem. For me it is all songs.

kingosticks added a commit to kingosticks/librespot that referenced this issue Jun 29, 2023
…org#1182)

The CDN URLs list now includes spotifycdn.com which has a different
format. It was being erroneously interpreted using the scdn.co format
and trying to parse non-digit characters as a timestamp.
@Mitschmaster
Copy link
Author

it works. thank you

kingosticks added a commit to kingosticks/librespot that referenced this issue Jun 30, 2023
…org#1182)

The CDN URLs list now includes spotifycdn.com which has a different
format. It was being erroneously interpreted using the scdn.co format
and trying to parse non-digit characters as a timestamp.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants