anthropics / anthropics/claude-code
[BUG] Frequent ECONNRESET Disconnections While Other Network Applications Work Normally
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 147k
- Forks
- 24k
- PR merge metrics
- PR metrics pending
Description
Preflight Checklist
- I have searched existing issues and this hasn't been reported yet
- This is a single bug report (please file separate reports for different bugs)
- I am using the latest version of Claude Code
What's Wrong?
Description
The application repeatedly disconnects with an ECONNRESET error while generating responses or maintaining an active session. The issue is isolated to the Claude integration/CLI, as all other network-dependent applications on the same machine and network continue to function normally without packet loss or connectivity drops.
Error Log / Screenshots
Plaintext
API Error: Connection dropped (ECONNRESET)
What Should Happen?
Expected Behavior
The session should maintain a stable connection or gracefully retry/resume streams when handling long completions without throwing ECONNRESET drops.
Just open Claude and send message it will start flickering and disconnecting so furstrating keeps on delaying my tasks I may consider cancelling subscriptions if this keep on going
Error Messages/Logs
Steps to Reproduce
Just open Claude and send message it will start flickering and disconnecting so furstrating keeps on delaying my tasks I may consider cancelling subscriptions if this keep on going
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
2.1.272 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the ECONNRESET reproduction in Claude Code 2.1.272 on macOS using Terminal.app, and inspect the connection behavior while generating responses or maintaining an active session. Compare the behavior with the previous working version if available; done means long completions maintain a stable connection or gracefully retry/resume streams without disconnecting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, cli, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100