[BUG] Repeated lost Claude connection Connection dropped (ECONNRESET) requires reboot
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?
Several times a day at unpredictable and irregular times Claude loses its connection capability and cannot resume until the entire Mac is rebooted. Claude prints "Connection dropped (ECONNRESET)".
This is the same as the CLOSED issue https://github.com/anthropics/claude-code/issues/87500
And no other issues appear to contain that error message
I use Claude in command line, but when the ECONNRESET happens, the Claude app starts giving the same error -- but theproblem does NOT affect Claude in the webpage. This makes me assume that something on my Mac has grabbed a socket or file handle or something needed for Claude to verify Google account credentials, while the browser has its own credential exchange mechanism.
What Should Happen?
Claude should... keep working? Should not lose its connection and say ECONNRESET?
Error Messages/Logs
Connection dropped (ECONNRESET)
Steps to Reproduce
- Start using Claude
- An hour or two or three later, Claude says its connection is reset
- Quit Claude, retry, same results
- Close console, reopen, retry, same results
- Reboot entire Mac, retry, Claude works (no login required)
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
It worked until this week
Claude Code Version
2.1.261 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
_No response_