-
Notifications
You must be signed in to change notification settings - Fork 491
Open
Labels
bugA functionality or parts of a program that do not work as intendedA functionality or parts of a program that do not work as intended
Description
Description
Sometimes connecting to spotifyd through the android app fails consistently until the service is restarted
Logs
May 14 21:33:25 livingroomaudio spotifyd[38680]: [DEBUG librespot_discovery::server] POST "/" {}
May 14 21:33:25 livingroomaudio spotifyd[38680]: [ERROR librespot_discovery::server] could not handle discovery request: Client specified an invalid argument { Creating SHA1 HMAC failed for base key [] }
May 14 21:33:25 livingroomaudio spotifyd[38680]: The application panicked (crashed).
May 14 21:33:25 livingroomaudio spotifyd[38680]: Message: called `Result::unwrap()` on an `Err` value: Error { kind: InvalidArgument, error: HmacError([]) }
May 14 21:33:25 livingroomaudio spotifyd[38680]: Location: /rustc/3ea711f17e3946ac3f4df11691584e2c56b4b0cf/library/core/src/ops/function.rs:250
May 14 21:33:25 livingroomaudio spotifyd[38680]: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
May 14 21:33:25 livingroomaudio spotifyd[38680]: 1: start_thread<unknown>
May 14 21:33:25 livingroomaudio spotifyd[38680]: at ./nptl/pthread_create.c:442
May 14 21:33:25 livingroomaudio spotifyd[38680]: 2: thread_start<unknown>
May 14 21:33:25 livingroomaudio spotifyd[38680]: at ./misc/../sysdeps/unix/sysv/linux/aarch64/clone.S:79
May 14 21:33:25 livingroomaudio spotifyd[38680]: Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
May 14 21:33:26 livingroomaudio spotifyd[38680]: [DEBUG libmdns::fsm] received question: IN _spotify-connect._tcp.local
May 14 21:33:26 livingroomaudio spotifyd[38680]: [DEBUG libmdns::fsm] received question: IN _spotify-connect._tcp.local
This section is repeated 3 more times until spotify on android gives up connecting
I've switched to running with COLORBT_SHOW_HIDDEN=1 now in case it is useful. I will report back once the same thing happens with it set.
Compilation flags
- dbus_mpris
- alsa_backend
- portaudio_backend
- pulseaudio_backend
- rodio_backend
Versions (please complete the following information):
- OS: Raspberry Pi OS
bookworm - Spotifyd:
0.4.1 - cargo:
1.87.0-nightly (2622e844b 2025-02-28)
Additional context
This spotiftd instance gets used with multiple accounts (none specified in the config), in case it's important.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugA functionality or parts of a program that do not work as intendedA functionality or parts of a program that do not work as intended