[GH-ISSUE #268] Can't connect #161

Closed
opened 2026-02-28 14:25:54 +03:00 by kerem · 6 comments
Owner

Originally created by @szygmunt on GitHub (Dec 6, 2025).
Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/268

gru 06 16:54:29 pi go-librespot[31286]: level=info msg="refused zeroconf from Pixel 8" username="sz**********nt"
gru 06 16:54:32 pi go-librespot[31286]: level=error msg="failed creating new session from Pixel 8" error="failed obtaining client token: invalid status code from clienttoken: 400" username="sz**********nt"
gru 06 16:54:32 pi go-librespot[31286]: level=info msg="refused zeroconf from Pixel 8" username="sz**********nt"
gru 06 16:54:36 pi go-librespot[31286]: level=error msg="failed creating new session from Pixel 8" error="failed obtaining client token: invalid status code from clienttoken: 400" username="sz**********nt"
gru 06 16:54:36 pi go-librespot[31286]: level=info msg="refused zeroconf from Pixel 8" username="sz**********nt"
Originally created by @szygmunt on GitHub (Dec 6, 2025). Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/268 ``` gru 06 16:54:29 pi go-librespot[31286]: level=info msg="refused zeroconf from Pixel 8" username="sz**********nt" gru 06 16:54:32 pi go-librespot[31286]: level=error msg="failed creating new session from Pixel 8" error="failed obtaining client token: invalid status code from clienttoken: 400" username="sz**********nt" gru 06 16:54:32 pi go-librespot[31286]: level=info msg="refused zeroconf from Pixel 8" username="sz**********nt" gru 06 16:54:36 pi go-librespot[31286]: level=error msg="failed creating new session from Pixel 8" error="failed obtaining client token: invalid status code from clienttoken: 400" username="sz**********nt" gru 06 16:54:36 pi go-librespot[31286]: level=info msg="refused zeroconf from Pixel 8" username="sz**********nt" ```
kerem 2026-02-28 14:25:54 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@devgianlu commented on GitHub (Dec 7, 2025):

Do you get this constantly? Only with that device?

<!-- gh-comment-id:3622694431 --> @devgianlu commented on GitHub (Dec 7, 2025): Do you get this constantly? Only with that device?
Author
Owner

@szygmunt commented on GitHub (Dec 7, 2025):

Yes, constantly. I tried connect to go-librespot with android and desktop client - result is the same with specified .config file and without it. Newest version from "action" tab from GitHub.

<!-- gh-comment-id:3622817433 --> @szygmunt commented on GitHub (Dec 7, 2025): Yes, constantly. I tried connect to go-librespot with android and desktop client - result is the same with specified .config file and without it. Newest version from "action" tab from GitHub.
Author
Owner

@bradley-rose commented on GitHub (Dec 8, 2025):

Getting the same error here on v0.6.0.

Dec 07 20:13:56 myServerHostname go-librespot[176]: time="2025-12-07T20:13:56-08:00" level=error msg="failed creating new session from iPhone" error="failed obtaining client token: invalid status code from clienttoken: 400" username="22*********************oa"
Dec 07 20:13:56 myServerHostname go-librespot[176]: time="2025-12-07T20:13:56-08:00" level=info msg="refused zeroconf from iPhone" username="22*********************oa"

My entire ~/.config/go-librespot/config.yml:

zeroconf_enabled: true 
zeroconf_port: 6969
device_name: Multiroom
device_type: home_thing
bitrate: 320
audio_backend: pipe
audio_output_pipe: /tmp/golibrespot-pipe
<!-- gh-comment-id:3624614648 --> @bradley-rose commented on GitHub (Dec 8, 2025): Getting the same error here on v0.6.0. ``` Dec 07 20:13:56 myServerHostname go-librespot[176]: time="2025-12-07T20:13:56-08:00" level=error msg="failed creating new session from iPhone" error="failed obtaining client token: invalid status code from clienttoken: 400" username="22*********************oa" Dec 07 20:13:56 myServerHostname go-librespot[176]: time="2025-12-07T20:13:56-08:00" level=info msg="refused zeroconf from iPhone" username="22*********************oa" ``` My entire `~/.config/go-librespot/config.yml`: ```yml zeroconf_enabled: true zeroconf_port: 6969 device_name: Multiroom device_type: home_thing bitrate: 320 audio_backend: pipe audio_output_pipe: /tmp/golibrespot-pipe ```
Author
Owner

@davidlb commented on GitHub (Dec 9, 2025):

Same problem in v0.6.0 here with this config file:

device_name: "Chaine Hi-Fi"
device_type: speaker
volume_steps: 10
bitrate: 320
credentials:
  type: zeroconf

Ir works fine with v0.5.3

<!-- gh-comment-id:3632257375 --> @davidlb commented on GitHub (Dec 9, 2025): Same problem in v0.6.0 here with this config file: ``` device_name: "Chaine Hi-Fi" device_type: speaker volume_steps: 10 bitrate: 320 credentials: type: zeroconf ``` Ir works fine with v0.5.3
Author
Owner

@devgianlu commented on GitHub (Dec 9, 2025):

Fixed in v0.6.1, stupid mistake.

<!-- gh-comment-id:3633416750 --> @devgianlu commented on GitHub (Dec 9, 2025): Fixed in v0.6.1, stupid mistake.
Author
Owner

@davidlb commented on GitHub (Dec 9, 2025):

It's ok now, thanks for the quick fix!

<!-- gh-comment-id:3634343726 --> @davidlb commented on GitHub (Dec 9, 2025): It's ok now, thanks for the quick fix!
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/go-librespot#161
No description provided.