ETIMEDOUT: request timed out

A socket exceeded its timeout before the response arrived.

28 issues · 9 open · 19 resolved (68%) · first seen Feb 26, 2025

First response · network

What to do now

Most likely: A DNS, proxy, TLS or socket layer interrupted the connection.

  1. Check whether the same request works without the current VPN or corporate proxy.
  2. Verify DNS and certificate trust without disabling TLS verification.
  3. Capture the hostname and exact socket code before escalating.

These are conservative triage steps, not an official Anthropic fix. Use the issue and workaround evidence below before making a destructive configuration change.

Is this getting better or worse?

This class of problem is holding steady. 11 new reports in the last 90 days vs 11 in the 90 before — 0%. The open backlog peaked at 9 in 2026-08 and sits at 9 today.

0 2 5 7 9 2025-022025-082026-022026-08
2025-02 — First reports2026-03 — Most new reports (6)2026-08 — Peak backlog (9 open)

Derived by counting each matching issue from its creation date until it closed. First-party computation over the anthropics/claude-code tracker — the trend is not published anywhere upstream.

Which builds report this

18 of these reports name the Claude Code build they were running, spanning 16 releases. Heaviest reporters:

Report volume, not a defect count: an issue can mention a build without that build having caused the failure. Versions come from the version string in the bug-report template, matched against real published tags.

Do these get fixed?

Median time to close is 29 days across 19 closures. Of the 19 closures with a recorded reason, 11% were closed as completed and 17 as not-planned or duplicate. The most recent completed fix landed in 2026-03.

Workarounds reported by the community

6 of these issues post a workaround someone says worked. The highest-engagement ones:

[BUG] WSL: "Unable to connect to Anthropic services" resolved by disabling telemetry
…pected) - and both work - SSL/TLS handshake works: succeeds Workaround that works: `bash DISABLE TELEMETRY=1 claude
Found in the description of #2481 · resolved
Network Timeout Errors Occurring Frequently in API Calls
…do. Sometimes, restarting the binary helps. Update: Another workaround is to open multiple windows—4 work for me. Run in each. When one starts working well, close the others.
Found in the thread of #128 · resolved
Telegram plugin: polling exits permanently on network errors during long sessions
…untu 25.04 - Session duration when issue occurs: 4-8+ hours Workaround Restarting the Claude Code session re-establishes the polling connection. Using with helps for daemon-mode agents.
Found in the description of #40603 · resolved
[BUG] Claude Code cannot connect - Cloudflare TLS fingerprint rejection (ECONNRESET/ETIMEDOUT)
…oesn't expose TLS configuration via NODE OPTIONS. Attempted Workarounds (all failed for Claude Code) - — no effect - — no effect (undici ignores it) - — no effect - — not tested (security concern) - — updated to v2.1.81,…
Found in the description of #37300 · resolved
[BUG] Background workers (bg-spare) never release memory after jobs complete — monotonic RSS growth saturates 24GB RAM in ~7 days on always-on machines
…urns after jobs complete; extrapolates to full RAM in days. Workaround we use When all of a project's jobs are : SIGTERM its claimed + parent pairs. Job records, transcripts (jsonl), and the FleetView dashboard are unaff…
Found in the description of #88116 · still open

Excerpts are quoted from the linked issue so you can judge relevance before opening it. Threads that only ask for a workaround, or report that there is none, are excluded. These are community suggestions, not official guidance from Anthropic — read the full thread before applying one.

Matching issues 1–28

Ranked by community engagement (reactions weighted over comments).

Related aggregations

  1. ECONNRESET: socket hang up

    229 issues
  2. ECONNREFUSED: connection refused

    207 issues
  3. Self-signed certificate in certificate chain

    41 issues
  4. getaddrinfo ENOTFOUND (DNS lookup failed)

    49 issues
  5. EADDRINUSE: address already in use

    30 issues
  6. API Error 400 (invalid_request_error)

    2,591 issues