Skip to content

error audio key, unable to load key #1236

Description

@fivebanger

Describe the bug
Librespot cannot play podcast episode. In this particular situation I'm trying to load "spotify:episode:7CDoCFJUAnwOLPVieM1Us0", "Schenken - Die Geschichte des Gebens und Nehmens".
This issue happens with Librespot dev-branch, compiled as --release (librespot 0.5.0-dev 886617e (Built on 2023-12-10, Build ID: 6mScPS9U, Profile: release).
This issue does not happen with Librespot v0.4.2.

To reproduce
Steps to reproduce the behavior:

  1. Start Librespot:$ ./librespot --verbose
  2. Start Podcast spotify:episode:7CDoCFJUAnwOLPVieM1Us0, playing on the mobile.
  3. In the client click on "Connect to 'Librespot'"
  4. See error

Log
[2023-12-27T10:49:23Z TRACE librespot_audio::fetch] Streaming from https://audio-ak-spotify-com.akamaized.net/audio/2916bc99f9878b1197de961a1c15fc572b8086ae?__token__=xxxxxxxxxxxxxxxxxxxxxxxxx
[2023-12-27T10:49:23Z DEBUG librespot::component] new AudioKeyManager
[2023-12-27T10:49:23Z ERROR librespot_core::audio_key] error audio key 0 1
[2023-12-27T10:49:23Z WARN librespot_playback::player] Unable to load key, continuing without decryption: Service unavailable { audio key error }
[2023-12-27T10:49:23Z TRACE librespot_audio::fetch::receive] Time to first byte now estimated as: 27 ms
[2023-12-27T10:49:23Z TRACE librespot_audio::fetch::receive] Throughput now estimated as: 1820 kbps
[2023-12-27T10:49:24Z TRACE librespot_audio::fetch::receive] Throughput now estimated as: 1320 kbps
[2023-12-27T10:49:24Z TRACE librespot_audio::fetch::receive] Time to first byte now estimated as: 20 ms
[2023-12-27T10:49:24Z TRACE librespot_audio::fetch::receive] Throughput now estimated as: 1653 kbps
[2023-12-27T10:49:24Z TRACE librespot_audio::fetch::receive] Throughput now estimated as: 1815 kbps

Host (what you are running librespot on):

  • OS: Linux
  • Platform: PC (Linux Mint 20.3 Cinnamon)
  • Mobile: Android
  • Location: Germany

Additional context
As already mentioned, the episode plays fine using Librespot v0.4.2 release. I can provide more detailed log for both, Librespot dev-branch and Librespot v0.4.2, both in verbose mode. But I'm not sure which log-information to delete with respect to personal and sensitive data (like tokens, etc.).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions