Error: Request failed with status code 404
$ happy
Error: Request failed with status code 404
Same problem
🔍 Analysis Report
I encountered the same issue and performed a detailed investigation. Here are my findings:
Environment
- OS: Windows 10 (win32 x64)
- Node.js: v20.19.3
- happy-coder version: 0.13.0 (latest)
- Server URL:
https://api.cluster-fluster.com
Root Cause
This is a server-side issue, not a client-side problem.
I tested the server connectivity directly:
$ curl -I https://api.cluster-fluster.com
HTTP/1.1 404 Not Found
Server: cloudflare
CF-RAY: 9b6f3d98aaf206e0-AMS
The server itself returns a 404 Not Found response, which confirms that:
- ✅ Network connectivity is working fine
- ❌ The API endpoint is not responding correctly on the server side
Additional Observations from Logs
happy doctorshows the daemon is running correctly- Authentication credentials are valid
- Multiple
TransportErrorand WebSocket disconnection events in daemon logs - The error occurs immediately after the CLI starts, during the initial API handshake
Workaround
While waiting for a fix, you can use the standard claude CLI directly:
claude --dangerously-skip-permissions # or other flags you need
Suggested Fix
The server team should investigate:
- API endpoint routing configuration
- Whether there was a recent deployment that affected the root endpoint
- Health check status of
api.cluster-fluster.com
Hope this helps with debugging! 🙏
same problem.
same problem.
Same.
same problem.
Gotta be some NYE mass capacity loss or some weird bug related to the new year?
Same
Seems to be working now
it is working for me now; so am closing
No still broken [AUTH DEBUG] Sending auth request to: https://api.cluster-fluster.com/v1/auth/request [AUTH DEBUG] Public key: BHgzsxgPMhHI74D... [AUTH DEBUG] Failed to send auth request: AxiosError: read ECONNRESET
https://api.cluster-fluster.com/v1/auth/request server down
@sstraus I think that's a different error
you may want to try upgrading:
npm i -g happy-coder
as per:
https://discord.com/channels/1445849541181050956/1445849542191743208/1453637025780732018
Same error, nothing changes
[AUTH DEBUG] Sending auth request to: https://api.cluster-fluster.com/v1/auth/request
[AUTH DEBUG] Public key: dUhHPXIKdWYNiEKABhze...
[AUTH DEBUG] Failed to send auth request: AxiosError: read ECONNRESET
at AxiosError.from (file:///opt/homebrew/lib/node_modules/happy-coder/node_modules/axios/lib/core/AxiosError.js:96:14)
at RedirectableRequest.handleRequestError (file:///opt/homebrew/lib/node_modules/happy-coder/node_modules/axios/lib/adapters/http.js:817:25)
at RedirectableRequest.emit (node:events:508:28)
at eventHandlers.
Error: Authentication failed or was cancelled at authAndSetupMachineIfNeeded (file:///opt/homebrew/lib/node_modules/happy-coder/dist/index-B3gQr6vs.mjs:4154:13) at process.processTicksAndRejections (node:internal/process/task_queues:103:5) at async file:///opt/homebrew/lib/node_modules/happy-coder/dist/index-B3gQr6vs.mjs:6468:9
404 is happening again, am re-opening the issue
@sstraus you may need to join discord first: https://discord.gg/Pczy9HuZf)
Solved was a DNS problem with the happy domain. Thanks. BTW can you invite me on discord? The link invite is expired.
@sstraus please try this link: https://discord.gg/fX9WBAhyfD