API Error: request ended without sending any chunks

Resolved 💬 4 comments Opened Mar 14, 2025 by pnathan Closed Mar 14, 2025

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!

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗