mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-14 15:43:37 +01:00
Fetch error Unexpected token is not valid JSON #49
Reference in New Issue
Block a user
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 @Lifailon on GitHub (Mar 29, 2025).
Continuation of the problem after #73 in the new release 0.10.0. Authorization does not work, immediately lets you into the interface and an error occurs (on the screenshot).
Procedure:
@yusing commented on GitHub (Mar 29, 2025):
From the screenshot, it was somehow fetching from your nginx proxy manager instead of the GoDoxy API. Make sure you do not have port conflict (by default GoDoxy uses port 80, 443 (with autocert), 8888 for API, 3000 for WebUI) and make sure that GoDoxy is started successfully (check
docker compose logs).@Lifailon commented on GitHub (Mar 29, 2025):
@yusing yes! I did have NPM running (web interface on port 8888), but I disabled it (deleted the container), after clearing the cache it helped. BUT, the authorization problem persists, I still can't log in to the interface...
@yusing commented on GitHub (Mar 29, 2025):
https://github.com/yusing/godoxy/issues/73#issuecomment-2763019055
If you desire not to use https, or just testing out GoDoxy, you can set GODOXY_API_JWT_SECURE to false to disable the "secure" flag in cookies.
Also it won't work if you access it with IP:Port rather than a url with hostname http://sub.domain.tld.
@Lifailon commented on GitHub (Mar 29, 2025):
Added a variable for the backend (proxy), it worked, thanks! The tool is very functional, everything works!
In my opinion, it would be useful to add this information to the README to speed up the launch process. Most people (like me, since I can try a dozen tools in a day for comparison or study) would like to quickly launch and check the functionality.
@yusing commented on GitHub (Mar 29, 2025):
Will add this to README soon. Thanks.