mirror of
https://github.com/Googolplexed0/zotify.git
synced 2026-04-25 06:15:55 +03:00
[GH-ISSUE #82] [Bug Report] OAuth Server Returns Empty Response #72
Labels
No labels
bug
considering
discussion
documentation
enhancement
enhancement
good first issue
help wanted
pull-request
question
stale
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/zotify#72
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tcurdt on GitHub (Sep 18, 2025).
Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/82
Originally assigned to: @Googolplexed0 on GitHub.
Zotify Version
2c2bb8dBug Description
After starting zotify it presents the auth url.
This redirects back to the server running on 4381.
But the server returns "empty response".
Just cross-checking with
curlBug Triggering Command
Error Traceback / Logs
Not sure where to find that.
Config File
Additional Context
@Googolplexed0 commented on GitHub (Sep 24, 2025):
Going to need a bit more information to help troubleshoot. Are you saying that the authentication process is not working for you? Does your browser redirect successfully? Has a previous version's authentication worked for you previously?
A debug log will appear if you run with the
--debugcommand.@tcurdt commented on GitHub (Sep 24, 2025):
Correct. I open the URL in the browser. It redirects to localhost, but the auth does not complete.
http://127.0.0.1:4381/login?code=...gives an "empty response"First I thought it was a docker problem but the server answer on the outside and on the inside of the container.
First time I tried zotify.
What ended working is to install
curlin the container. Then copy the failedhttp://127.0.0.1:4381/login?code=A...url into the container and complete the auth like that. The response still iscurl: (1) Received HTTP/0.9 when not allowedbut weirdly enough now the auth request finished.
I think what would be helpful is to have
http://127.0.0.1:4381/return some kind of response.I think
zotifycould even return a minimal html page that has the link that is printed for OAuth.@Googolplexed0 commented on GitHub (Oct 1, 2025):
Did you make sure that your docker run command had
-p 4381:4381included (as perREADMEinstructions)?Yes, the current implementation the OAuth server doesn't return a response so seeing an error in-browser is expected. Once the server receives your callback it shuts down and then continues with the necessary parsing steps. It would be a good addition to include a small response to acknowledge a successful callback. Not a high-priority addition though.
@tcurdt commented on GitHub (Oct 1, 2025):
Certainly.
In fact, on macOS it needs to be
-p 127.0.0.1:4381:4381to grant access from the host.I see. But somehow this did not fully work for me from the browser. Only the curl worked.
Not sure I understand the difference. But maybe the current approach is just a tiny bit too minimalistic.
I would go even one stop further: Provide the OAuth link via minimal HTML page on http://127.0.0.1:4381
But as you said - also just a nice to have.
I found my workaround and the credentials are saved.
So up to you if you want to keep the issue open for tracking the improvement or not.
Thanks for the help.
@Googolplexed0 commented on GitHub (Nov 11, 2025):
See https://github.com/kokarare1212/librespot-python/pull/323
@Googolplexed0 commented on GitHub (Nov 17, 2025):
PR#323 implemented.