[BUG] Repeated lost Claude connection Connection dropped (ECONNRESET) requires reboot

Status Open
Reported on v2.1.261
Maintainer reply None cached
Activity 0 comments · opened Sep 4, 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?

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

https://github.com/search?q=repo%3Aanthropics%2Fclaude-code+Connection+dropped+%28ECONNRESET%29&type=code

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

  1. Start using Claude
  2. An hour or two or three later, Claude says its connection is reset
  3. Quit Claude, retry, same results
  4. Close console, reopen, retry, same results
  5. 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_

View original on GitHub ↗