[GH-ISSUE #254] Responses never arrive at clients #155

Closed
opened 2026-02-28 14:25:51 +03:00 by kerem · 1 comment
Owner

Originally created by @Arrigi on GitHub (Nov 13, 2025).
Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/254

go-librespot is discovered succesfully by spotify players and
commands are received properly by go-librespot

but the clients (I've tested macos + ios) never seem to receive a response. This does create weird situations where go-librespot may actually play the requested song and sometimes even update volume, but the client still believes it's connecting. It eventually times out and believes nothing is playing, while I can hear music.

Logging repeatedly shows

DEBU[0033] put state request failed with status 400: Missing payload 
DEBU[0035] put state request failed with status 400: Missing payload 
ERRO[0035] failed put state after update                 error="put state request failed with status 400: Missing payload"

I can't figure out what this is trying to access or where this http400 would be coming from, if it even is one?

I've seen this issue all 0.5.x versions

Originally created by @Arrigi on GitHub (Nov 13, 2025). Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/254 go-librespot is discovered succesfully by spotify players and commands are received properly by go-librespot but the clients (I've tested macos + ios) never seem to receive a response. This does create weird situations where go-librespot may actually play the requested song and sometimes even update volume, but the client still believes it's connecting. It eventually times out and believes nothing is playing, while I can hear music. Logging repeatedly shows ``` DEBU[0033] put state request failed with status 400: Missing payload DEBU[0035] put state request failed with status 400: Missing payload ERRO[0035] failed put state after update error="put state request failed with status 400: Missing payload" ``` I can't figure out what this is trying to access or where this http400 would be coming from, if it even is one? I've seen this issue all 0.5.x versions
kerem 2026-02-28 14:25:51 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@devgianlu commented on GitHub (Nov 30, 2025):

What is failing is this call:
github.com/devgianlu/go-librespot@0dd19a13e3/spclient/spclient.go (L164)

I have never seen it fail with that error, almost like it doesn't have a body, but that seems unlikely. Are you still having this issue? Can you describe how to reproduce it?

<!-- gh-comment-id:3592512126 --> @devgianlu commented on GitHub (Nov 30, 2025): What is failing is this call: https://github.com/devgianlu/go-librespot/blob/0dd19a13e3f934751c724a4c3bb3bbe884005d45/spclient/spclient.go#L164 I have never seen it fail with that error, almost like it doesn't have a body, but that seems unlikely. Are you still having this issue? Can you describe how to reproduce it?
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#155
No description provided.