Hello. I'm still having the same issues even with the fix of adding `'0.0.0.0 apresolve.spotify.com`' to hosts.conf. When running 'librespot' normally on the device I get the following logs.
Code
LibreELEC:~ # librespot
[2025-12-26T11:42:29Z INFO librespot] librespot 0.5.0-dev 3327400 (Built on 2024-08-12, Build ID: G2GeflqG, Profile: release)
*** WARNING *** The program 'librespot' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>
[2025-12-26T11:42:29Z INFO librespot_playback::mixer::softmixer] Mixing with softvol and volume control: Log(60.0)
[2025-12-26T11:42:29Z INFO librespot_playback::convert] Converting with ditherer: tpdf
[2025-12-26T11:42:29Z INFO librespot_playback::audio_backend::alsa] Using AlsaSink with format: S16
[2025-12-26T11:42:35Z WARN librespot_core::apresolve] Failed to resolve all access points, using fallbacks
[2025-12-26T11:42:35Z WARN librespot_core::apresolve] Resolve access points error: Service unavailable { client error (Connect) }
[2025-12-26T11:42:35Z INFO librespot_core::session] Connecting to AP "ap.spotify.com:443"
[2025-12-26T11:42:35Z INFO librespot_core::session] Authenticated as "-" !
[2025-12-26T11:42:35Z INFO librespot_core::session] Country: "NL"
[2025-12-26T11:42:35Z WARN librespot_core::apresolve] Failed to resolve all access points, using fallbacks
[2025-12-26T11:42:35Z WARN librespot_core::apresolve] Resolve access points error: Service unavailable { client error (Connect) }
[2025-12-26T11:42:35Z WARN librespot_core::apresolve] Failed to resolve all access points, using fallbacks
[2025-12-26T11:42:35Z WARN librespot_core::apresolve] Resolve access points error: Service unavailable { client error (Connect) }
[2025-12-26T11:42:35Z INFO librespot_core::spclient] Resolved "spclient.wg.spotify.com:443" as spclient access point
[2025-12-26T11:42:35Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: Unavailable, error: "No access point available for endpoint spclient" }
[2025-12-26T11:42:35Z ERROR librespot_playback::player] Skipping to next track, unable to load track <SpotifyId("spotify:track:03p1bgcOw398mneQ9H8891")>: ()
[2025-12-26T11:42:35Z ERROR librespot_core::mercury] error 403 for uri hm://keymaster/token/authenticated?scope=playlist-read&client_id=65b708073fc0480ea92a077233ca87bd&device_id=ce8d71004f9597141d4b5940bd1bb2dc52a35dae
[2025-12-26T11:42:35Z ERROR librespot_connect::spirc] ContextError: Error { kind: Unavailable, error: Response(MercuryResponse { uri: "hm://keymaster/token/authenticated?scope=playlist-read&client_id=65b708073fc0480ea92a077233ca87bd&device_id=ce8d71004f9597141d4b5940bd1bb2dc52a35dae", status_code: 403, payload: [[123, 34, 99, 111, 100, 101, 34, 58, 52, 44, 34, 101, 114, 114, 111, 114, 68, 101, 115, 99, 114, 105, 112, 116, 105, 111, 110, 34, 58, 34, 73, 110, 118, 97, 108, 105, 100, 32, 114, 101, 113, 117, 101, 115, 116, 34, 125]] }) }
[2025-12-26T11:42:35Z ERROR librespot_core::mercury] error 403 for uri hm://keymaster/token/authenticated?scope=playlist-read&client_id=65b708073fc0480ea92a077233ca87bd&device_id=ce8d71004f9597141d4b5940bd1bb2dc52a35dae
[2025-12-26T11:42:35Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: Unavailable, error: Response(MercuryResponse { uri: "hm://keymaster/token/authenticated?scope=playlist-read&client_id=65b708073fc0480ea92a077233ca87bd&device_id=ce8d71004f9597141d4b5940bd1bb2dc52a35dae", status_code: 403, payload: [[123, 34, 99, 111, 100, 101, 34, 58, 52, 44, 34, 101, 114, 114, 111, 114, 68, 101, 115, 99, 114, 105, 112, 116, 105, 111, 110, 34, 58, 34, 73, 110, 118, 97, 108, 105, 100, 32, 114, 101, 113, 117, 101, 115, 116, 34, 125]] }) }
Display More
What could be another fix? I noticed that librespot is also fairly old
Code
LibreELEC:~ # librespot --version
librespot 0.5.0-dev 3327400 (Built on 2024-08-12, Build ID: G2GeflqG, Profile: release)
Latest release is 0.7.0. Why isn't this upgraded?