ETIMEDOUT: request timed out
A socket exceeded its timeout before the response arrived.
33 issues · 10 open · 23 resolved (70%) · first seen Feb 26, 2025
First response · network
What to do now
Most likely: A DNS, proxy, TLS or socket layer interrupted the connection.
- Check whether the same request works without the current VPN or corporate proxy.
- Verify DNS and certificate trust without disabling TLS verification.
- 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 still growing. 13 new reports in the last 90 days vs 4 in the 90 before — +225%. The open backlog peaked at 10 in 2026-10 and sits at 10 today.
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
23 of these reports name the Claude Code build they were running, spanning 21 releases. Heaviest reporters:
- Claude Code v2.1.234
- Claude Code v2.1.81
- Claude Code v2.1.296
- Claude Code v2.1.214
- Claude Code v2.1.267
- Claude Code v2.1.217
- Claude Code v2.1.113
- Claude Code v2.1.232
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 38 days across 23 closures. Of the 23 closures with a recorded reason, 9% were closed as completed and 21 as not-planned or duplicate. The most recent completed fix landed in 2026-03.
Workarounds reported by the community
9 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 - [BUG] Connection-level errors (ECONNRESET, EPIPE, ETIMEDOUT) are never retried — immediate failure with zero recovery
- …+ partial retry reimplementation is the core issue. Partial workaround: PostToolUseFailure hook to auto-retry You can't retry API calls from a hook, but you can detect connection-related failures and alert: Better workar…
Found in the thread of #37077 · resolved - Native binary hangs silently at 100% CPU on VMs with the kvm64 CPU model (no SSE4/POPCNT) — needs a CPU feature pre-flight check
- …i/uv exports): - - - . has no effect, so there's no env-var workaround. 2. Stock Bun is not affected — this isn't just "the bundled Bun needs AVX2". 1.4.2, which ships the same simdutf configuration (same implementation-…
Found in the thread of #95566 · still open - Since 2.1.213, one connection error disables HTTP keep-alive for the rest of the process; long sessions then degrade into stream-idle-watchdog stalls and full-conversation resends until restart
- …on-streaming fallbacks and 400s/404s pile up until restart. Workarounds 1. Restart long-lived sessions after the first line in the debug log. 2. Run a version before 2.1.213. 3. Patch the setter locally (what we run now;…
Found in the description of #100353 · 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–33
Ranked by community engagement (reactions weighted over comments).
- [Bug] Claude is being lazy - very very lazy
- [BUG] WSL: "Unable to connect to Anthropic services" resolved by disabling telemetry
- Network Timeout Errors Occurring Frequently in API Calls
- [BUG] Connection-level errors (ECONNRESET, EPIPE, ETIMEDOUT) are never retried — immediate failure with zero recovery
- I'm ready to help generate GitHub issue titles for Claude Code bug reports. Please share the bug report details, and I'll create a concise, technical title following the format specified.
- Native binary hangs silently at 100% CPU on VMs with the kvm64 CPU model (no SSE4/POPCNT) — needs a CPU feature pre-flight check
- [Feature] OnApiRetry hook event for observability and control over internal retry behavior
- I appreciate the feedback, but I need the actual bug report or issue details to generate a GitHub issue title. Could you please provide: 1. A description of the problem you encountered 2. Any error messages or unexpected behavior 3. Steps to reproduce the
- [BUG] Native binary hangs indefinitely with 100% CPU futex spin loop on startup (VPS/virtualized environment)
- Since 2.1.213, one connection error disables HTTP keep-alive for the rest of the process; long sessions then degrade into stream-idle-watchdog stalls and full-conversation resends until restart
- [Bug] Scroll position jumps to top on streamed output (Linux regression)
- Bug: ECONNRESET ('terminated') during streaming with partial data kills the session — no retry, no fallback
- CLI hangs indefinitely on every subcommand except --version (headless Linux, both native and npm installs)
- Background Bash tasks get lost/duplicated, turning a simple deploy into 10+ hours of retries
- [BUG] Hung tool calls should be cancellable — a timeout or manual cancel button per tool call
- [Bug] AI Agent Executing Destructive Operations on Production Environment Without Safeguards
- [Bug] Claude model degradation: Memory and consistency issues across files
- Telegram plugin: polling exits permanently on network errors during long sessions
- ECONNRESET kills session — needs auto-retry/reconnect
- [Bug] Anthropic API Error: Missing thinking block in assistant message with extended thinking enabled
- i recently travelled to the uae from uganda , and am...
- [BUG] Claude Code CLI native binary spins at ~100% CPU indefinitely on startup (VS Code Remote-SSH, Ubuntu 26.04)
- [BUG] macOS DarkWake: transient DNS failure during OAuth refresh loses login
- [DOCS] Connection-drops section omits that partial responses are preserved and the spinner no longer gets stuck at "running tool" (v2.1.179)
- [BUG] Claude Code cannot connect - Cloudflare TLS fingerprint rejection (ECONNRESET/ETIMEDOUT)
- [BUG] Claude Code install/launch hangs indefinitely on Hyper-V VM with Processor Compatibility Mode enabled
- [BUG] Background workers (bg-spare) never release memory after jobs complete — monotonic RSS growth saturates 24GB RAM in ~7 days on always-on machines
- Telegram channel plugin: poller gives up on 409 after ~28 s and never recovers, while /mcp still reports "connected"
- [BUG] Error: Claude Code process terminated by signal SIGKILL
- Auto-reconnect after wake exhausts after 3 attempts (~6s), no further retry
- [Bug] Anthropic API Error: HTTP 500 and 529 timeout during sessions
- [BUG] VS Code WSL authentication fails without actionable error when Windows and WSL have different effective internet connectivity
- [BUG] claude spins at 100% CPU indefinitely on startup — regression between 2.1.112 and 2.1.113