[BUG] ECONNRESET repeatedly drops interactive sessions after several minutes of active work (macOS, v2.1.251)
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?
Environment*
- macOS (M1 MacBook)
- Claude Code CLI v2.1.251
- Login method: Claude Pro account (confirmed via /status)
- Session kind: interactive, local socket (uds:/tmp/cc-socks/...)
- No VPN, no local proxy — confirmed direct connection to api.anthropic.com
Description
Claude Code CLI repeatedly drops with ECONNRESET mid-task after several minutes of active work (typically 5-7 min), across multiple networks (home Wi-Fi and cellular hotspot), with retries eventually exhausting after up to 10 attempts.
Timeline of occurrences
- 7:50 PM — dropped after 6m 2s working
- 9:22 PM — dropped after 5m 44s working
- 9:28 PM — dropped after 5m 47s working
- Recurring intermittently on subsequent days
What Should Happen?
Already ruled out
- Billing/credits (confirmed via direct curl to API — clean structured response; auth confirmed as Pro account, not API key)
- Network-specific cause (identical failure on home Wi-Fi and mobile hotspot)
- Proxy/env misconfig (no ANTHROPIC_BASE_URL override, no local proxy in request path)
- No active incident listed on status.claude.com at time of failures
Exact error
✻ Connection dropped (ECONNRESET) · Retrying in 28s · attempt 7/10
Additional note
/bug feedback command also failed with "Couldn't send feedback (couldn't reach the service)."
Impact
Repeated loss of session progress/work time; billing impact given Pro plan usage.
Session ID (for reference)
3e30a560-a261-4d7d-81c5-24c22a59ddec
Error Messages/Logs
Steps to Reproduce
- Launch Terminal window
- /Claude
- type anything
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Claude Code CLI v2.1.251
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗