[BUG] Persistent "API Error: Connection dropped (ECONNRESET)" messages
Status Open
Maintainer reply None cached
Activity 2 comments · opened Sep 22, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
inside VS code claude code, I keep getting "API Error: Connection dropped (ECONNRESET)" messages. I can restart VS Code and open a new session, but that only buys me maybe 5-10 minutes until I see the error again.
What Should Happen?
My Claude code session should not fail.
Error Messages/Logs
API Error: Connection dropped (ECONNRESET)
Steps to Reproduce
Even running a "status?" command doesn't work once I first encounter the error in a session.
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
v2.1.278
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗