librespot-org / librespot

Open Source Spotify client library
MIT License
4.52k stars 544 forks source link

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

Closed Mitschmaster closed 1 year ago

Mitschmaster commented 1 year ago

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 commented 1 year ago

Can you post debug logs?

Mitschmaster commented 1 year ago

sure debug.log

eHallberg commented 1 year ago

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.

Mitschmaster commented 1 year ago

it works. thank you