Skip to content

[BUG] Claude Code sustained ~80% ECONNRESET failure rate — March 30, 2026 specifically from Boston Area #41242

Description

@kumaakh

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?

Claude Code CLI has been effectively unusable for an entire day (March 30, 2026). Approximately 80% of prompts fail with API Error: Unable to connect to API (ECONNRESET) after 3+ minutes of waiting. This persists three days after the March 26-27 infrastructure incident that was marked "resolved."

Additionally, Claude Desktop (chat mode) file uploads fail in a size-dependent manner — 28KB PNG succeeds, 70KB PNG fails with "Upload failed due to a network issue" — in the same session where chat text works perfectly. Chat text itself also shows intermittent errors on longer responses.

Debug Log Analysis — Hard Data

Ran Claude Code with -d flag for a 3-hour session (7c909456, 2026-03-30 19:00–22:01 UTC). Full log: 5,612 lines, 118 total errors.

Error breakdown

Error Type Count Impact
API "Connection error" (retries) 73 High — blocked all API requests
ECONNRESET (telemetry export) 27 (9 distinct events) Low — telemetry only
MCP server auth failures 3 Unrelated
Request aborted (user cancel) 3 User-initiated

Burst pattern

Time (UTC) Attempts Outcome
19:00 5 User cancelled
19:01–19:02 8 Eventually recovered
19:03–19:05 9 Eventually recovered
19:11–19:17 39 Heaviest — 39 attempts in 6 minutes
22:00–22:01 12 Final burst

Error characteristics

  • Error is undefined Connection errorno HTTP status code. TCP socket resets before any HTTP response is received.
  • Both the API endpoint (api.anthropic.com) and the telemetry endpoint (Datadog) fail simultaneously — both sit behind the same CDN/edge layer.
  • Retry backoff (attempts 1–11) sometimes recovers, sometimes exhausts all retries.
  • Requests that succeed show no degradation — responses stream normally. It's binary: connect or ECONNRESET.

Telemetry ECONNRESET events (events lost per failure)

Time (UTC) Events Lost
19:01:33 28
19:15:57 30
19:16:16 192
19:16:26 279
19:16:36 190
19:16:46 62
19:18:08 74
21:45:02 78
21:50:19 39

This Is Not a Client Network Issue

Claude Code's own debug analysis concluded "network instability on your machine/network." This is incorrect. Counter-evidence:

  1. Claude Desktop chat worked fine in the same session, same network, same machine, for hours — including a lengthy troubleshooting conversation with Claude.
  2. Claude Desktop file uploads are size-dependent — 28KB PNG passes, 70KB PNG fails. A local network issue would not exhibit a clean size threshold.
  3. All standard network diagnostics pass — DNS resolution, TCP port 443 connectivity, TLS handshake, HTTP/2 — all working (consistent with dozens of other ECONNRESET reports: [BUG] ECONNRESET errors - Unable to connect to API despite healthy network #13657, [BUG] Claude code stopped working #35768, etc.).
  4. Successful requests work perfectly — when the ~20% that connect do get through, streaming completes without issues. Local network instability would cause mid-stream failures, not binary connect/fail.
  5. The burst pattern (39 attempts in 6 minutes, then stable for 2.5 hours, then another burst) is consistent with server-side load balancer rotation hitting unhealthy nodes, not local network drops.

Versions Tested — No Improvement

Version Channel Result
2.1.81 Stable ~80% ECONNRESET
2.1.86 Latest ~80% ECONNRESET
2.1.87 Latest (includes "fresh TCP on retry" fix) ~80% ECONNRESET

The fresh-TCP-on-retry fix in 2.1.87 did not help, which is expected if the issue is server-side connection resets rather than stale client connection pools.

Environment

  • OS: Windows 11
  • Install: Native (C:\Users\akhil\.local\bin\claude.exe)
  • Auth: Personal Max Subscription
  • Network: Home broadband (Londonderry, NH), no VPN, no proxy, no corporate firewall
  • Claude Code version: Tested 2.1.81, 2.1.86, 2.1.87
  • Claude Desktop: Latest version, same machine

What Should Happen?

Claude Code CLI should connect reliably. File uploads should work regardless of file size within documented limits.

Error Messages/Logs

Steps to Reproduce

  1. Open Claude Code CLI on Windows (claude)
  2. Send any prompt
  3. Wait 3+ minutes
  4. Observe: API Error: Unable to connect to API (ECONNRESET)
  5. Repeat — ~80% of attempts fail, ~20% succeed

For the upload size threshold (Claude Desktop):

  1. Open Claude Desktop chat (not Code mode)
  2. Attach a PNG < 30KB → succeeds
  3. Attach a PNG > 50KB → fails with "Upload failed due to a network issue"
  4. Send text in the same conversation → works fine

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.87

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

  • The March 26-27, 2026 infrastructure incident (networking degradation affecting Opus 4.6 and Sonnet 4.6) was marked resolved on March 27 at 9:30 AM PT.
  • A Dispatch issue was identified and resolved on March 29.
  • The status page currently shows all services "Operational."
  • Hacker News noted 2 days ago that Claude lost its >99% uptime in Q1 2026.
  • This issue persists on March 30 — three days after the "resolved" incident.

Related Issues

https://claude.ai/share/d8960f65-da5d-4c61-a330-1cb069374592

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions