API Error: request ended without sending any chunks
Bug Description API Error: request ended without sending any chunks - what's this even mean? I seem to be stuck there.
Environment Info
- Platform: linux
- Terminal: konsole
- Version: 0.2.42
- Feedback ID: f3264e27-1f21-496b-a9b5-a827fab7abd1
Errors
[{"error":"Error: request ended without sending any chunks\n at Xu.I (file:///home/pnathan/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:514:27940)\n at Xu._createMessage (file:///home/pnathan/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:514:24087)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-03-14T21:59:25.875Z"}]
More detailed: I had claude running on some work, doing some docker and integration test runs, and I went to do something else. When I came back it seemed to be stuck in this loop, despite exiting, restarting, and /clearing context.
Note that I am running this directly on the Ubuntu 24.04 laptop, no container/vm.
I'm not sure how to resolve this at this point without spending time resetting my environment. Let me know how I can help resolve this - I'm liking Claude Code!
me too https://github.com/anthropics/claude-code/issues/494
See: https://status.anthropic.com/ I don't think this is an issue with this tool
Fixed! Sorry about that
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.