API Request Timeout or Connection Failure

Status Fixed / completed
Maintainer reply ✓ Yes — bcherny
Activity 6 comments · opened Mar 14, 2025 · closed Mar 14, 2025
💡 Likely answer: A maintainer (bcherny, collaborator) responded on this thread — see the highlighted reply below.

Bug Description
I keep getting the error API Error: request ended without sending any chunks

Environment Info

  • Platform: macos
  • Terminal: iTerm.app
  • Version: 0.2.42
  • Feedback ID: 94ec0513-d4de-4038-8678-59eedfcc14a5

Errors

[{"error":"Error: request ended without sending any chunks\n    at Xu.I (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:514:27940)\n    at Xu._createMessage (file:///opt/homebrew/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:52:57.452Z"}]

View original on GitHub ↗

6 Comments

bcherny collaborator · 1 year ago

Looking

bcherny collaborator · 1 year ago

Should be ok now! Can folks confirm?

muathendirangu · 1 year ago

works now on my end

bcherny collaborator · 1 year ago

Cool sorry about that!

github-actions[bot] · 1 year ago

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.