[GH-ISSUE #1586] Proxy not propagated to connect::spirc #722

Open
opened 2026-02-27 19:32:08 +03:00 by kerem · 1 comment
Owner

Originally created by @paulfariello on GitHub (Sep 19, 2025).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1586

Look for similar bugs

Please check if there's already an issue for your problem.
If you've only a "me too" comment to make, consider if a 👍 reaction
will suffice.

Description

Can't run librespot behind a proxy

Version

dev (df5f957bdd)

How to reproduce

  1. Launch librespot with a proxy: target/release/librespot -v -c ~/.local/share/respot --enable-volume-normalisation --initial-volume 75 --device-type avr -x "http://127.0.0.1:3128"

Log

Main interesting point is:

[2025-09-19T10:08:37Z ERROR librespot_connect::spirc] starting dealer failed: Invalid state { Websocket couldn't be started because: Deadline expired before operation could complete { Connection timed out (os error 110) } }

Complete log here:

[2025-09-19T10:06:21Z INFO  librespot] librespot 0.7.1 df5f957 (Built on 2025-09-19, Build ID: BFMyqqh7, Profile: release)
[2025-09-19T10:06:21Z TRACE librespot] Command line argument(s):
[2025-09-19T10:06:21Z TRACE librespot] 		v
[2025-09-19T10:06:21Z TRACE librespot] 		c "/home/pfariello/.local/share/respot"
[2025-09-19T10:06:21Z TRACE librespot] 		enable-volume-normalisation
[2025-09-19T10:06:21Z TRACE librespot] 		initial-volume "75"
[2025-09-19T10:06:21Z TRACE librespot] 		device-type "avr"
[2025-09-19T10:06:21Z TRACE librespot] 		x "http://127.0.0.1:3128"
[2025-09-19T10:06:21Z TRACE librespot] Using cached credentials.
[2025-09-19T10:06:21Z DEBUG librespot_core::session] new Session
[2025-09-19T10:06:21Z DEBUG librespot_discovery::server] Zeroconf server listening on 0.0.0.0:36721
[2025-09-19T10:06:21Z INFO  librespot_playback::mixer::softmixer] Mixing with softvol and volume control: Log(60.0)
[2025-09-19T10:06:21Z DEBUG librespot_playback::player] Normalisation Type: Auto
[2025-09-19T10:06:21Z DEBUG librespot_playback::player] Normalisation Pregain: 0.0 dB
[2025-09-19T10:06:21Z DEBUG librespot_playback::player] Normalisation Threshold: -2.0 dBFS
[2025-09-19T10:06:21Z DEBUG librespot_playback::player] Normalisation Method: Dynamic
[2025-09-19T10:06:21Z DEBUG librespot_playback::player] Normalisation Attack: 5 ms
[2025-09-19T10:06:21Z DEBUG librespot_playback::player] Normalisation Release: 100 ms
[2025-09-19T10:06:21Z DEBUG librespot_playback::player] Normalisation Knee: 5 dB
[2025-09-19T10:06:21Z DEBUG librespot_playback::player] new Player [0]
[2025-09-19T10:06:21Z INFO  librespot_playback::convert] Converting with ditherer: tpdf
[2025-09-19T10:06:21Z DEBUG librespot_connect::spirc] new Spirc[0]
[2025-09-19T10:06:21Z INFO  librespot_playback::audio_backend::rodio] Using Rodio sink with format S16 and cpal host: ALSA
[2025-09-19T10:06:21Z INFO  librespot_playback::audio_backend::rodio] Using audio device: default
[2025-09-19T10:06:21Z DEBUG librespot::component] new DealerManager
[2025-09-19T10:06:21Z DEBUG librespot::component] new SpClient
[2025-09-19T10:06:21Z DEBUG librespot_core::spclient] Client token unavailable or expired, requesting new token.
[2025-09-19T10:06:21Z DEBUG librespot_core::http_client] Requesting https://clienttoken.spotify.com/v1/clienttoken
[2025-09-19T10:06:21Z DEBUG librespot_playback::audio_backend::rodio] Rodio sink was created
[2025-09-19T10:06:21Z DEBUG librespot_core::spclient] Received a granted token
[2025-09-19T10:06:21Z TRACE librespot_core::spclient] Got client token: GrantedTokenResponse { token: "AADQZSyMHAblPN6PSDeCdoOgMUXr/Rpc2Er2mOuyJ6PSoHmfWTgDdOcMLH5ZMGX2Kcf8VYV4I6pVUBbx9NsaY/sBQyNR22d1X6Qt91Qj3slkseN5c31D8JMEFoeXzeflrr2ectVoq7oWefC8ML17F+zTiRzs15vmL92tHoJQpFRbHLufEI3lHPis9buFmrrYf47hf6LW8tI/YACUlbT+vdg5DQ44wnVm6C/ysQqNH67eJ678O5NpfZgmEmuKpUkZSPobo/XH220xXsFNzu/srgMWCRPJAmqfCxGo3RsM", expires_after_seconds: 1216800, refresh_after_seconds: 1209600, domains: [TokenDomain { domain: "spotify.com", special_fields: SpecialFields { unknown_fields: UnknownFields { fields: None }, cached_size: CachedSize { size: 0 } } }, TokenDomain { domain: "spotify.net", special_fields: SpecialFields { unknown_fields: UnknownFields { fields: None }, cached_size: CachedSize { size: 0 } } }], special_fields: SpecialFields { unknown_fields: UnknownFields { fields: None }, cached_size: CachedSize { size: 0 } } }
[2025-09-19T10:06:21Z DEBUG librespot::component] new ApResolver
[2025-09-19T10:06:21Z DEBUG librespot_core::http_client] Requesting https://apresolve.spotify.com/?type=accesspoint&type=dealer&type=spclient
[2025-09-19T10:06:22Z INFO  librespot_core::session] Connecting to AP "ap-gew1.spotify.com:443"
[2025-09-19T10:06:22Z INFO  librespot_core::socket] Using proxy "http://127.0.0.1:3128/"
[2025-09-19T10:06:22Z DEBUG librespot_core::connection] Connection to AP established.
[2025-09-19T10:06:22Z DEBUG librespot_core::connection] Authenticating with AP using AUTHENTICATION_STORED_SPOTIFY_CREDENTIALS
[2025-09-19T10:06:22Z INFO  librespot_core::session] Authenticated as 'paulfariello' !
[2025-09-19T10:06:22Z DEBUG librespot::component] new Login5Manager
[2025-09-19T10:06:22Z DEBUG librespot_core::http_client] Requesting https://login5.spotify.com/v3/login
[2025-09-19T10:06:22Z TRACE librespot_core::session] Received Ping
[2025-09-19T10:06:22Z TRACE librespot_core::session] keep-alive state: PendingPong, timeout in 60.0
[2025-09-19T10:06:22Z DEBUG librespot_core::session] Session strong=5 weak=6
[2025-09-19T10:06:22Z INFO  librespot_core::session] Country: "FR"
[2025-09-19T10:06:22Z TRACE librespot_core::session] Received product info: {
        "payments-locked-state": "0",
        "remote-control": "6",
        "name": "Spotify Premium",
        "offline": "1",
        "storage-size-config": "10240,90,500,3",
        "streaming": "1",
        "on-demand": "1",
        "player-license-v2": "premium",
        "publish-activity": "0",
        "video-keyframe-url": "http://keyframes-fa.cdn.spotify.com/keyframes/v1/sources/{source_id}/keyframe/heights/{height}/timestamps/{timestamp_ms}.jpg",
        "social-session-free-tier": "0",
        "type": "premium",
        "is-standalone-audiobooks": "0",
        "app-developer": "0",
        "streaming-only-premium": "0",
        "catalogue": "premium",
        "ad-formats-preroll-video": "0",
        "mobile-payment": "0",
        "obfuscate-restricted-tracks": "0",
        "restrict-playlist-collaboration": "0",
        "multiuserplan-current-size": "6",
        "send-email": "0",
        "setup-headphones-changes": "0",
        "enable-crossfade": "1",
        "user-profile-show-invitation-codes": "0",
        "video-device-blacklisted": "0",
        "widevine-license-url": "https://spclient.wg.spotify.com/widevine-license/v1/video/license",
        "loudness-levels": "1:-5.0,0.0,3.0:-2.0",
        "metadata-link-lookup-modes": "0",
        "payments-initial-campaign": "default",
        "prefetch-strategy": "18",
        "network-operator-premium-activation": "1",
        "ab-watch-now": "0",
        "video-cdn-sampling": "100",
        "libspotify": "1",
        "filter-explicit-content": "0",
        "playlist-annotations-markup": "0",
        "shuffle-algorithm": "FRESH",
        "incognito_mode_timeout": "21600",
        "ab_recently_played_feature_time_filter_threshold": "com.spotify.gaia=30,driving-mode=120,spotify%3Ainternal%3Astartpage=30",
        "pick-and-shuffle": "0",
        "preferred-locale": "fr",
        "publish-playlist": "0",
        "collection": "1",
        "arsenal_country": "1",
        "head-files-url": "https://heads-fa-tls13.spotifycdn.com/head/{file_id}",
        "audio-preview-url-template": "https://p.scdn.co/mp3-preview/{id}",
        "public-toplist": "5",
        "financial-product": "pr:premium,tc:0,rt:v2_FR_default_new-family-master-1m_21.24_EUR_default",
        "head-file-caching": "1",
        "enable-annotations": "2",
        "apply-child-content-restrictions": "0",
        "employee-free-opt-in": "0",
        "rating-access": "1",
        "ugc-abuse-report-url": "https://support.spotify.com/abuse/?uri={uri}",
        "mobile": "1",
        "yl-kids-restricted-content": "0",
        "prefetch-window-max": "2",
        "dma-mode-available": "1",
        "has-audiobooks-subscription": "1",
        "is-puffin": "0",
        "prefetch-keys": "1",
        "social-session": "1",
        "explicit-content": "1",
        "nft-disabled": "1",
        "autoplay": "1",
        "browse-overview-enabled": "1",
        "dsa-mode-available": "1",
        "key-memory-cache-mode": "1:15,300",
        "license-acceptance-grace-days": "30",
        "unrestricted": "1",
        "audiobook-onboarding-completed": "0",
        "ad-session-persistence": "1",
        "enable-annotations-read": "0",
        "key-caching-max-count": "10000",
        "shuffle": "0",
        "sidebar-navigation-enabled": "0",
        "ugc-abuse-report": "1",
        "video-manifest-url": "https://spclient.wg.spotify.com/manifests/v6/{type}/sources/{source_id}/options/supports_drm",
        "audio-quality": "1",
        "shows-collection-jam": "0",
        "music-videos": "1",
        "high-bitrate": "1",
        "image-url": "https://i.scdn.co/image/{file_id}",
        "dsa-mode-enabled": "0",
        "dma-mode-enabled": "0",
        "is-pigeon": "0",
        "is-tuna": "0",
        "multiuserplan-member-type": "FAMILY_MANAGER",
        "shows-collection": "1",
        "on-demand-trial-in-progress": "0",
        "player-license": "premium",
        "jam": "1",
        "key-caching-max-offline-seconds": "1800",
        "capping-bar-threshold": "3601",
        "is-cheetara": "0",
        "ab-ad-player-targeting": "1",
        "ads": "0",
        "is_email_verified": "1",
        "radio": "1",
        "key-caching-auto-offline": "0",
    }
[2025-09-19T10:06:22Z DEBUG librespot::component] new MercuryManager
[2025-09-19T10:06:22Z TRACE librespot_core::mercury] mercury response <hm://pusher/v1/connections/N2MyOGFiOGE1Yzk1MTJlNDI2NmFjN2NiNzU2MzEyYzgyZWU0M2Q3ZStBUCt0Y3A6Ly8wYWNhNDA5Zi5pcC5nZXcxLnNwb3RpZnkubmV0OjUwMjcrRUM2RkVBMzkxNTNDODk5Qjc0Q0YwMjU5ODlDMDE1RjBDMjRDN0M5QTcwMTQwQjU2Q0Q5Njc1NDE2MUIyQzMxRg%3D%3D> is handled by dealer
[2025-09-19T10:06:22Z TRACE librespot_core::login5] Got auth token: Token { access_token: "BQBrn7wENLSE0cp7_BSxQ6bOrBagZ67nmJ4G5DZ_RrbevsL3sU6B8QGInynVy6Fp-y15jSzUT8jEEj-nNULYYVkHM7SDGgnLddfcXTZ-J8dao9yBezfo_US8ANTRm2zQKEyqbr2WnRN5-03EM7WIHkxDKLFUGpTU0h2b_4cN4gFyYIkISDIujtvx-dO421lymsQ0Mh1gOed7rGC6W2vYeZo_gNW5OcrFewXJcTVoqW5FUZV1aoH522Rt96YXgFb2_ZSaWxYJkptNRUK7w9gCG-zz52KHfdMueMGnyylimUJPPJ_ylxtpnEdLvl2_ywQd9sY8AVHnQ95b47QcKOKfdUyCTjAwNCQtFJILzvklTDEL3PPy-C_ASpKCluQoR73in3kSQDLXqSb6rFyr", expires_in: 3600s, token_type: "Bearer", scopes: [], timestamp: Instant { tv_sec: 414803, tv_nsec: 115152299 } }
[2025-09-19T10:06:22Z DEBUG librespot_connect::spirc] SpircTask::set_volume(49151)
[2025-09-19T10:06:22Z DEBUG librespot_playback::player] command=AddEventSender
[2025-09-19T10:06:22Z DEBUG librespot_playback::mixer::mappings] Input volume 49151 mapped to: 17.78%
[2025-09-19T10:06:22Z DEBUG librespot_core::dealer::manager] Launching dealer
[2025-09-19T10:07:22Z TRACE librespot_core::session] Sending Pong
[2025-09-19T10:07:22Z TRACE librespot_core::session] keep-alive state: ExpectingPongAck, timeout in 20.0
[2025-09-19T10:07:22Z TRACE librespot_core::session] Received PongAck
[2025-09-19T10:07:22Z TRACE librespot_core::session] keep-alive state: ExpectingPing, timeout in 80.0
[2025-09-19T10:08:22Z TRACE librespot_core::session] Received Ping
[2025-09-19T10:08:22Z TRACE librespot_core::session] keep-alive state: PendingPong, timeout in 60.0
[2025-09-19T10:08:22Z DEBUG librespot_core::session] Session strong=6 weak=7
[2025-09-19T10:08:28Z DEBUG librespot_core::mercury] unknown subscription uri=social-connect/v2/broadcast_status_update
[2025-09-19T10:08:28Z TRACE librespot_core::mercury] response pushed over Mercury: MercuryResponse { uri: "social-connect/v2/broadcast_status_update", status_code: 200, payload: [[123, 34, 100, 101, 118, 105, 99, 101, 66, 114, 111, 97, 100, 99, 97, 115, 116, 83, 116, 97, 116, 117, 115, 34, 58, 123, 34, 116, 105, 109, 101, 115, 116, 97, 109, 112, 34, 58, 34, 49, 55, 53, 56, 50, 55, 54, 53, 48, 56, 57, 50, 57, 34, 44, 34, 98, 114, 111, 97, 100, 99, 97, 115, 116, 95, 115, 116, 97, 116, 117, 115, 34, 58, 34, 66, 82, 79, 65, 68, 67, 65, 83, 84, 95, 85, 78, 65, 86, 65, 73, 76, 65, 66, 76, 69, 34, 44, 34, 100, 101, 118, 105, 99, 101, 95, 105, 100, 34, 58, 34, 55, 56, 55, 98, 49, 55, 48, 52, 53, 52, 48, 100, 100, 50, 57, 52, 50, 50, 56, 101, 51, 49, 48, 57, 53, 100, 51, 50, 102, 57, 101, 55, 102, 50, 56, 54, 101, 55, 48, 55, 34, 125, 125]] }
[2025-09-19T10:08:28Z DEBUG librespot_core::session] could not dispatch command: Service unavailable { error handling Mercury response: MercuryResponse { uri: "social-connect/v2/broadcast_status_update", status_code: 200, payload: [[123, 34, 100, 101, 118, 105, 99, 101, 66, 114, 111, 97, 100, 99, 97, 115, 116, 83, 116, 97, 116, 117, 115, 34, 58, 123, 34, 116, 105, 109, 101, 115, 116, 97, 109, 112, 34, 58, 34, 49, 55, 53, 56, 50, 55, 54, 53, 48, 56, 57, 50, 57, 34, 44, 34, 98, 114, 111, 97, 100, 99, 97, 115, 116, 95, 115, 116, 97, 116, 117, 115, 34, 58, 34, 66, 82, 79, 65, 68, 67, 65, 83, 84, 95, 85, 78, 65, 86, 65, 73, 76, 65, 66, 76, 69, 34, 44, 34, 100, 101, 118, 105, 99, 101, 95, 105, 100, 34, 58, 34, 55, 56, 55, 98, 49, 55, 48, 52, 53, 52, 48, 100, 100, 50, 57, 52, 50, 50, 56, 101, 51, 49, 48, 57, 53, 100, 51, 50, 102, 57, 101, 55, 102, 50, 56, 54, 101, 55, 48, 55, 34, 125, 125]] } }
[2025-09-19T10:08:37Z ERROR librespot_connect::spirc] starting dealer failed: Invalid state { Websocket couldn't be started because: Deadline expired before operation could complete { Connection timed out (os error 110) } }
[2025-09-19T10:08:37Z DEBUG librespot_connect::spirc] drop Spirc[0]
[2025-09-19T10:08:37Z WARN  librespot] Spirc shut down unexpectedly
[2025-09-19T10:08:37Z DEBUG librespot_core::session] Shutdown: Invalidating session
[2025-09-19T10:08:37Z DEBUG librespot::component] new ChannelManager
[2025-09-19T10:08:37Z DEBUG librespot_core::session] new Session
[2025-09-19T10:08:37Z DEBUG librespot_connect::spirc] new Spirc[1]
[2025-09-19T10:08:37Z DEBUG librespot::component] new DealerManager
[2025-09-19T10:08:37Z DEBUG librespot_playback::player] command=SetSession
[2025-09-19T10:08:37Z DEBUG librespot_core::session] drop Session
[2025-09-19T10:08:37Z DEBUG librespot::component] new SpClient
[2025-09-19T10:08:37Z DEBUG librespot_core::spclient] Client token unavailable or expired, requesting new token.
[2025-09-19T10:08:37Z DEBUG librespot_core::http_client] Requesting https://clienttoken.spotify.com/v1/clienttoken
[2025-09-19T10:08:37Z DEBUG librespot::component] drop ApResolver
[2025-09-19T10:08:37Z DEBUG librespot::component] drop ChannelManager
[2025-09-19T10:08:37Z DEBUG librespot::component] drop MercuryManager
[2025-09-19T10:08:37Z DEBUG librespot::component] drop DealerManager
[2025-09-19T10:08:37Z DEBUG librespot::component] drop SpClient
[2025-09-19T10:08:37Z DEBUG librespot::component] drop Login5Manager
[2025-09-19T10:08:37Z DEBUG librespot_core::session] drop Dispatch
[2025-09-19T10:08:37Z DEBUG librespot_core::spclient] Received a granted token
[2025-09-19T10:08:37Z TRACE librespot_core::spclient] Got client token: GrantedTokenResponse { token: "AAC1iEHTnxAdRMscBO960gu2josthk3S+CYRN7Q0n0LtW5K8PXmD8aUvyj5slraLWIy9y+U7x4Lm76A2brlE6hwBMootV0P+9JBrM75aCPb9P6o2v25LMhr2s7w9zMboqQhuoIqHOEvRWnF88hSKpuFZ5CWtYeFVRC6RqMHJCQcdKgILLgzLvmGOyTu0/KZpuBT9pJ7rqVuyiUxgpAOMDOUe4h56yCmp6XRD7JJS3JZvbzTQKTc1G7G5jq7D0d3pEt7FhpD4jICSqeL6mgh6arun+KzjSintrBjTaN5n", expires_after_seconds: 1216800, refresh_after_seconds: 1209600, domains: [TokenDomain { domain: "spotify.com", special_fields: SpecialFields { unknown_fields: UnknownFields { fields: None }, cached_size: CachedSize { size: 0 } } }, TokenDomain { domain: "spotify.net", special_fields: SpecialFields { unknown_fields: UnknownFields { fields: None }, cached_size: CachedSize { size: 0 } } }], special_fields: SpecialFields { unknown_fields: UnknownFields { fields: None }, cached_size: CachedSize { size: 0 } } }
[2025-09-19T10:08:37Z DEBUG librespot::component] new ApResolver
[2025-09-19T10:08:37Z DEBUG librespot_core::http_client] Requesting https://apresolve.spotify.com/?type=accesspoint&type=dealer&type=spclient
[2025-09-19T10:08:38Z INFO  librespot_core::session] Connecting to AP "ap-gew1.spotify.com:443"
[2025-09-19T10:08:38Z INFO  librespot_core::socket] Using proxy "http://127.0.0.1:3128/"
[2025-09-19T10:08:38Z DEBUG librespot_core::connection] Connection to AP established.
[2025-09-19T10:08:38Z DEBUG librespot_core::connection] Authenticating with AP using AUTHENTICATION_STORED_SPOTIFY_CREDENTIALS
[2025-09-19T10:08:38Z INFO  librespot_core::session] Authenticated as 'paulfariello' !
[2025-09-19T10:08:38Z DEBUG librespot::component] new Login5Manager
[2025-09-19T10:08:38Z DEBUG librespot_core::http_client] Requesting https://login5.spotify.com/v3/login
[2025-09-19T10:08:38Z TRACE librespot_core::session] Received Ping
[2025-09-19T10:08:38Z TRACE librespot_core::session] keep-alive state: PendingPong, timeout in 60.0
[2025-09-19T10:08:38Z DEBUG librespot_core::session] Session strong=5 weak=6
[2025-09-19T10:08:38Z INFO  librespot_core::session] Country: "FR"
[2025-09-19T10:08:38Z TRACE librespot_core::session] Received product info: {
        "loudness-levels": "1:-5.0,0.0,3.0:-2.0",
        "shows-collection-jam": "0",
        "social-session": "1",
        "capping-bar-threshold": "3601",
        "prefetch-keys": "1",
        "ugc-abuse-report-url": "https://support.spotify.com/abuse/?uri={uri}",
        "audio-preview-url-template": "https://p.scdn.co/mp3-preview/{id}",
        "video-device-blacklisted": "0",
        "publish-activity": "0",
        "ad-formats-preroll-video": "0",
        "enable-crossfade": "1",
        "audio-quality": "1",
        "key-caching-max-offline-seconds": "1800",
        "key-memory-cache-mode": "1:15,300",
        "financial-product": "pr:premium,tc:0,rt:v2_FR_default_new-family-master-1m_21.24_EUR_default",
        "streaming": "1",
        "storage-size-config": "10240,90,500,3",
        "widevine-license-url": "https://spclient.wg.spotify.com/widevine-license/v1/video/license",
        "collection": "1",
        "sidebar-navigation-enabled": "0",
        "ugc-abuse-report": "1",
        "dsa-mode-available": "1",
        "is-pigeon": "0",
        "app-developer": "0",
        "mobile-payment": "0",
        "video-cdn-sampling": "100",
        "ads": "0",
        "high-bitrate": "1",
        "mobile": "1",
        "on-demand": "1",
        "is_email_verified": "1",
        "shuffle": "0",
        "offline": "1",
        "video-keyframe-url": "http://keyframes-fa.cdn.spotify.com/keyframes/v1/sources/{source_id}/keyframe/heights/{height}/timestamps/{timestamp_ms}.jpg",
        "type": "premium",
        "metadata-link-lookup-modes": "0",
        "player-license": "premium",
        "ab_recently_played_feature_time_filter_threshold": "com.spotify.gaia=30,driving-mode=120,spotify%3Ainternal%3Astartpage=30",
        "employee-free-opt-in": "0",
        "restrict-playlist-collaboration": "0",
        "setup-headphones-changes": "0",
        "music-videos": "1",
        "ab-ad-player-targeting": "1",
        "apply-child-content-restrictions": "0",
        "unrestricted": "1",
        "obfuscate-restricted-tracks": "0",
        "player-license-v2": "premium",
        "arsenal_country": "1",
        "social-session-free-tier": "0",
        "jam": "1",
        "multiuserplan-current-size": "6",
        "is-tuna": "0",
        "payments-initial-campaign": "default",
        "image-url": "https://i.scdn.co/image/{file_id}",
        "head-file-caching": "1",
        "name": "Spotify Premium",
        "dma-mode-enabled": "0",
        "dsa-mode-enabled": "0",
        "dma-mode-available": "1",
        "nft-disabled": "1",
        "payments-locked-state": "0",
        "preferred-locale": "fr",
        "public-toplist": "5",
        "rating-access": "1",
        "video-manifest-url": "https://spclient.wg.spotify.com/manifests/v6/{type}/sources/{source_id}/options/supports_drm",
        "yl-kids-restricted-content": "0",
        "enable-annotations": "2",
        "playlist-annotations-markup": "0",
        "remote-control": "6",
        "publish-playlist": "0",
        "radio": "1",
        "streaming-only-premium": "0",
        "autoplay": "1",
        "prefetch-strategy": "18",
        "enable-annotations-read": "0",
        "key-caching-max-count": "10000",
        "explicit-content": "1",
        "is-cheetara": "0",
        "network-operator-premium-activation": "1",
        "head-files-url": "https://heads-fa-tls13.spotifycdn.com/head/{file_id}",
        "key-caching-auto-offline": "0",
        "libspotify": "1",
        "browse-overview-enabled": "1",
        "audiobook-onboarding-completed": "0",
        "multiuserplan-member-type": "FAMILY_MANAGER",
        "send-email": "0",
        "shuffle-algorithm": "FRESH",
        "user-profile-show-invitation-codes": "0",
        "pick-and-shuffle": "0",
        "ab-watch-now": "0",
        "incognito_mode_timeout": "21600",
        "is-puffin": "0",
        "prefetch-window-max": "2",
        "is-standalone-audiobooks": "0",
        "filter-explicit-content": "0",
        "has-audiobooks-subscription": "1",
        "on-demand-trial-in-progress": "0",
        "ad-session-persistence": "1",
        "catalogue": "premium",
        "shows-collection": "1",
        "license-acceptance-grace-days": "30",
    }
[2025-09-19T10:08:38Z DEBUG librespot::component] new MercuryManager
[2025-09-19T10:08:38Z TRACE librespot_core::mercury] mercury response <hm://pusher/v1/connections/N2MyOGFiOGE1Yzk1MTJlNDI2NmFjN2NiNzU2MzEyYzgyZWU0M2Q3ZStBUCt0Y3A6Ly8wYWNhNDE3Mi5pcC5nZXcxLnNwb3RpZnkubmV0OjUwMTgrMTMxNkU3MkQ5M0U1QTZFMTkwRjczNjc5MTdBQzRBOTFFRjI1NjdGODNFQkY3RjI5MERDODA4OERDQTFFQTk5OA%3D%3D> is handled by dealer
[2025-09-19T10:08:38Z TRACE librespot_core::login5] Got auth token: Token { access_token: "BQADPad1qahu6jnp-oxMgfWmBkxI12FHxf5a4gsMpwPxNXhAWvfcn6w6CpDbbM9zssY_jeIyyMHE36ZLJ4UKyf_ex089wS-QSL86cmEA6jQvil0kITU3LtzisR9Jdv88YAFGw1Vb0eRWZ0LaxVUNA8D7JVUxK0WTI2-Pb27e_Zkp1OkQ0ZPtto3q0GPPSIG_vbDnpKvldGa3-MVj7UvlVF7ygIY8r3Dzx4z5yxMKHALDR55OyozAXETL6rq6JSY1MIyAv8mrLaxgwKX7BlhLeBkv8oAgRAcAPrA46hvTiMGFmGm2s8jn5M4tuoDmBN9sJ7Jwg1vDEvMtzLNPtMTDh_zaM3rNvOHMilcyr-Odl2pUFJkRSrcB8Mx5ctgPoqf-ONhl_HG_WtY98G30", expires_in: 3600s, token_type: "Bearer", scopes: [], timestamp: Instant { tv_sec: 414939, tv_nsec: 76365115 } }
[2025-09-19T10:08:38Z DEBUG librespot_connect::spirc] SpircTask::set_volume(49151)
[2025-09-19T10:08:38Z DEBUG librespot_playback::mixer::mappings] Input volume 49151 mapped to: 17.78%
[2025-09-19T10:08:38Z DEBUG librespot_playback::player] command=AddEventSender
[2025-09-19T10:08:38Z DEBUG librespot_core::dealer::manager] Launching dealer
[2025-09-19T10:09:13Z DEBUG librespot_core::mercury] unknown subscription uri=hm://collection/collection/paulfariello/json
[2025-09-19T10:09:13Z TRACE librespot_core::mercury] response pushed over Mercury: MercuryResponse { uri: "hm://collection/collection/paulfariello/json", status_code: 200, payload: [[123, 34, 105, 116, 101, 109, 115, 34, 58, 91, 123, 34, 116, 121, 112, 101, 34, 58, 34, 116, 114, 97, 99, 107, 34, 44, 34, 117, 110, 104, 101, 97, 114, 100, 34, 58, 102, 97, 108, 115, 101, 44, 34, 97, 100, 100, 101, 100, 65, 116, 34, 58, 49, 55, 53, 56, 50, 55, 54, 53, 53, 51, 44, 34, 114, 101, 109, 111, 118, 101, 100, 34, 58, 102, 97, 108, 115, 101, 44, 34, 105, 100, 101, 110, 116, 105, 102, 105, 101, 114, 34, 58, 34, 55, 110, 86, 110, 103, 102, 111, 120, 54, 75, 100, 85, 75, 55, 103, 85, 80, 56, 48, 99, 86, 122, 34, 125, 93, 125]] }
[2025-09-19T10:09:13Z DEBUG librespot_core::session] could not dispatch command: Service unavailable { error handling Mercury response: MercuryResponse { uri: "hm://collection/collection/paulfariello/json", status_code: 200, payload: [[123, 34, 105, 116, 101, 109, 115, 34, 58, 91, 123, 34, 116, 121, 112, 101, 34, 58, 34, 116, 114, 97, 99, 107, 34, 44, 34, 117, 110, 104, 101, 97, 114, 100, 34, 58, 102, 97, 108, 115, 101, 44, 34, 97, 100, 100, 101, 100, 65, 116, 34, 58, 49, 55, 53, 56, 50, 55, 54, 53, 53, 51, 44, 34, 114, 101, 109, 111, 118, 101, 100, 34, 58, 102, 97, 108, 115, 101, 44, 34, 105, 100, 101, 110, 116, 105, 102, 105, 101, 114, 34, 58, 34, 55, 110, 86, 110, 103, 102, 111, 120, 54, 75, 100, 85, 75, 55, 103, 85, 80, 56, 48, 99, 86, 122, 34, 125, 93, 125]] } }
[2025-09-19T10:09:13Z DEBUG librespot_core::mercury] unknown subscription uri=hm://collection/collection/paulfariello
[2025-09-19T10:09:13Z TRACE librespot_core::mercury] response pushed over Mercury: MercuryResponse { uri: "hm://collection/collection/paulfariello", status_code: 200, payload: [[10, 28, 8, 0, 18, 16, 242, 173, 95, 179, 161, 42, 79, 25, 181, 234, 99, 76, 37, 231, 1, 65, 40, 201, 215, 180, 198, 6, 48, 0]] }
[2025-09-19T10:09:13Z DEBUG librespot_core::session] could not dispatch command: Service unavailable { error handling Mercury response: MercuryResponse { uri: "hm://collection/collection/paulfariello", status_code: 200, payload: [[10, 28, 8, 0, 18, 16, 242, 173, 95, 179, 161, 42, 79, 25, 181, 234, 99, 76, 37, 231, 1, 65, 40, 201, 215, 180, 198, 6, 48, 0]] } }
[2025-09-19T10:09:23Z DEBUG librespot_core::mercury] unknown subscription uri=social-connect/v2/session_update
[2025-09-19T10:09:23Z TRACE librespot_core::mercury] response pushed over Mercury: MercuryResponse { uri: "social-connect/v2/session_update", status_code: 200, payload: [[123, 34, 115, 101, 115, 115, 105, 111, 110, 34, 58, 123, 34, 116, 105, 109, 101, 115, 116, 97, 109, 112, 34, 58, 34, 49, 55, 53, 56, 50, 55, 54, 53, 54, 51, 53, 49, 55, 34, 44, 34, 115, 101, 115, 115, 105, 111, 110, 95, 105, 100, 34, 58, 34, 52, 52, 98, 97, 102, 99, 52, 56, 56, 54, 101, 100, 57, 48, 98, 101, 55, 98, 51, 55, 99, 54, 52, 99, 50, 48, 57, 53, 48, 99, 102, 101, 34, 44, 34, 106, 111, 105, 110, 95, 115, 101, 115, 115, 105, 111, 110, 95, 116, 111, 107, 101, 110, 34, 58, 34, 50, 53, 71, 86, 73, 57, 48, 67, 77, 85, 87, 83, 112, 119, 113, 68, 85, 99, 107, 122, 118, 103, 34, 44, 34, 106, 111, 105, 110, 95, 115, 101, 115, 115, 105, 111, 110, 95, 117, 114, 108, 34, 58, 34, 104, 109, 58, 47, 47, 115, 111, 99, 105, 97, 108, 45, 99, 111, 110, 110, 101, 99, 116, 47, 118, 50, 47, 115, 101, 115, 115, 105, 111, 110, 115, 47, 106, 111, 105, 110, 47, 50, 53, 71, 86, 73, 57, 48, 67, 77, 85, 87, 83, 112, 119, 113, 68, 85, 99, 107, 122, 118, 103, 34, 44, 34, 115, 101, 115, 115, 105, 111, 110, 95, 111, 119, 110, 101, 114, 95, 105, 100, 34, 58, 34, 51, 97, 50, 50, 97, 49, 56, 49, 98, 51, 48, 51, 102, 51, 53, 54, 50, 101, 49, 54, 56, 97, 102, 97, 97, 50, 49, 54, 51, 101, 98, 100, 34, 44, 34, 115, 101, 115, 115, 105, 111, 110, 95, 109, 101, 109, 98, 101, 114, 115, 34, 58, 91, 123, 34, 106, 111, 105, 110, 101, 100, 95, 116, 105, 109, 101, 115, 116, 97, 109, 112, 34, 58, 34, 49, 55, 53, 56, 50, 55, 54, 53, 54, 51, 53, 49, 49, 34, 44, 34, 105, 100, 34, 58, 34, 51, 97, 50, 50, 97, 49, 56, 49, 98, 51, 48, 51, 102, 51, 53, 54, 50, 101, 49, 54, 56, 97, 102, 97, 97, 50, 49, 54, 51, 101, 98, 100, 34, 44, 34, 117, 115, 101, 114, 110, 97, 109, 101, 34, 58, 34, 112, 97, 117, 108, 102, 97, 114, 105, 101, 108, 108, 111, 34, 44, 34, 100, 105, 115, 112, 108, 97, 121, 95, 110, 97, 109, 101, 34, 58, 34, 80, 97, 117, 108, 32, 70, 97, 114, 105, 101, 108, 108, 111, 34, 44, 34, 105, 109, 97, 103, 101, 95, 117, 114, 108, 34, 58, 34, 104, 116, 116, 112, 115, 58, 47, 47, 105, 46, 115, 99, 100, 110, 46, 99, 111, 47, 105, 109, 97, 103, 101, 47, 97, 98, 54, 55, 55, 53, 55, 48, 48, 48, 48, 48, 51, 98, 56, 50, 101, 97, 51, 57, 57, 100, 57, 101, 99, 53, 48, 48, 102, 56, 52, 56, 53, 98, 101, 53, 56, 98, 56, 49, 34, 44, 34, 108, 97, 114, 103, 101, 95, 105, 109, 97, 103, 101, 95, 117, 114, 108, 34, 58, 34, 104, 116, 116, 112, 115, 58, 47, 47, 105, 46, 115, 99, 100, 110, 46, 99, 111, 47, 105, 109, 97, 103, 101, 47, 97, 98, 54, 55, 55, 53, 55, 48, 48, 48, 48, 48, 101, 101, 56, 53, 101, 97, 51, 57, 57, 100, 57, 101, 99, 53, 48, 48, 102, 56, 52, 56, 53, 98, 101, 53, 56, 98, 56, 49, 34, 44, 34, 105, 115, 95, 108, 105, 115, 116, 101, 110, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 105, 115, 95, 99, 111, 110, 116, 114, 111, 108, 108, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 112, 108, 97, 121, 98, 97, 99, 107, 67, 111, 110, 116, 114, 111, 108, 34, 58, 34, 76, 73, 83, 84, 69, 78, 95, 65, 78, 68, 95, 67, 79, 78, 84, 82, 79, 76, 34, 44, 34, 105, 115, 95, 99, 117, 114, 114, 101, 110, 116, 95, 117, 115, 101, 114, 34, 58, 116, 114, 117, 101, 125, 93, 44, 34, 106, 111, 105, 110, 95, 115, 101, 115, 115, 105, 111, 110, 95, 117, 114, 105, 34, 58, 34, 115, 112, 111, 116, 105, 102, 121, 58, 115, 111, 99, 105, 97, 108, 115, 101, 115, 115, 105, 111, 110, 58, 50, 53, 71, 86, 73, 57, 48, 67, 77, 85, 87, 83, 112, 119, 113, 68, 85, 99, 107, 122, 118, 103, 34, 44, 34, 105, 115, 95, 115, 101, 115, 115, 105, 111, 110, 95, 111, 119, 110, 101, 114, 34, 58, 116, 114, 117, 101, 44, 34, 105, 115, 95, 108, 105, 115, 116, 101, 110, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 105, 115, 95, 99, 111, 110, 116, 114, 111, 108, 108, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 105, 110, 105, 116, 105, 97, 108, 83, 101, 115, 115, 105, 111, 110, 84, 121, 112, 101, 34, 58, 34, 73, 78, 95, 80, 69, 82, 83, 79, 78, 34, 44, 34, 104, 111, 115, 116, 65, 99, 116, 105, 118, 101, 68, 101, 118, 105, 99, 101, 73, 100, 34, 58, 34, 55, 56, 55, 98, 49, 55, 48, 52, 53, 52, 48, 100, 100, 50, 57, 52, 50, 50, 56, 101, 51, 49, 48, 57, 53, 100, 51, 50, 102, 57, 101, 55, 102, 50, 56, 54, 101, 55, 48, 55, 34, 44, 34, 109, 97, 120, 77, 101, 109, 98, 101, 114, 67, 111, 117, 110, 116, 34, 58, 51, 50, 44, 34, 97, 99, 116, 105, 118, 101, 34, 58, 116, 114, 117, 101, 44, 34, 113, 117, 101, 117, 101, 95, 111, 110, 108, 121, 95, 109, 111, 100, 101, 34, 58, 102, 97, 108, 115, 101, 44, 34, 119, 105, 102, 105, 95, 98, 114, 111, 97, 100, 99, 97, 115, 116, 34, 58, 102, 97, 108, 115, 101, 44, 34, 104, 111, 115, 116, 95, 100, 101, 118, 105, 99, 101, 95, 105, 110, 102, 111, 34, 58, 123, 34, 100, 101, 118, 105, 99, 101, 95, 105, 100, 34, 58, 34, 55, 56, 55, 98, 49, 55, 48, 52, 53, 52, 48, 100, 100, 50, 57, 52, 50, 50, 56, 101, 51, 49, 48, 57, 53, 100, 51, 50, 102, 57, 101, 55, 102, 50, 56, 54, 101, 55, 48, 55, 34, 44, 34, 100, 101, 118, 105, 99, 101, 95, 110, 97, 109, 101, 34, 58, 34, 87, 101, 98, 32, 80, 108, 97, 121, 101, 114, 32, 40, 70, 105, 114, 101, 102, 111, 120, 41, 34, 44, 34, 100, 101, 118, 105, 99, 101, 95, 116, 121, 112, 101, 34, 58, 34, 67, 79, 77, 80, 85, 84, 69, 82, 34, 44, 34, 105, 115, 95, 103, 114, 111, 117, 112, 34, 58, 102, 97, 108, 115, 101, 125, 125, 44, 34, 114, 101, 97, 115, 111, 110, 34, 58, 34, 78, 69, 87, 95, 83, 69, 83, 83, 73, 79, 78, 34, 44, 34, 117, 112, 100, 97, 116, 101, 95, 115, 101, 115, 115, 105, 111, 110, 95, 109, 101, 109, 98, 101, 114, 115, 34, 58, 91, 123, 34, 106, 111, 105, 110, 101, 100, 95, 116, 105, 109, 101, 115, 116, 97, 109, 112, 34, 58, 34, 49, 55, 53, 56, 50, 55, 54, 53, 54, 51, 53, 49, 49, 34, 44, 34, 105, 100, 34, 58, 34, 51, 97, 50, 50, 97, 49, 56, 49, 98, 51, 48, 51, 102, 51, 53, 54, 50, 101, 49, 54, 56, 97, 102, 97, 97, 50, 49, 54, 51, 101, 98, 100, 34, 44, 34, 117, 115, 101, 114, 110, 97, 109, 101, 34, 58, 34, 112, 97, 117, 108, 102, 97, 114, 105, 101, 108, 108, 111, 34, 44, 34, 100, 105, 115, 112, 108, 97, 121, 95, 110, 97, 109, 101, 34, 58, 34, 80, 97, 117, 108, 32, 70, 97, 114, 105, 101, 108, 108, 111, 34, 44, 34, 105, 109, 97, 103, 101, 95, 117, 114, 108, 34, 58, 34, 104, 116, 116, 112, 115, 58, 47, 47, 105, 46, 115, 99, 100, 110, 46, 99, 111, 47, 105, 109, 97, 103, 101, 47, 97, 98, 54, 55, 55, 53, 55, 48, 48, 48, 48, 48, 51, 98, 56, 50, 101, 97, 51, 57, 57, 100, 57, 101, 99, 53, 48, 48, 102, 56, 52, 56, 53, 98, 101, 53, 56, 98, 56, 49, 34, 44, 34, 108, 97, 114, 103, 101, 95, 105, 109, 97, 103, 101, 95, 117, 114, 108, 34, 58, 34, 104, 116, 116, 112, 115, 58, 47, 47, 105, 46, 115, 99, 100, 110, 46, 99, 111, 47, 105, 109, 97, 103, 101, 47, 97, 98, 54, 55, 55, 53, 55, 48, 48, 48, 48, 48, 101, 101, 56, 53, 101, 97, 51, 57, 57, 100, 57, 101, 99, 53, 48, 48, 102, 56, 52, 56, 53, 98, 101, 53, 56, 98, 56, 49, 34, 44, 34, 105, 115, 95, 108, 105, 115, 116, 101, 110, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 105, 115, 95, 99, 111, 110, 116, 114, 111, 108, 108, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 112, 108, 97, 121, 98, 97, 99, 107, 67, 111, 110, 116, 114, 111, 108, 34, 58, 34, 76, 73, 83, 84, 69, 78, 95, 65, 78, 68, 95, 67, 79, 78, 84, 82, 79, 76, 34, 125, 93, 125]] }
[2025-09-19T10:09:23Z DEBUG librespot_core::session] could not dispatch command: Service unavailable { error handling Mercury response: MercuryResponse { uri: "social-connect/v2/session_update", status_code: 200, payload: [[123, 34, 115, 101, 115, 115, 105, 111, 110, 34, 58, 123, 34, 116, 105, 109, 101, 115, 116, 97, 109, 112, 34, 58, 34, 49, 55, 53, 56, 50, 55, 54, 53, 54, 51, 53, 49, 55, 34, 44, 34, 115, 101, 115, 115, 105, 111, 110, 95, 105, 100, 34, 58, 34, 52, 52, 98, 97, 102, 99, 52, 56, 56, 54, 101, 100, 57, 48, 98, 101, 55, 98, 51, 55, 99, 54, 52, 99, 50, 48, 57, 53, 48, 99, 102, 101, 34, 44, 34, 106, 111, 105, 110, 95, 115, 101, 115, 115, 105, 111, 110, 95, 116, 111, 107, 101, 110, 34, 58, 34, 50, 53, 71, 86, 73, 57, 48, 67, 77, 85, 87, 83, 112, 119, 113, 68, 85, 99, 107, 122, 118, 103, 34, 44, 34, 106, 111, 105, 110, 95, 115, 101, 115, 115, 105, 111, 110, 95, 117, 114, 108, 34, 58, 34, 104, 109, 58, 47, 47, 115, 111, 99, 105, 97, 108, 45, 99, 111, 110, 110, 101, 99, 116, 47, 118, 50, 47, 115, 101, 115, 115, 105, 111, 110, 115, 47, 106, 111, 105, 110, 47, 50, 53, 71, 86, 73, 57, 48, 67, 77, 85, 87, 83, 112, 119, 113, 68, 85, 99, 107, 122, 118, 103, 34, 44, 34, 115, 101, 115, 115, 105, 111, 110, 95, 111, 119, 110, 101, 114, 95, 105, 100, 34, 58, 34, 51, 97, 50, 50, 97, 49, 56, 49, 98, 51, 48, 51, 102, 51, 53, 54, 50, 101, 49, 54, 56, 97, 102, 97, 97, 50, 49, 54, 51, 101, 98, 100, 34, 44, 34, 115, 101, 115, 115, 105, 111, 110, 95, 109, 101, 109, 98, 101, 114, 115, 34, 58, 91, 123, 34, 106, 111, 105, 110, 101, 100, 95, 116, 105, 109, 101, 115, 116, 97, 109, 112, 34, 58, 34, 49, 55, 53, 56, 50, 55, 54, 53, 54, 51, 53, 49, 49, 34, 44, 34, 105, 100, 34, 58, 34, 51, 97, 50, 50, 97, 49, 56, 49, 98, 51, 48, 51, 102, 51, 53, 54, 50, 101, 49, 54, 56, 97, 102, 97, 97, 50, 49, 54, 51, 101, 98, 100, 34, 44, 34, 117, 115, 101, 114, 110, 97, 109, 101, 34, 58, 34, 112, 97, 117, 108, 102, 97, 114, 105, 101, 108, 108, 111, 34, 44, 34, 100, 105, 115, 112, 108, 97, 121, 95, 110, 97, 109, 101, 34, 58, 34, 80, 97, 117, 108, 32, 70, 97, 114, 105, 101, 108, 108, 111, 34, 44, 34, 105, 109, 97, 103, 101, 95, 117, 114, 108, 34, 58, 34, 104, 116, 116, 112, 115, 58, 47, 47, 105, 46, 115, 99, 100, 110, 46, 99, 111, 47, 105, 109, 97, 103, 101, 47, 97, 98, 54, 55, 55, 53, 55, 48, 48, 48, 48, 48, 51, 98, 56, 50, 101, 97, 51, 57, 57, 100, 57, 101, 99, 53, 48, 48, 102, 56, 52, 56, 53, 98, 101, 53, 56, 98, 56, 49, 34, 44, 34, 108, 97, 114, 103, 101, 95, 105, 109, 97, 103, 101, 95, 117, 114, 108, 34, 58, 34, 104, 116, 116, 112, 115, 58, 47, 47, 105, 46, 115, 99, 100, 110, 46, 99, 111, 47, 105, 109, 97, 103, 101, 47, 97, 98, 54, 55, 55, 53, 55, 48, 48, 48, 48, 48, 101, 101, 56, 53, 101, 97, 51, 57, 57, 100, 57, 101, 99, 53, 48, 48, 102, 56, 52, 56, 53, 98, 101, 53, 56, 98, 56, 49, 34, 44, 34, 105, 115, 95, 108, 105, 115, 116, 101, 110, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 105, 115, 95, 99, 111, 110, 116, 114, 111, 108, 108, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 112, 108, 97, 121, 98, 97, 99, 107, 67, 111, 110, 116, 114, 111, 108, 34, 58, 34, 76, 73, 83, 84, 69, 78, 95, 65, 78, 68, 95, 67, 79, 78, 84, 82, 79, 76, 34, 44, 34, 105, 115, 95, 99, 117, 114, 114, 101, 110, 116, 95, 117, 115, 101, 114, 34, 58, 116, 114, 117, 101, 125, 93, 44, 34, 106, 111, 105, 110, 95, 115, 101, 115, 115, 105, 111, 110, 95, 117, 114, 105, 34, 58, 34, 115, 112, 111, 116, 105, 102, 121, 58, 115, 111, 99, 105, 97, 108, 115, 101, 115, 115, 105, 111, 110, 58, 50, 53, 71, 86, 73, 57, 48, 67, 77, 85, 87, 83, 112, 119, 113, 68, 85, 99, 107, 122, 118, 103, 34, 44, 34, 105, 115, 95, 115, 101, 115, 115, 105, 111, 110, 95, 111, 119, 110, 101, 114, 34, 58, 116, 114, 117, 101, 44, 34, 105, 115, 95, 108, 105, 115, 116, 101, 110, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 105, 115, 95, 99, 111, 110, 116, 114, 111, 108, 108, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 105, 110, 105, 116, 105, 97, 108, 83, 101, 115, 115, 105, 111, 110, 84, 121, 112, 101, 34, 58, 34, 73, 78, 95, 80, 69, 82, 83, 79, 78, 34, 44, 34, 104, 111, 115, 116, 65, 99, 116, 105, 118, 101, 68, 101, 118, 105, 99, 101, 73, 100, 34, 58, 34, 55, 56, 55, 98, 49, 55, 48, 52, 53, 52, 48, 100, 100, 50, 57, 52, 50, 50, 56, 101, 51, 49, 48, 57, 53, 100, 51, 50, 102, 57, 101, 55, 102, 50, 56, 54, 101, 55, 48, 55, 34, 44, 34, 109, 97, 120, 77, 101, 109, 98, 101, 114, 67, 111, 117, 110, 116, 34, 58, 51, 50, 44, 34, 97, 99, 116, 105, 118, 101, 34, 58, 116, 114, 117, 101, 44, 34, 113, 117, 101, 117, 101, 95, 111, 110, 108, 121, 95, 109, 111, 100, 101, 34, 58, 102, 97, 108, 115, 101, 44, 34, 119, 105, 102, 105, 95, 98, 114, 111, 97, 100, 99, 97, 115, 116, 34, 58, 102, 97, 108, 115, 101, 44, 34, 104, 111, 115, 116, 95, 100, 101, 118, 105, 99, 101, 95, 105, 110, 102, 111, 34, 58, 123, 34, 100, 101, 118, 105, 99, 101, 95, 105, 100, 34, 58, 34, 55, 56, 55, 98, 49, 55, 48, 52, 53, 52, 48, 100, 100, 50, 57, 52, 50, 50, 56, 101, 51, 49, 48, 57, 53, 100, 51, 50, 102, 57, 101, 55, 102, 50, 56, 54, 101, 55, 48, 55, 34, 44, 34, 100, 101, 118, 105, 99, 101, 95, 110, 97, 109, 101, 34, 58, 34, 87, 101, 98, 32, 80, 108, 97, 121, 101, 114, 32, 40, 70, 105, 114, 101, 102, 111, 120, 41, 34, 44, 34, 100, 101, 118, 105, 99, 101, 95, 116, 121, 112, 101, 34, 58, 34, 67, 79, 77, 80, 85, 84, 69, 82, 34, 44, 34, 105, 115, 95, 103, 114, 111, 117, 112, 34, 58, 102, 97, 108, 115, 101, 125, 125, 44, 34, 114, 101, 97, 115, 111, 110, 34, 58, 34, 78, 69, 87, 95, 83, 69, 83, 83, 73, 79, 78, 34, 44, 34, 117, 112, 100, 97, 116, 101, 95, 115, 101, 115, 115, 105, 111, 110, 95, 109, 101, 109, 98, 101, 114, 115, 34, 58, 91, 123, 34, 106, 111, 105, 110, 101, 100, 95, 116, 105, 109, 101, 115, 116, 97, 109, 112, 34, 58, 34, 49, 55, 53, 56, 50, 55, 54, 53, 54, 51, 53, 49, 49, 34, 44, 34, 105, 100, 34, 58, 34, 51, 97, 50, 50, 97, 49, 56, 49, 98, 51, 48, 51, 102, 51, 53, 54, 50, 101, 49, 54, 56, 97, 102, 97, 97, 50, 49, 54, 51, 101, 98, 100, 34, 44, 34, 117, 115, 101, 114, 110, 97, 109, 101, 34, 58, 34, 112, 97, 117, 108, 102, 97, 114, 105, 101, 108, 108, 111, 34, 44, 34, 100, 105, 115, 112, 108, 97, 121, 95, 110, 97, 109, 101, 34, 58, 34, 80, 97, 117, 108, 32, 70, 97, 114, 105, 101, 108, 108, 111, 34, 44, 34, 105, 109, 97, 103, 101, 95, 117, 114, 108, 34, 58, 34, 104, 116, 116, 112, 115, 58, 47, 47, 105, 46, 115, 99, 100, 110, 46, 99, 111, 47, 105, 109, 97, 103, 101, 47, 97, 98, 54, 55, 55, 53, 55, 48, 48, 48, 48, 48, 51, 98, 56, 50, 101, 97, 51, 57, 57, 100, 57, 101, 99, 53, 48, 48, 102, 56, 52, 56, 53, 98, 101, 53, 56, 98, 56, 49, 34, 44, 34, 108, 97, 114, 103, 101, 95, 105, 109, 97, 103, 101, 95, 117, 114, 108, 34, 58, 34, 104, 116, 116, 112, 115, 58, 47, 47, 105, 46, 115, 99, 100, 110, 46, 99, 111, 47, 105, 109, 97, 103, 101, 47, 97, 98, 54, 55, 55, 53, 55, 48, 48, 48, 48, 48, 101, 101, 56, 53, 101, 97, 51, 57, 57, 100, 57, 101, 99, 53, 48, 48, 102, 56, 52, 56, 53, 98, 101, 53, 56, 98, 56, 49, 34, 44, 34, 105, 115, 95, 108, 105, 115, 116, 101, 110, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 105, 115, 95, 99, 111, 110, 116, 114, 111, 108, 108, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 112, 108, 97, 121, 98, 97, 99, 107, 67, 111, 110, 116, 114, 111, 108, 34, 58, 34, 76, 73, 83, 84, 69, 78, 95, 65, 78, 68, 95, 67, 79, 78, 84, 82, 79, 76, 34, 125, 93, 125]] } }
[2025-09-19T10:09:38Z TRACE librespot_core::session] Sending Pong
[2025-09-19T10:09:38Z TRACE librespot_core::session] keep-alive state: ExpectingPongAck, timeout in 20.0
[2025-09-19T10:09:38Z TRACE librespot_core::session] Received PongAck
[2025-09-19T10:09:38Z TRACE librespot_core::session] keep-alive state: ExpectingPing, timeout in 80.0
^C[2025-09-19T10:09:55Z INFO  librespot] Gracefully shutting down
[2025-09-19T10:09:55Z DEBUG librespot_discovery::server] Shutting down discovery server
[2025-09-19T10:09:55Z DEBUG librespot_discovery] Shutting down zeroconf responder
[2025-09-19T10:09:55Z DEBUG librespot_discovery] Zeroconf responder stopped
[2025-09-19T10:09:55Z DEBUG librespot_discovery::server] Discovery server stopped
^C[2025-09-19T10:09:57Z DEBUG librespot_core::session] drop Dispatch
[2025-09-19T10:09:57Z DEBUG librespot_connect::spirc] drop Spirc[1]
[2025-09-19T10:09:57Z DEBUG librespot_playback::player] Shutting down player thread ...
[2025-09-19T10:09:57Z DEBUG librespot_playback::player] drop PlayerInternal[0]
[2025-09-19T10:09:57Z DEBUG librespot_playback::player] PlayerInternal thread finished.
[2025-09-19T10:09:57Z DEBUG librespot_core::session] drop Session
[2025-09-19T10:09:57Z DEBUG librespot::component] drop ApResolver
[2025-09-19T10:09:57Z DEBUG librespot::component] drop MercuryManager
[2025-09-19T10:09:57Z DEBUG librespot::component] drop DealerManager
[2025-09-19T10:09:57Z DEBUG librespot::component] drop SpClient
[2025-09-19T10:09:57Z DEBUG librespot::component] drop Login5Manager

Host (what you are running librespot on):

  • OS: Linux
  • Platform: x86_64

Additional context

Digging into librespot, proxy isn't passed to core/src/dealer/mod.rs when called by core/src/dealer/manager.rs.

github.com/librespot-org/librespot@df5f957bdd/core/src/dealer/manager.rs (L159)

Testing the issue isn't reproductible with hard coded proxy:

diff --git a/core/src/dealer/manager.rs b/core/src/dealer/manager.rs
index 98ea026..0dad984 100644
--- a/core/src/dealer/manager.rs
+++ b/core/src/dealer/manager.rs
@@ -156,7 +156,7 @@ impl DealerManager {
         let dealer = self
             .lock(move |inner| inner.builder.take())
             .ok_or(DealerError::BuilderNotAvailable)?
-            .launch(get_url, None)
+            .launch(get_url, Some(Url::parse("http://127.0.0.1:3128")?))
             .await
             .map_err(DealerError::LaunchFailure)?;

I'm willing to help fix it but have currently 0 idea where this proxy should be passed from.

Originally created by @paulfariello on GitHub (Sep 19, 2025). Original GitHub issue: https://github.com/librespot-org/librespot/issues/1586 ### Look for similar bugs Please check if there's [already an issue](https://github.com/librespot-org/librespot/issues) for your problem. If you've only a "me too" comment to make, consider if a :+1: [reaction](https://github.blog/news-insights/product-news/add-reactions-to-pull-requests-issues-and-comments/) will suffice. ### Description Can't run librespot behind a proxy ### Version dev (df5f957bdd9a29801dd16f08cdc9abc580912da7) ### How to reproduce 1. Launch librespot with a proxy: target/release/librespot -v -c ~/.local/share/respot --enable-volume-normalisation --initial-volume 75 --device-type avr -x "http://127.0.0.1:3128" ### Log Main interesting point is: ``` [2025-09-19T10:08:37Z ERROR librespot_connect::spirc] starting dealer failed: Invalid state { Websocket couldn't be started because: Deadline expired before operation could complete { Connection timed out (os error 110) } } ``` Complete log here: ``` [2025-09-19T10:06:21Z INFO librespot] librespot 0.7.1 df5f957 (Built on 2025-09-19, Build ID: BFMyqqh7, Profile: release) [2025-09-19T10:06:21Z TRACE librespot] Command line argument(s): [2025-09-19T10:06:21Z TRACE librespot] v [2025-09-19T10:06:21Z TRACE librespot] c "/home/pfariello/.local/share/respot" [2025-09-19T10:06:21Z TRACE librespot] enable-volume-normalisation [2025-09-19T10:06:21Z TRACE librespot] initial-volume "75" [2025-09-19T10:06:21Z TRACE librespot] device-type "avr" [2025-09-19T10:06:21Z TRACE librespot] x "http://127.0.0.1:3128" [2025-09-19T10:06:21Z TRACE librespot] Using cached credentials. [2025-09-19T10:06:21Z DEBUG librespot_core::session] new Session [2025-09-19T10:06:21Z DEBUG librespot_discovery::server] Zeroconf server listening on 0.0.0.0:36721 [2025-09-19T10:06:21Z INFO librespot_playback::mixer::softmixer] Mixing with softvol and volume control: Log(60.0) [2025-09-19T10:06:21Z DEBUG librespot_playback::player] Normalisation Type: Auto [2025-09-19T10:06:21Z DEBUG librespot_playback::player] Normalisation Pregain: 0.0 dB [2025-09-19T10:06:21Z DEBUG librespot_playback::player] Normalisation Threshold: -2.0 dBFS [2025-09-19T10:06:21Z DEBUG librespot_playback::player] Normalisation Method: Dynamic [2025-09-19T10:06:21Z DEBUG librespot_playback::player] Normalisation Attack: 5 ms [2025-09-19T10:06:21Z DEBUG librespot_playback::player] Normalisation Release: 100 ms [2025-09-19T10:06:21Z DEBUG librespot_playback::player] Normalisation Knee: 5 dB [2025-09-19T10:06:21Z DEBUG librespot_playback::player] new Player [0] [2025-09-19T10:06:21Z INFO librespot_playback::convert] Converting with ditherer: tpdf [2025-09-19T10:06:21Z DEBUG librespot_connect::spirc] new Spirc[0] [2025-09-19T10:06:21Z INFO librespot_playback::audio_backend::rodio] Using Rodio sink with format S16 and cpal host: ALSA [2025-09-19T10:06:21Z INFO librespot_playback::audio_backend::rodio] Using audio device: default [2025-09-19T10:06:21Z DEBUG librespot::component] new DealerManager [2025-09-19T10:06:21Z DEBUG librespot::component] new SpClient [2025-09-19T10:06:21Z DEBUG librespot_core::spclient] Client token unavailable or expired, requesting new token. [2025-09-19T10:06:21Z DEBUG librespot_core::http_client] Requesting https://clienttoken.spotify.com/v1/clienttoken [2025-09-19T10:06:21Z DEBUG librespot_playback::audio_backend::rodio] Rodio sink was created [2025-09-19T10:06:21Z DEBUG librespot_core::spclient] Received a granted token [2025-09-19T10:06:21Z TRACE librespot_core::spclient] Got client token: GrantedTokenResponse { token: "AADQZSyMHAblPN6PSDeCdoOgMUXr/Rpc2Er2mOuyJ6PSoHmfWTgDdOcMLH5ZMGX2Kcf8VYV4I6pVUBbx9NsaY/sBQyNR22d1X6Qt91Qj3slkseN5c31D8JMEFoeXzeflrr2ectVoq7oWefC8ML17F+zTiRzs15vmL92tHoJQpFRbHLufEI3lHPis9buFmrrYf47hf6LW8tI/YACUlbT+vdg5DQ44wnVm6C/ysQqNH67eJ678O5NpfZgmEmuKpUkZSPobo/XH220xXsFNzu/srgMWCRPJAmqfCxGo3RsM", expires_after_seconds: 1216800, refresh_after_seconds: 1209600, domains: [TokenDomain { domain: "spotify.com", special_fields: SpecialFields { unknown_fields: UnknownFields { fields: None }, cached_size: CachedSize { size: 0 } } }, TokenDomain { domain: "spotify.net", special_fields: SpecialFields { unknown_fields: UnknownFields { fields: None }, cached_size: CachedSize { size: 0 } } }], special_fields: SpecialFields { unknown_fields: UnknownFields { fields: None }, cached_size: CachedSize { size: 0 } } } [2025-09-19T10:06:21Z DEBUG librespot::component] new ApResolver [2025-09-19T10:06:21Z DEBUG librespot_core::http_client] Requesting https://apresolve.spotify.com/?type=accesspoint&type=dealer&type=spclient [2025-09-19T10:06:22Z INFO librespot_core::session] Connecting to AP "ap-gew1.spotify.com:443" [2025-09-19T10:06:22Z INFO librespot_core::socket] Using proxy "http://127.0.0.1:3128/" [2025-09-19T10:06:22Z DEBUG librespot_core::connection] Connection to AP established. [2025-09-19T10:06:22Z DEBUG librespot_core::connection] Authenticating with AP using AUTHENTICATION_STORED_SPOTIFY_CREDENTIALS [2025-09-19T10:06:22Z INFO librespot_core::session] Authenticated as 'paulfariello' ! [2025-09-19T10:06:22Z DEBUG librespot::component] new Login5Manager [2025-09-19T10:06:22Z DEBUG librespot_core::http_client] Requesting https://login5.spotify.com/v3/login [2025-09-19T10:06:22Z TRACE librespot_core::session] Received Ping [2025-09-19T10:06:22Z TRACE librespot_core::session] keep-alive state: PendingPong, timeout in 60.0 [2025-09-19T10:06:22Z DEBUG librespot_core::session] Session strong=5 weak=6 [2025-09-19T10:06:22Z INFO librespot_core::session] Country: "FR" [2025-09-19T10:06:22Z TRACE librespot_core::session] Received product info: { "payments-locked-state": "0", "remote-control": "6", "name": "Spotify Premium", "offline": "1", "storage-size-config": "10240,90,500,3", "streaming": "1", "on-demand": "1", "player-license-v2": "premium", "publish-activity": "0", "video-keyframe-url": "http://keyframes-fa.cdn.spotify.com/keyframes/v1/sources/{source_id}/keyframe/heights/{height}/timestamps/{timestamp_ms}.jpg", "social-session-free-tier": "0", "type": "premium", "is-standalone-audiobooks": "0", "app-developer": "0", "streaming-only-premium": "0", "catalogue": "premium", "ad-formats-preroll-video": "0", "mobile-payment": "0", "obfuscate-restricted-tracks": "0", "restrict-playlist-collaboration": "0", "multiuserplan-current-size": "6", "send-email": "0", "setup-headphones-changes": "0", "enable-crossfade": "1", "user-profile-show-invitation-codes": "0", "video-device-blacklisted": "0", "widevine-license-url": "https://spclient.wg.spotify.com/widevine-license/v1/video/license", "loudness-levels": "1:-5.0,0.0,3.0:-2.0", "metadata-link-lookup-modes": "0", "payments-initial-campaign": "default", "prefetch-strategy": "18", "network-operator-premium-activation": "1", "ab-watch-now": "0", "video-cdn-sampling": "100", "libspotify": "1", "filter-explicit-content": "0", "playlist-annotations-markup": "0", "shuffle-algorithm": "FRESH", "incognito_mode_timeout": "21600", "ab_recently_played_feature_time_filter_threshold": "com.spotify.gaia=30,driving-mode=120,spotify%3Ainternal%3Astartpage=30", "pick-and-shuffle": "0", "preferred-locale": "fr", "publish-playlist": "0", "collection": "1", "arsenal_country": "1", "head-files-url": "https://heads-fa-tls13.spotifycdn.com/head/{file_id}", "audio-preview-url-template": "https://p.scdn.co/mp3-preview/{id}", "public-toplist": "5", "financial-product": "pr:premium,tc:0,rt:v2_FR_default_new-family-master-1m_21.24_EUR_default", "head-file-caching": "1", "enable-annotations": "2", "apply-child-content-restrictions": "0", "employee-free-opt-in": "0", "rating-access": "1", "ugc-abuse-report-url": "https://support.spotify.com/abuse/?uri={uri}", "mobile": "1", "yl-kids-restricted-content": "0", "prefetch-window-max": "2", "dma-mode-available": "1", "has-audiobooks-subscription": "1", "is-puffin": "0", "prefetch-keys": "1", "social-session": "1", "explicit-content": "1", "nft-disabled": "1", "autoplay": "1", "browse-overview-enabled": "1", "dsa-mode-available": "1", "key-memory-cache-mode": "1:15,300", "license-acceptance-grace-days": "30", "unrestricted": "1", "audiobook-onboarding-completed": "0", "ad-session-persistence": "1", "enable-annotations-read": "0", "key-caching-max-count": "10000", "shuffle": "0", "sidebar-navigation-enabled": "0", "ugc-abuse-report": "1", "video-manifest-url": "https://spclient.wg.spotify.com/manifests/v6/{type}/sources/{source_id}/options/supports_drm", "audio-quality": "1", "shows-collection-jam": "0", "music-videos": "1", "high-bitrate": "1", "image-url": "https://i.scdn.co/image/{file_id}", "dsa-mode-enabled": "0", "dma-mode-enabled": "0", "is-pigeon": "0", "is-tuna": "0", "multiuserplan-member-type": "FAMILY_MANAGER", "shows-collection": "1", "on-demand-trial-in-progress": "0", "player-license": "premium", "jam": "1", "key-caching-max-offline-seconds": "1800", "capping-bar-threshold": "3601", "is-cheetara": "0", "ab-ad-player-targeting": "1", "ads": "0", "is_email_verified": "1", "radio": "1", "key-caching-auto-offline": "0", } [2025-09-19T10:06:22Z DEBUG librespot::component] new MercuryManager [2025-09-19T10:06:22Z TRACE librespot_core::mercury] mercury response <hm://pusher/v1/connections/N2MyOGFiOGE1Yzk1MTJlNDI2NmFjN2NiNzU2MzEyYzgyZWU0M2Q3ZStBUCt0Y3A6Ly8wYWNhNDA5Zi5pcC5nZXcxLnNwb3RpZnkubmV0OjUwMjcrRUM2RkVBMzkxNTNDODk5Qjc0Q0YwMjU5ODlDMDE1RjBDMjRDN0M5QTcwMTQwQjU2Q0Q5Njc1NDE2MUIyQzMxRg%3D%3D> is handled by dealer [2025-09-19T10:06:22Z TRACE librespot_core::login5] Got auth token: Token { access_token: "BQBrn7wENLSE0cp7_BSxQ6bOrBagZ67nmJ4G5DZ_RrbevsL3sU6B8QGInynVy6Fp-y15jSzUT8jEEj-nNULYYVkHM7SDGgnLddfcXTZ-J8dao9yBezfo_US8ANTRm2zQKEyqbr2WnRN5-03EM7WIHkxDKLFUGpTU0h2b_4cN4gFyYIkISDIujtvx-dO421lymsQ0Mh1gOed7rGC6W2vYeZo_gNW5OcrFewXJcTVoqW5FUZV1aoH522Rt96YXgFb2_ZSaWxYJkptNRUK7w9gCG-zz52KHfdMueMGnyylimUJPPJ_ylxtpnEdLvl2_ywQd9sY8AVHnQ95b47QcKOKfdUyCTjAwNCQtFJILzvklTDEL3PPy-C_ASpKCluQoR73in3kSQDLXqSb6rFyr", expires_in: 3600s, token_type: "Bearer", scopes: [], timestamp: Instant { tv_sec: 414803, tv_nsec: 115152299 } } [2025-09-19T10:06:22Z DEBUG librespot_connect::spirc] SpircTask::set_volume(49151) [2025-09-19T10:06:22Z DEBUG librespot_playback::player] command=AddEventSender [2025-09-19T10:06:22Z DEBUG librespot_playback::mixer::mappings] Input volume 49151 mapped to: 17.78% [2025-09-19T10:06:22Z DEBUG librespot_core::dealer::manager] Launching dealer [2025-09-19T10:07:22Z TRACE librespot_core::session] Sending Pong [2025-09-19T10:07:22Z TRACE librespot_core::session] keep-alive state: ExpectingPongAck, timeout in 20.0 [2025-09-19T10:07:22Z TRACE librespot_core::session] Received PongAck [2025-09-19T10:07:22Z TRACE librespot_core::session] keep-alive state: ExpectingPing, timeout in 80.0 [2025-09-19T10:08:22Z TRACE librespot_core::session] Received Ping [2025-09-19T10:08:22Z TRACE librespot_core::session] keep-alive state: PendingPong, timeout in 60.0 [2025-09-19T10:08:22Z DEBUG librespot_core::session] Session strong=6 weak=7 [2025-09-19T10:08:28Z DEBUG librespot_core::mercury] unknown subscription uri=social-connect/v2/broadcast_status_update [2025-09-19T10:08:28Z TRACE librespot_core::mercury] response pushed over Mercury: MercuryResponse { uri: "social-connect/v2/broadcast_status_update", status_code: 200, payload: [[123, 34, 100, 101, 118, 105, 99, 101, 66, 114, 111, 97, 100, 99, 97, 115, 116, 83, 116, 97, 116, 117, 115, 34, 58, 123, 34, 116, 105, 109, 101, 115, 116, 97, 109, 112, 34, 58, 34, 49, 55, 53, 56, 50, 55, 54, 53, 48, 56, 57, 50, 57, 34, 44, 34, 98, 114, 111, 97, 100, 99, 97, 115, 116, 95, 115, 116, 97, 116, 117, 115, 34, 58, 34, 66, 82, 79, 65, 68, 67, 65, 83, 84, 95, 85, 78, 65, 86, 65, 73, 76, 65, 66, 76, 69, 34, 44, 34, 100, 101, 118, 105, 99, 101, 95, 105, 100, 34, 58, 34, 55, 56, 55, 98, 49, 55, 48, 52, 53, 52, 48, 100, 100, 50, 57, 52, 50, 50, 56, 101, 51, 49, 48, 57, 53, 100, 51, 50, 102, 57, 101, 55, 102, 50, 56, 54, 101, 55, 48, 55, 34, 125, 125]] } [2025-09-19T10:08:28Z DEBUG librespot_core::session] could not dispatch command: Service unavailable { error handling Mercury response: MercuryResponse { uri: "social-connect/v2/broadcast_status_update", status_code: 200, payload: [[123, 34, 100, 101, 118, 105, 99, 101, 66, 114, 111, 97, 100, 99, 97, 115, 116, 83, 116, 97, 116, 117, 115, 34, 58, 123, 34, 116, 105, 109, 101, 115, 116, 97, 109, 112, 34, 58, 34, 49, 55, 53, 56, 50, 55, 54, 53, 48, 56, 57, 50, 57, 34, 44, 34, 98, 114, 111, 97, 100, 99, 97, 115, 116, 95, 115, 116, 97, 116, 117, 115, 34, 58, 34, 66, 82, 79, 65, 68, 67, 65, 83, 84, 95, 85, 78, 65, 86, 65, 73, 76, 65, 66, 76, 69, 34, 44, 34, 100, 101, 118, 105, 99, 101, 95, 105, 100, 34, 58, 34, 55, 56, 55, 98, 49, 55, 48, 52, 53, 52, 48, 100, 100, 50, 57, 52, 50, 50, 56, 101, 51, 49, 48, 57, 53, 100, 51, 50, 102, 57, 101, 55, 102, 50, 56, 54, 101, 55, 48, 55, 34, 125, 125]] } } [2025-09-19T10:08:37Z ERROR librespot_connect::spirc] starting dealer failed: Invalid state { Websocket couldn't be started because: Deadline expired before operation could complete { Connection timed out (os error 110) } } [2025-09-19T10:08:37Z DEBUG librespot_connect::spirc] drop Spirc[0] [2025-09-19T10:08:37Z WARN librespot] Spirc shut down unexpectedly [2025-09-19T10:08:37Z DEBUG librespot_core::session] Shutdown: Invalidating session [2025-09-19T10:08:37Z DEBUG librespot::component] new ChannelManager [2025-09-19T10:08:37Z DEBUG librespot_core::session] new Session [2025-09-19T10:08:37Z DEBUG librespot_connect::spirc] new Spirc[1] [2025-09-19T10:08:37Z DEBUG librespot::component] new DealerManager [2025-09-19T10:08:37Z DEBUG librespot_playback::player] command=SetSession [2025-09-19T10:08:37Z DEBUG librespot_core::session] drop Session [2025-09-19T10:08:37Z DEBUG librespot::component] new SpClient [2025-09-19T10:08:37Z DEBUG librespot_core::spclient] Client token unavailable or expired, requesting new token. [2025-09-19T10:08:37Z DEBUG librespot_core::http_client] Requesting https://clienttoken.spotify.com/v1/clienttoken [2025-09-19T10:08:37Z DEBUG librespot::component] drop ApResolver [2025-09-19T10:08:37Z DEBUG librespot::component] drop ChannelManager [2025-09-19T10:08:37Z DEBUG librespot::component] drop MercuryManager [2025-09-19T10:08:37Z DEBUG librespot::component] drop DealerManager [2025-09-19T10:08:37Z DEBUG librespot::component] drop SpClient [2025-09-19T10:08:37Z DEBUG librespot::component] drop Login5Manager [2025-09-19T10:08:37Z DEBUG librespot_core::session] drop Dispatch [2025-09-19T10:08:37Z DEBUG librespot_core::spclient] Received a granted token [2025-09-19T10:08:37Z TRACE librespot_core::spclient] Got client token: GrantedTokenResponse { token: "AAC1iEHTnxAdRMscBO960gu2josthk3S+CYRN7Q0n0LtW5K8PXmD8aUvyj5slraLWIy9y+U7x4Lm76A2brlE6hwBMootV0P+9JBrM75aCPb9P6o2v25LMhr2s7w9zMboqQhuoIqHOEvRWnF88hSKpuFZ5CWtYeFVRC6RqMHJCQcdKgILLgzLvmGOyTu0/KZpuBT9pJ7rqVuyiUxgpAOMDOUe4h56yCmp6XRD7JJS3JZvbzTQKTc1G7G5jq7D0d3pEt7FhpD4jICSqeL6mgh6arun+KzjSintrBjTaN5n", expires_after_seconds: 1216800, refresh_after_seconds: 1209600, domains: [TokenDomain { domain: "spotify.com", special_fields: SpecialFields { unknown_fields: UnknownFields { fields: None }, cached_size: CachedSize { size: 0 } } }, TokenDomain { domain: "spotify.net", special_fields: SpecialFields { unknown_fields: UnknownFields { fields: None }, cached_size: CachedSize { size: 0 } } }], special_fields: SpecialFields { unknown_fields: UnknownFields { fields: None }, cached_size: CachedSize { size: 0 } } } [2025-09-19T10:08:37Z DEBUG librespot::component] new ApResolver [2025-09-19T10:08:37Z DEBUG librespot_core::http_client] Requesting https://apresolve.spotify.com/?type=accesspoint&type=dealer&type=spclient [2025-09-19T10:08:38Z INFO librespot_core::session] Connecting to AP "ap-gew1.spotify.com:443" [2025-09-19T10:08:38Z INFO librespot_core::socket] Using proxy "http://127.0.0.1:3128/" [2025-09-19T10:08:38Z DEBUG librespot_core::connection] Connection to AP established. [2025-09-19T10:08:38Z DEBUG librespot_core::connection] Authenticating with AP using AUTHENTICATION_STORED_SPOTIFY_CREDENTIALS [2025-09-19T10:08:38Z INFO librespot_core::session] Authenticated as 'paulfariello' ! [2025-09-19T10:08:38Z DEBUG librespot::component] new Login5Manager [2025-09-19T10:08:38Z DEBUG librespot_core::http_client] Requesting https://login5.spotify.com/v3/login [2025-09-19T10:08:38Z TRACE librespot_core::session] Received Ping [2025-09-19T10:08:38Z TRACE librespot_core::session] keep-alive state: PendingPong, timeout in 60.0 [2025-09-19T10:08:38Z DEBUG librespot_core::session] Session strong=5 weak=6 [2025-09-19T10:08:38Z INFO librespot_core::session] Country: "FR" [2025-09-19T10:08:38Z TRACE librespot_core::session] Received product info: { "loudness-levels": "1:-5.0,0.0,3.0:-2.0", "shows-collection-jam": "0", "social-session": "1", "capping-bar-threshold": "3601", "prefetch-keys": "1", "ugc-abuse-report-url": "https://support.spotify.com/abuse/?uri={uri}", "audio-preview-url-template": "https://p.scdn.co/mp3-preview/{id}", "video-device-blacklisted": "0", "publish-activity": "0", "ad-formats-preroll-video": "0", "enable-crossfade": "1", "audio-quality": "1", "key-caching-max-offline-seconds": "1800", "key-memory-cache-mode": "1:15,300", "financial-product": "pr:premium,tc:0,rt:v2_FR_default_new-family-master-1m_21.24_EUR_default", "streaming": "1", "storage-size-config": "10240,90,500,3", "widevine-license-url": "https://spclient.wg.spotify.com/widevine-license/v1/video/license", "collection": "1", "sidebar-navigation-enabled": "0", "ugc-abuse-report": "1", "dsa-mode-available": "1", "is-pigeon": "0", "app-developer": "0", "mobile-payment": "0", "video-cdn-sampling": "100", "ads": "0", "high-bitrate": "1", "mobile": "1", "on-demand": "1", "is_email_verified": "1", "shuffle": "0", "offline": "1", "video-keyframe-url": "http://keyframes-fa.cdn.spotify.com/keyframes/v1/sources/{source_id}/keyframe/heights/{height}/timestamps/{timestamp_ms}.jpg", "type": "premium", "metadata-link-lookup-modes": "0", "player-license": "premium", "ab_recently_played_feature_time_filter_threshold": "com.spotify.gaia=30,driving-mode=120,spotify%3Ainternal%3Astartpage=30", "employee-free-opt-in": "0", "restrict-playlist-collaboration": "0", "setup-headphones-changes": "0", "music-videos": "1", "ab-ad-player-targeting": "1", "apply-child-content-restrictions": "0", "unrestricted": "1", "obfuscate-restricted-tracks": "0", "player-license-v2": "premium", "arsenal_country": "1", "social-session-free-tier": "0", "jam": "1", "multiuserplan-current-size": "6", "is-tuna": "0", "payments-initial-campaign": "default", "image-url": "https://i.scdn.co/image/{file_id}", "head-file-caching": "1", "name": "Spotify Premium", "dma-mode-enabled": "0", "dsa-mode-enabled": "0", "dma-mode-available": "1", "nft-disabled": "1", "payments-locked-state": "0", "preferred-locale": "fr", "public-toplist": "5", "rating-access": "1", "video-manifest-url": "https://spclient.wg.spotify.com/manifests/v6/{type}/sources/{source_id}/options/supports_drm", "yl-kids-restricted-content": "0", "enable-annotations": "2", "playlist-annotations-markup": "0", "remote-control": "6", "publish-playlist": "0", "radio": "1", "streaming-only-premium": "0", "autoplay": "1", "prefetch-strategy": "18", "enable-annotations-read": "0", "key-caching-max-count": "10000", "explicit-content": "1", "is-cheetara": "0", "network-operator-premium-activation": "1", "head-files-url": "https://heads-fa-tls13.spotifycdn.com/head/{file_id}", "key-caching-auto-offline": "0", "libspotify": "1", "browse-overview-enabled": "1", "audiobook-onboarding-completed": "0", "multiuserplan-member-type": "FAMILY_MANAGER", "send-email": "0", "shuffle-algorithm": "FRESH", "user-profile-show-invitation-codes": "0", "pick-and-shuffle": "0", "ab-watch-now": "0", "incognito_mode_timeout": "21600", "is-puffin": "0", "prefetch-window-max": "2", "is-standalone-audiobooks": "0", "filter-explicit-content": "0", "has-audiobooks-subscription": "1", "on-demand-trial-in-progress": "0", "ad-session-persistence": "1", "catalogue": "premium", "shows-collection": "1", "license-acceptance-grace-days": "30", } [2025-09-19T10:08:38Z DEBUG librespot::component] new MercuryManager [2025-09-19T10:08:38Z TRACE librespot_core::mercury] mercury response <hm://pusher/v1/connections/N2MyOGFiOGE1Yzk1MTJlNDI2NmFjN2NiNzU2MzEyYzgyZWU0M2Q3ZStBUCt0Y3A6Ly8wYWNhNDE3Mi5pcC5nZXcxLnNwb3RpZnkubmV0OjUwMTgrMTMxNkU3MkQ5M0U1QTZFMTkwRjczNjc5MTdBQzRBOTFFRjI1NjdGODNFQkY3RjI5MERDODA4OERDQTFFQTk5OA%3D%3D> is handled by dealer [2025-09-19T10:08:38Z TRACE librespot_core::login5] Got auth token: Token { access_token: "BQADPad1qahu6jnp-oxMgfWmBkxI12FHxf5a4gsMpwPxNXhAWvfcn6w6CpDbbM9zssY_jeIyyMHE36ZLJ4UKyf_ex089wS-QSL86cmEA6jQvil0kITU3LtzisR9Jdv88YAFGw1Vb0eRWZ0LaxVUNA8D7JVUxK0WTI2-Pb27e_Zkp1OkQ0ZPtto3q0GPPSIG_vbDnpKvldGa3-MVj7UvlVF7ygIY8r3Dzx4z5yxMKHALDR55OyozAXETL6rq6JSY1MIyAv8mrLaxgwKX7BlhLeBkv8oAgRAcAPrA46hvTiMGFmGm2s8jn5M4tuoDmBN9sJ7Jwg1vDEvMtzLNPtMTDh_zaM3rNvOHMilcyr-Odl2pUFJkRSrcB8Mx5ctgPoqf-ONhl_HG_WtY98G30", expires_in: 3600s, token_type: "Bearer", scopes: [], timestamp: Instant { tv_sec: 414939, tv_nsec: 76365115 } } [2025-09-19T10:08:38Z DEBUG librespot_connect::spirc] SpircTask::set_volume(49151) [2025-09-19T10:08:38Z DEBUG librespot_playback::mixer::mappings] Input volume 49151 mapped to: 17.78% [2025-09-19T10:08:38Z DEBUG librespot_playback::player] command=AddEventSender [2025-09-19T10:08:38Z DEBUG librespot_core::dealer::manager] Launching dealer [2025-09-19T10:09:13Z DEBUG librespot_core::mercury] unknown subscription uri=hm://collection/collection/paulfariello/json [2025-09-19T10:09:13Z TRACE librespot_core::mercury] response pushed over Mercury: MercuryResponse { uri: "hm://collection/collection/paulfariello/json", status_code: 200, payload: [[123, 34, 105, 116, 101, 109, 115, 34, 58, 91, 123, 34, 116, 121, 112, 101, 34, 58, 34, 116, 114, 97, 99, 107, 34, 44, 34, 117, 110, 104, 101, 97, 114, 100, 34, 58, 102, 97, 108, 115, 101, 44, 34, 97, 100, 100, 101, 100, 65, 116, 34, 58, 49, 55, 53, 56, 50, 55, 54, 53, 53, 51, 44, 34, 114, 101, 109, 111, 118, 101, 100, 34, 58, 102, 97, 108, 115, 101, 44, 34, 105, 100, 101, 110, 116, 105, 102, 105, 101, 114, 34, 58, 34, 55, 110, 86, 110, 103, 102, 111, 120, 54, 75, 100, 85, 75, 55, 103, 85, 80, 56, 48, 99, 86, 122, 34, 125, 93, 125]] } [2025-09-19T10:09:13Z DEBUG librespot_core::session] could not dispatch command: Service unavailable { error handling Mercury response: MercuryResponse { uri: "hm://collection/collection/paulfariello/json", status_code: 200, payload: [[123, 34, 105, 116, 101, 109, 115, 34, 58, 91, 123, 34, 116, 121, 112, 101, 34, 58, 34, 116, 114, 97, 99, 107, 34, 44, 34, 117, 110, 104, 101, 97, 114, 100, 34, 58, 102, 97, 108, 115, 101, 44, 34, 97, 100, 100, 101, 100, 65, 116, 34, 58, 49, 55, 53, 56, 50, 55, 54, 53, 53, 51, 44, 34, 114, 101, 109, 111, 118, 101, 100, 34, 58, 102, 97, 108, 115, 101, 44, 34, 105, 100, 101, 110, 116, 105, 102, 105, 101, 114, 34, 58, 34, 55, 110, 86, 110, 103, 102, 111, 120, 54, 75, 100, 85, 75, 55, 103, 85, 80, 56, 48, 99, 86, 122, 34, 125, 93, 125]] } } [2025-09-19T10:09:13Z DEBUG librespot_core::mercury] unknown subscription uri=hm://collection/collection/paulfariello [2025-09-19T10:09:13Z TRACE librespot_core::mercury] response pushed over Mercury: MercuryResponse { uri: "hm://collection/collection/paulfariello", status_code: 200, payload: [[10, 28, 8, 0, 18, 16, 242, 173, 95, 179, 161, 42, 79, 25, 181, 234, 99, 76, 37, 231, 1, 65, 40, 201, 215, 180, 198, 6, 48, 0]] } [2025-09-19T10:09:13Z DEBUG librespot_core::session] could not dispatch command: Service unavailable { error handling Mercury response: MercuryResponse { uri: "hm://collection/collection/paulfariello", status_code: 200, payload: [[10, 28, 8, 0, 18, 16, 242, 173, 95, 179, 161, 42, 79, 25, 181, 234, 99, 76, 37, 231, 1, 65, 40, 201, 215, 180, 198, 6, 48, 0]] } } [2025-09-19T10:09:23Z DEBUG librespot_core::mercury] unknown subscription uri=social-connect/v2/session_update [2025-09-19T10:09:23Z TRACE librespot_core::mercury] response pushed over Mercury: MercuryResponse { uri: "social-connect/v2/session_update", status_code: 200, payload: [[123, 34, 115, 101, 115, 115, 105, 111, 110, 34, 58, 123, 34, 116, 105, 109, 101, 115, 116, 97, 109, 112, 34, 58, 34, 49, 55, 53, 56, 50, 55, 54, 53, 54, 51, 53, 49, 55, 34, 44, 34, 115, 101, 115, 115, 105, 111, 110, 95, 105, 100, 34, 58, 34, 52, 52, 98, 97, 102, 99, 52, 56, 56, 54, 101, 100, 57, 48, 98, 101, 55, 98, 51, 55, 99, 54, 52, 99, 50, 48, 57, 53, 48, 99, 102, 101, 34, 44, 34, 106, 111, 105, 110, 95, 115, 101, 115, 115, 105, 111, 110, 95, 116, 111, 107, 101, 110, 34, 58, 34, 50, 53, 71, 86, 73, 57, 48, 67, 77, 85, 87, 83, 112, 119, 113, 68, 85, 99, 107, 122, 118, 103, 34, 44, 34, 106, 111, 105, 110, 95, 115, 101, 115, 115, 105, 111, 110, 95, 117, 114, 108, 34, 58, 34, 104, 109, 58, 47, 47, 115, 111, 99, 105, 97, 108, 45, 99, 111, 110, 110, 101, 99, 116, 47, 118, 50, 47, 115, 101, 115, 115, 105, 111, 110, 115, 47, 106, 111, 105, 110, 47, 50, 53, 71, 86, 73, 57, 48, 67, 77, 85, 87, 83, 112, 119, 113, 68, 85, 99, 107, 122, 118, 103, 34, 44, 34, 115, 101, 115, 115, 105, 111, 110, 95, 111, 119, 110, 101, 114, 95, 105, 100, 34, 58, 34, 51, 97, 50, 50, 97, 49, 56, 49, 98, 51, 48, 51, 102, 51, 53, 54, 50, 101, 49, 54, 56, 97, 102, 97, 97, 50, 49, 54, 51, 101, 98, 100, 34, 44, 34, 115, 101, 115, 115, 105, 111, 110, 95, 109, 101, 109, 98, 101, 114, 115, 34, 58, 91, 123, 34, 106, 111, 105, 110, 101, 100, 95, 116, 105, 109, 101, 115, 116, 97, 109, 112, 34, 58, 34, 49, 55, 53, 56, 50, 55, 54, 53, 54, 51, 53, 49, 49, 34, 44, 34, 105, 100, 34, 58, 34, 51, 97, 50, 50, 97, 49, 56, 49, 98, 51, 48, 51, 102, 51, 53, 54, 50, 101, 49, 54, 56, 97, 102, 97, 97, 50, 49, 54, 51, 101, 98, 100, 34, 44, 34, 117, 115, 101, 114, 110, 97, 109, 101, 34, 58, 34, 112, 97, 117, 108, 102, 97, 114, 105, 101, 108, 108, 111, 34, 44, 34, 100, 105, 115, 112, 108, 97, 121, 95, 110, 97, 109, 101, 34, 58, 34, 80, 97, 117, 108, 32, 70, 97, 114, 105, 101, 108, 108, 111, 34, 44, 34, 105, 109, 97, 103, 101, 95, 117, 114, 108, 34, 58, 34, 104, 116, 116, 112, 115, 58, 47, 47, 105, 46, 115, 99, 100, 110, 46, 99, 111, 47, 105, 109, 97, 103, 101, 47, 97, 98, 54, 55, 55, 53, 55, 48, 48, 48, 48, 48, 51, 98, 56, 50, 101, 97, 51, 57, 57, 100, 57, 101, 99, 53, 48, 48, 102, 56, 52, 56, 53, 98, 101, 53, 56, 98, 56, 49, 34, 44, 34, 108, 97, 114, 103, 101, 95, 105, 109, 97, 103, 101, 95, 117, 114, 108, 34, 58, 34, 104, 116, 116, 112, 115, 58, 47, 47, 105, 46, 115, 99, 100, 110, 46, 99, 111, 47, 105, 109, 97, 103, 101, 47, 97, 98, 54, 55, 55, 53, 55, 48, 48, 48, 48, 48, 101, 101, 56, 53, 101, 97, 51, 57, 57, 100, 57, 101, 99, 53, 48, 48, 102, 56, 52, 56, 53, 98, 101, 53, 56, 98, 56, 49, 34, 44, 34, 105, 115, 95, 108, 105, 115, 116, 101, 110, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 105, 115, 95, 99, 111, 110, 116, 114, 111, 108, 108, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 112, 108, 97, 121, 98, 97, 99, 107, 67, 111, 110, 116, 114, 111, 108, 34, 58, 34, 76, 73, 83, 84, 69, 78, 95, 65, 78, 68, 95, 67, 79, 78, 84, 82, 79, 76, 34, 44, 34, 105, 115, 95, 99, 117, 114, 114, 101, 110, 116, 95, 117, 115, 101, 114, 34, 58, 116, 114, 117, 101, 125, 93, 44, 34, 106, 111, 105, 110, 95, 115, 101, 115, 115, 105, 111, 110, 95, 117, 114, 105, 34, 58, 34, 115, 112, 111, 116, 105, 102, 121, 58, 115, 111, 99, 105, 97, 108, 115, 101, 115, 115, 105, 111, 110, 58, 50, 53, 71, 86, 73, 57, 48, 67, 77, 85, 87, 83, 112, 119, 113, 68, 85, 99, 107, 122, 118, 103, 34, 44, 34, 105, 115, 95, 115, 101, 115, 115, 105, 111, 110, 95, 111, 119, 110, 101, 114, 34, 58, 116, 114, 117, 101, 44, 34, 105, 115, 95, 108, 105, 115, 116, 101, 110, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 105, 115, 95, 99, 111, 110, 116, 114, 111, 108, 108, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 105, 110, 105, 116, 105, 97, 108, 83, 101, 115, 115, 105, 111, 110, 84, 121, 112, 101, 34, 58, 34, 73, 78, 95, 80, 69, 82, 83, 79, 78, 34, 44, 34, 104, 111, 115, 116, 65, 99, 116, 105, 118, 101, 68, 101, 118, 105, 99, 101, 73, 100, 34, 58, 34, 55, 56, 55, 98, 49, 55, 48, 52, 53, 52, 48, 100, 100, 50, 57, 52, 50, 50, 56, 101, 51, 49, 48, 57, 53, 100, 51, 50, 102, 57, 101, 55, 102, 50, 56, 54, 101, 55, 48, 55, 34, 44, 34, 109, 97, 120, 77, 101, 109, 98, 101, 114, 67, 111, 117, 110, 116, 34, 58, 51, 50, 44, 34, 97, 99, 116, 105, 118, 101, 34, 58, 116, 114, 117, 101, 44, 34, 113, 117, 101, 117, 101, 95, 111, 110, 108, 121, 95, 109, 111, 100, 101, 34, 58, 102, 97, 108, 115, 101, 44, 34, 119, 105, 102, 105, 95, 98, 114, 111, 97, 100, 99, 97, 115, 116, 34, 58, 102, 97, 108, 115, 101, 44, 34, 104, 111, 115, 116, 95, 100, 101, 118, 105, 99, 101, 95, 105, 110, 102, 111, 34, 58, 123, 34, 100, 101, 118, 105, 99, 101, 95, 105, 100, 34, 58, 34, 55, 56, 55, 98, 49, 55, 48, 52, 53, 52, 48, 100, 100, 50, 57, 52, 50, 50, 56, 101, 51, 49, 48, 57, 53, 100, 51, 50, 102, 57, 101, 55, 102, 50, 56, 54, 101, 55, 48, 55, 34, 44, 34, 100, 101, 118, 105, 99, 101, 95, 110, 97, 109, 101, 34, 58, 34, 87, 101, 98, 32, 80, 108, 97, 121, 101, 114, 32, 40, 70, 105, 114, 101, 102, 111, 120, 41, 34, 44, 34, 100, 101, 118, 105, 99, 101, 95, 116, 121, 112, 101, 34, 58, 34, 67, 79, 77, 80, 85, 84, 69, 82, 34, 44, 34, 105, 115, 95, 103, 114, 111, 117, 112, 34, 58, 102, 97, 108, 115, 101, 125, 125, 44, 34, 114, 101, 97, 115, 111, 110, 34, 58, 34, 78, 69, 87, 95, 83, 69, 83, 83, 73, 79, 78, 34, 44, 34, 117, 112, 100, 97, 116, 101, 95, 115, 101, 115, 115, 105, 111, 110, 95, 109, 101, 109, 98, 101, 114, 115, 34, 58, 91, 123, 34, 106, 111, 105, 110, 101, 100, 95, 116, 105, 109, 101, 115, 116, 97, 109, 112, 34, 58, 34, 49, 55, 53, 56, 50, 55, 54, 53, 54, 51, 53, 49, 49, 34, 44, 34, 105, 100, 34, 58, 34, 51, 97, 50, 50, 97, 49, 56, 49, 98, 51, 48, 51, 102, 51, 53, 54, 50, 101, 49, 54, 56, 97, 102, 97, 97, 50, 49, 54, 51, 101, 98, 100, 34, 44, 34, 117, 115, 101, 114, 110, 97, 109, 101, 34, 58, 34, 112, 97, 117, 108, 102, 97, 114, 105, 101, 108, 108, 111, 34, 44, 34, 100, 105, 115, 112, 108, 97, 121, 95, 110, 97, 109, 101, 34, 58, 34, 80, 97, 117, 108, 32, 70, 97, 114, 105, 101, 108, 108, 111, 34, 44, 34, 105, 109, 97, 103, 101, 95, 117, 114, 108, 34, 58, 34, 104, 116, 116, 112, 115, 58, 47, 47, 105, 46, 115, 99, 100, 110, 46, 99, 111, 47, 105, 109, 97, 103, 101, 47, 97, 98, 54, 55, 55, 53, 55, 48, 48, 48, 48, 48, 51, 98, 56, 50, 101, 97, 51, 57, 57, 100, 57, 101, 99, 53, 48, 48, 102, 56, 52, 56, 53, 98, 101, 53, 56, 98, 56, 49, 34, 44, 34, 108, 97, 114, 103, 101, 95, 105, 109, 97, 103, 101, 95, 117, 114, 108, 34, 58, 34, 104, 116, 116, 112, 115, 58, 47, 47, 105, 46, 115, 99, 100, 110, 46, 99, 111, 47, 105, 109, 97, 103, 101, 47, 97, 98, 54, 55, 55, 53, 55, 48, 48, 48, 48, 48, 101, 101, 56, 53, 101, 97, 51, 57, 57, 100, 57, 101, 99, 53, 48, 48, 102, 56, 52, 56, 53, 98, 101, 53, 56, 98, 56, 49, 34, 44, 34, 105, 115, 95, 108, 105, 115, 116, 101, 110, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 105, 115, 95, 99, 111, 110, 116, 114, 111, 108, 108, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 112, 108, 97, 121, 98, 97, 99, 107, 67, 111, 110, 116, 114, 111, 108, 34, 58, 34, 76, 73, 83, 84, 69, 78, 95, 65, 78, 68, 95, 67, 79, 78, 84, 82, 79, 76, 34, 125, 93, 125]] } [2025-09-19T10:09:23Z DEBUG librespot_core::session] could not dispatch command: Service unavailable { error handling Mercury response: MercuryResponse { uri: "social-connect/v2/session_update", status_code: 200, payload: [[123, 34, 115, 101, 115, 115, 105, 111, 110, 34, 58, 123, 34, 116, 105, 109, 101, 115, 116, 97, 109, 112, 34, 58, 34, 49, 55, 53, 56, 50, 55, 54, 53, 54, 51, 53, 49, 55, 34, 44, 34, 115, 101, 115, 115, 105, 111, 110, 95, 105, 100, 34, 58, 34, 52, 52, 98, 97, 102, 99, 52, 56, 56, 54, 101, 100, 57, 48, 98, 101, 55, 98, 51, 55, 99, 54, 52, 99, 50, 48, 57, 53, 48, 99, 102, 101, 34, 44, 34, 106, 111, 105, 110, 95, 115, 101, 115, 115, 105, 111, 110, 95, 116, 111, 107, 101, 110, 34, 58, 34, 50, 53, 71, 86, 73, 57, 48, 67, 77, 85, 87, 83, 112, 119, 113, 68, 85, 99, 107, 122, 118, 103, 34, 44, 34, 106, 111, 105, 110, 95, 115, 101, 115, 115, 105, 111, 110, 95, 117, 114, 108, 34, 58, 34, 104, 109, 58, 47, 47, 115, 111, 99, 105, 97, 108, 45, 99, 111, 110, 110, 101, 99, 116, 47, 118, 50, 47, 115, 101, 115, 115, 105, 111, 110, 115, 47, 106, 111, 105, 110, 47, 50, 53, 71, 86, 73, 57, 48, 67, 77, 85, 87, 83, 112, 119, 113, 68, 85, 99, 107, 122, 118, 103, 34, 44, 34, 115, 101, 115, 115, 105, 111, 110, 95, 111, 119, 110, 101, 114, 95, 105, 100, 34, 58, 34, 51, 97, 50, 50, 97, 49, 56, 49, 98, 51, 48, 51, 102, 51, 53, 54, 50, 101, 49, 54, 56, 97, 102, 97, 97, 50, 49, 54, 51, 101, 98, 100, 34, 44, 34, 115, 101, 115, 115, 105, 111, 110, 95, 109, 101, 109, 98, 101, 114, 115, 34, 58, 91, 123, 34, 106, 111, 105, 110, 101, 100, 95, 116, 105, 109, 101, 115, 116, 97, 109, 112, 34, 58, 34, 49, 55, 53, 56, 50, 55, 54, 53, 54, 51, 53, 49, 49, 34, 44, 34, 105, 100, 34, 58, 34, 51, 97, 50, 50, 97, 49, 56, 49, 98, 51, 48, 51, 102, 51, 53, 54, 50, 101, 49, 54, 56, 97, 102, 97, 97, 50, 49, 54, 51, 101, 98, 100, 34, 44, 34, 117, 115, 101, 114, 110, 97, 109, 101, 34, 58, 34, 112, 97, 117, 108, 102, 97, 114, 105, 101, 108, 108, 111, 34, 44, 34, 100, 105, 115, 112, 108, 97, 121, 95, 110, 97, 109, 101, 34, 58, 34, 80, 97, 117, 108, 32, 70, 97, 114, 105, 101, 108, 108, 111, 34, 44, 34, 105, 109, 97, 103, 101, 95, 117, 114, 108, 34, 58, 34, 104, 116, 116, 112, 115, 58, 47, 47, 105, 46, 115, 99, 100, 110, 46, 99, 111, 47, 105, 109, 97, 103, 101, 47, 97, 98, 54, 55, 55, 53, 55, 48, 48, 48, 48, 48, 51, 98, 56, 50, 101, 97, 51, 57, 57, 100, 57, 101, 99, 53, 48, 48, 102, 56, 52, 56, 53, 98, 101, 53, 56, 98, 56, 49, 34, 44, 34, 108, 97, 114, 103, 101, 95, 105, 109, 97, 103, 101, 95, 117, 114, 108, 34, 58, 34, 104, 116, 116, 112, 115, 58, 47, 47, 105, 46, 115, 99, 100, 110, 46, 99, 111, 47, 105, 109, 97, 103, 101, 47, 97, 98, 54, 55, 55, 53, 55, 48, 48, 48, 48, 48, 101, 101, 56, 53, 101, 97, 51, 57, 57, 100, 57, 101, 99, 53, 48, 48, 102, 56, 52, 56, 53, 98, 101, 53, 56, 98, 56, 49, 34, 44, 34, 105, 115, 95, 108, 105, 115, 116, 101, 110, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 105, 115, 95, 99, 111, 110, 116, 114, 111, 108, 108, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 112, 108, 97, 121, 98, 97, 99, 107, 67, 111, 110, 116, 114, 111, 108, 34, 58, 34, 76, 73, 83, 84, 69, 78, 95, 65, 78, 68, 95, 67, 79, 78, 84, 82, 79, 76, 34, 44, 34, 105, 115, 95, 99, 117, 114, 114, 101, 110, 116, 95, 117, 115, 101, 114, 34, 58, 116, 114, 117, 101, 125, 93, 44, 34, 106, 111, 105, 110, 95, 115, 101, 115, 115, 105, 111, 110, 95, 117, 114, 105, 34, 58, 34, 115, 112, 111, 116, 105, 102, 121, 58, 115, 111, 99, 105, 97, 108, 115, 101, 115, 115, 105, 111, 110, 58, 50, 53, 71, 86, 73, 57, 48, 67, 77, 85, 87, 83, 112, 119, 113, 68, 85, 99, 107, 122, 118, 103, 34, 44, 34, 105, 115, 95, 115, 101, 115, 115, 105, 111, 110, 95, 111, 119, 110, 101, 114, 34, 58, 116, 114, 117, 101, 44, 34, 105, 115, 95, 108, 105, 115, 116, 101, 110, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 105, 115, 95, 99, 111, 110, 116, 114, 111, 108, 108, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 105, 110, 105, 116, 105, 97, 108, 83, 101, 115, 115, 105, 111, 110, 84, 121, 112, 101, 34, 58, 34, 73, 78, 95, 80, 69, 82, 83, 79, 78, 34, 44, 34, 104, 111, 115, 116, 65, 99, 116, 105, 118, 101, 68, 101, 118, 105, 99, 101, 73, 100, 34, 58, 34, 55, 56, 55, 98, 49, 55, 48, 52, 53, 52, 48, 100, 100, 50, 57, 52, 50, 50, 56, 101, 51, 49, 48, 57, 53, 100, 51, 50, 102, 57, 101, 55, 102, 50, 56, 54, 101, 55, 48, 55, 34, 44, 34, 109, 97, 120, 77, 101, 109, 98, 101, 114, 67, 111, 117, 110, 116, 34, 58, 51, 50, 44, 34, 97, 99, 116, 105, 118, 101, 34, 58, 116, 114, 117, 101, 44, 34, 113, 117, 101, 117, 101, 95, 111, 110, 108, 121, 95, 109, 111, 100, 101, 34, 58, 102, 97, 108, 115, 101, 44, 34, 119, 105, 102, 105, 95, 98, 114, 111, 97, 100, 99, 97, 115, 116, 34, 58, 102, 97, 108, 115, 101, 44, 34, 104, 111, 115, 116, 95, 100, 101, 118, 105, 99, 101, 95, 105, 110, 102, 111, 34, 58, 123, 34, 100, 101, 118, 105, 99, 101, 95, 105, 100, 34, 58, 34, 55, 56, 55, 98, 49, 55, 48, 52, 53, 52, 48, 100, 100, 50, 57, 52, 50, 50, 56, 101, 51, 49, 48, 57, 53, 100, 51, 50, 102, 57, 101, 55, 102, 50, 56, 54, 101, 55, 48, 55, 34, 44, 34, 100, 101, 118, 105, 99, 101, 95, 110, 97, 109, 101, 34, 58, 34, 87, 101, 98, 32, 80, 108, 97, 121, 101, 114, 32, 40, 70, 105, 114, 101, 102, 111, 120, 41, 34, 44, 34, 100, 101, 118, 105, 99, 101, 95, 116, 121, 112, 101, 34, 58, 34, 67, 79, 77, 80, 85, 84, 69, 82, 34, 44, 34, 105, 115, 95, 103, 114, 111, 117, 112, 34, 58, 102, 97, 108, 115, 101, 125, 125, 44, 34, 114, 101, 97, 115, 111, 110, 34, 58, 34, 78, 69, 87, 95, 83, 69, 83, 83, 73, 79, 78, 34, 44, 34, 117, 112, 100, 97, 116, 101, 95, 115, 101, 115, 115, 105, 111, 110, 95, 109, 101, 109, 98, 101, 114, 115, 34, 58, 91, 123, 34, 106, 111, 105, 110, 101, 100, 95, 116, 105, 109, 101, 115, 116, 97, 109, 112, 34, 58, 34, 49, 55, 53, 56, 50, 55, 54, 53, 54, 51, 53, 49, 49, 34, 44, 34, 105, 100, 34, 58, 34, 51, 97, 50, 50, 97, 49, 56, 49, 98, 51, 48, 51, 102, 51, 53, 54, 50, 101, 49, 54, 56, 97, 102, 97, 97, 50, 49, 54, 51, 101, 98, 100, 34, 44, 34, 117, 115, 101, 114, 110, 97, 109, 101, 34, 58, 34, 112, 97, 117, 108, 102, 97, 114, 105, 101, 108, 108, 111, 34, 44, 34, 100, 105, 115, 112, 108, 97, 121, 95, 110, 97, 109, 101, 34, 58, 34, 80, 97, 117, 108, 32, 70, 97, 114, 105, 101, 108, 108, 111, 34, 44, 34, 105, 109, 97, 103, 101, 95, 117, 114, 108, 34, 58, 34, 104, 116, 116, 112, 115, 58, 47, 47, 105, 46, 115, 99, 100, 110, 46, 99, 111, 47, 105, 109, 97, 103, 101, 47, 97, 98, 54, 55, 55, 53, 55, 48, 48, 48, 48, 48, 51, 98, 56, 50, 101, 97, 51, 57, 57, 100, 57, 101, 99, 53, 48, 48, 102, 56, 52, 56, 53, 98, 101, 53, 56, 98, 56, 49, 34, 44, 34, 108, 97, 114, 103, 101, 95, 105, 109, 97, 103, 101, 95, 117, 114, 108, 34, 58, 34, 104, 116, 116, 112, 115, 58, 47, 47, 105, 46, 115, 99, 100, 110, 46, 99, 111, 47, 105, 109, 97, 103, 101, 47, 97, 98, 54, 55, 55, 53, 55, 48, 48, 48, 48, 48, 101, 101, 56, 53, 101, 97, 51, 57, 57, 100, 57, 101, 99, 53, 48, 48, 102, 56, 52, 56, 53, 98, 101, 53, 56, 98, 56, 49, 34, 44, 34, 105, 115, 95, 108, 105, 115, 116, 101, 110, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 105, 115, 95, 99, 111, 110, 116, 114, 111, 108, 108, 105, 110, 103, 34, 58, 116, 114, 117, 101, 44, 34, 112, 108, 97, 121, 98, 97, 99, 107, 67, 111, 110, 116, 114, 111, 108, 34, 58, 34, 76, 73, 83, 84, 69, 78, 95, 65, 78, 68, 95, 67, 79, 78, 84, 82, 79, 76, 34, 125, 93, 125]] } } [2025-09-19T10:09:38Z TRACE librespot_core::session] Sending Pong [2025-09-19T10:09:38Z TRACE librespot_core::session] keep-alive state: ExpectingPongAck, timeout in 20.0 [2025-09-19T10:09:38Z TRACE librespot_core::session] Received PongAck [2025-09-19T10:09:38Z TRACE librespot_core::session] keep-alive state: ExpectingPing, timeout in 80.0 ^C[2025-09-19T10:09:55Z INFO librespot] Gracefully shutting down [2025-09-19T10:09:55Z DEBUG librespot_discovery::server] Shutting down discovery server [2025-09-19T10:09:55Z DEBUG librespot_discovery] Shutting down zeroconf responder [2025-09-19T10:09:55Z DEBUG librespot_discovery] Zeroconf responder stopped [2025-09-19T10:09:55Z DEBUG librespot_discovery::server] Discovery server stopped ^C[2025-09-19T10:09:57Z DEBUG librespot_core::session] drop Dispatch [2025-09-19T10:09:57Z DEBUG librespot_connect::spirc] drop Spirc[1] [2025-09-19T10:09:57Z DEBUG librespot_playback::player] Shutting down player thread ... [2025-09-19T10:09:57Z DEBUG librespot_playback::player] drop PlayerInternal[0] [2025-09-19T10:09:57Z DEBUG librespot_playback::player] PlayerInternal thread finished. [2025-09-19T10:09:57Z DEBUG librespot_core::session] drop Session [2025-09-19T10:09:57Z DEBUG librespot::component] drop ApResolver [2025-09-19T10:09:57Z DEBUG librespot::component] drop MercuryManager [2025-09-19T10:09:57Z DEBUG librespot::component] drop DealerManager [2025-09-19T10:09:57Z DEBUG librespot::component] drop SpClient [2025-09-19T10:09:57Z DEBUG librespot::component] drop Login5Manager ``` ### Host (what you are running `librespot` on): - OS: Linux - Platform: x86_64 ### Additional context Digging into librespot, proxy isn't passed to `core/src/dealer/mod.rs` when called by `core/src/dealer/manager.rs`. https://github.com/librespot-org/librespot/blob/df5f957bdd9a29801dd16f08cdc9abc580912da7/core/src/dealer/manager.rs#L159 Testing the issue isn't reproductible with hard coded proxy: ```diff diff --git a/core/src/dealer/manager.rs b/core/src/dealer/manager.rs index 98ea026..0dad984 100644 --- a/core/src/dealer/manager.rs +++ b/core/src/dealer/manager.rs @@ -156,7 +156,7 @@ impl DealerManager { let dealer = self .lock(move |inner| inner.builder.take()) .ok_or(DealerError::BuilderNotAvailable)? - .launch(get_url, None) + .launch(get_url, Some(Url::parse("http://127.0.0.1:3128")?)) .await .map_err(DealerError::LaunchFailure)?; ``` I'm willing to help fix it but have currently 0 idea where this proxy should be passed from.
Author
Owner

@photovoltex commented on GitHub (Oct 7, 2025):

I think the DealerManager (aka see self.session(), not sure if it was a method or property) has access to an instance of session which in turn should have access to the SessionConfig, which should have the proxy info you need to pass in here.

<!-- gh-comment-id:3376134742 --> @photovoltex commented on GitHub (Oct 7, 2025): I think the `DealerManager` (aka see `self.session()`, not sure if it was a method or property) has access to an instance of `session` which in turn should have access to the `SessionConfig`, which should have the proxy info you need to pass in here.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot#722
No description provided.