claude-code - 💡(How to fix) Fix [BUG] Persistent mid-stream ECONNRESET on large-context sessions (v1/messages?beta=true)
ON THIS PAGE
Recommended Tools
×6Utilities matched from this issue’s tags and category — try them while you read without losing context.
GitHub issue graph ai analysis
Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.
The report is written in English Markdown for sharing and archival.
Helpful · Quick feedback
Error Message
Active interface: en1 (Wi-Fi, MAC redacted) IPv4: RFC1918 (redacted) Default gateway: RFC1918 (redacted)
DNS: nameserver[0] : 75.75.75.75 (Comcast) nameserver[1] : 75.75.76.76 (Comcast)
Proxy: ExceptionsList: [*.local, 169.254/16] FTPPassive: 1 (no explicit HTTP/HTTPS proxy)
Env proxy: (none set)
Public egress (ipinfo): ip: 98.63.x.x (first two octets kept per policy) hostname: [REDACTED Comcast residential PTR] city: Chicago region: Illinois org: AS7922 Comcast Cable Communications, LLC
Root Cause
Errors span the whole day. 07:00 Central dominates because one bad morning (2026-04-16) had a large burst. Removing that one day flattens the distribution, meaning there is no consistent time-of-day pattern — it's not "morning only" or "evening only."
Code Example
{
"subtype": "api_error",
"cause": {"code":"ECONNRESET","path":"https://api.anthropic.com/v1/messages?beta=true","errno":0},
"retryInMs": 503.10,
"retryAttempt": 1,
"maxRetries": 10,
"timestamp": "2026-04-14T03:07:30.074Z",
"sessionId": "fab7edcc-b849-41a9-8fd0-e7b667fef8d3",
"version": "2.1.104"
}
Retry decay: retry-1 recovers 64%, retry-2 recovers 23%, retry-3+ near 0%. Once a large request fails 3x, retries 4–10 are wasted.
62 separate HTTP 529 overloaded_error responses (with clean headers including request-id, cf-ray) show that Anthropic's backend can return proper HTTP errors — the ECONNRESET path is a different, ungraceful failure mode (likely worker killed or LB timeout with no response).
---
2026-04-16 ██████████████████████████████████████████████████ 99
2026-04-17 ████████████████████████████████████████████████ 93
2026-04-14 ███████████████████████ 49
2026-03-27 ██████████████ 30
2026-03-17 █████████████ 28
2026-04-18 █████ 11
2026-04-15 ████ 8
2026-04-09 ██ 4
2026-03-28 ▏ 1
2026-03-30 ▏ 1
---
00 ████████████████ 16
02 ▏ 1
07 ████████████████████████████████████████████████████████████████████████████████████████████████████████ 103
08 █████████████████████████ 25
09 ████ 4
10 ██████████ 10
11 ██████████████████████ 22
12 ████████████ 12
13 ██ 2
14 ████████ 8
15 ███ 3
16 ████████████████████████████ 28
18 ▏ 1
20 █████████████████████████ 25
21 ███████████ 11
22 █████████████████████████████████████ 37
23 █████████████████ 17
---
GET https://status.anthropic.com/api/v2/status.json
→ {"status":{"indicator":"none","description":"All Systems Operational"}}
Unresolved incidents: 0 (2026-04-19T06:27:55Z)
---
POST /v1/messages HTTP/2 (body written 1 byte/second for 60s)
< HTTP/2 401
< request-id: req_011CaCnTouozV24ACN1UypoT
< server: cloudflare
< cf-ray: 9eea680afe7cbd1f-ORD
< x-envoy-upstream-service-time: 77
{"type":"error","error":{"type":"authentication_error","message":"invalid x-api-key"}}
---
api.anthropic.com. A 160.79.104.10
api.anthropic.com. AAAA 2607:6bc0::10
NS: gemma.ns.cloudflare.com, nico.ns.cloudflare.com
---
10 packets transmitted, 10 packets received, 0.0% packet loss
min/avg/max/stddev = 13.753/21.961/27.084/3.666 ms
---
1 home router (RFC 1918)
2 cable-modem (RFC 1918)
3 Comcast CGNAT (RFC 6598 / 100.64.0.0/10)
4-7 Comcast regional aggregation (AS7922)
8-9 Comcast iBone peering to Cloudflare (AS7922 → AS13335)
10-11 Cloudflare edge (AS13335)
12 160.79.104.10 target (announced by Cloudflare, Anthropic prefix)
---
{
"subtype": "api_error",
"level": "error",
"cause": {"code":"ECONNRESET","path":"https://api.anthropic.com/v1/messages?beta=true","errno":0},
"error": {"type":null,"cause":{"code":"ECONNRESET","path":"https://api.anthropic.com/v1/messages?beta=true","errno":0}},
"retryInMs": 503.10102399147405,
"retryAttempt": 1,
"maxRetries": 10,
"timestamp": "2026-04-14T03:07:30.074Z",
"sessionId": "fab7edcc-b849-41a9-8fd0-e7b667fef8d3",
"version": "2.1.104",
"gitBranch": "HEAD"
}
---
{
"subtype": "api_error",
"cause": {"code":"ECONNRESET","path":"https://api.anthropic.com/v1/messages?beta=true","errno":0},
"retryInMs": 557.0120175956872,
"retryAttempt": 1,
"maxRetries": 10,
"timestamp": "2026-04-14T02:08:03.510Z",
"sessionId": "4c4f31b8-b773-42d2-89eb-79eafe74e87a",
"version": "2.1.92",
"gitBranch": "main"
}
---
{
"subtype": "api_error",
"error": {},
"retryInMs": 611.7190747656514,
"retryAttempt": 1,
"maxRetries": 10,
"timestamp": "2026-04-14T02:19:48.195Z",
"sessionId": "4c4f31b8-b773-42d2-89eb-79eafe74e87a",
"version": "2.1.92",
"gitBranch": "main"
}
---
{
"subtype": "api_error",
"cause": {"code":"ECONNRESET","path":"https://api.anthropic.com/v1/messages?beta=true","errno":0},
"retryInMs": 578.1537664332689,
"retryAttempt": 1,
"maxRetries": 10,
"timestamp": "2026-04-14T02:14:00.186Z",
"sessionId": "4c4f31b8-b773-42d2-89eb-79eafe74e87a",
"version": "2.1.92",
"gitBranch": "main"
}
---
{
"subtype": "api_error",
"cause": {"code":"ECONNRESET","path":"https://api.anthropic.com/v1/messages?beta=true","errno":0},
"retryInMs": 586.2500581048495,
"retryAttempt": 1,
"maxRetries": 10,
"timestamp": "2026-04-14T02:15:21.968Z",
"sessionId": "4c4f31b8-b773-42d2-89eb-79eafe74e87a",
"version": "2.1.92",
"gitBranch": "main"
}
---
{
"timestamp": "2026-03-17T21:48:33.224Z",
"sessionId": "aa563665-c927-4cf9-bdb6-9367059272f7",
"version": "2.1.72",
"status": {
"status": 529,
"headers": {
"request-id": "req_011CZ9PWLnL8MKuGL9LbWm4z",
"anthropic-organization-id": "[REDACTED — supplied separately]",
"server": "cloudflare",
"x-envoy-upstream-service-time": "329",
"cf-ray": "9ddf33cfda64f790-ORD",
"x-should-retry": "true"
},
"error": {
"type": "error",
"error": {"type":"overloaded_error","message":"Overloaded. https://docs.claude.com/en/api/errors"}
}
}
}
---
ProductName: macOS
ProductVersion: 26.3
BuildVersion: 25D125
Darwin [HOSTNAME] 25.3.0 Darwin Kernel Version 25.3.0: Wed Jan 28 20:49:24 PST 2026; root:xnu-12377.81.4~5/RELEASE_ARM64_T8132 arm64
~/.local/bin/claude
2.1.114 (Claude Code)
Node: v24.13.1
SHELL=/bin/zsh
---
Active interface: en1 (Wi-Fi, MAC redacted)
IPv4: RFC1918 (redacted)
Default gateway: RFC1918 (redacted)
DNS:
nameserver[0] : 75.75.75.75 (Comcast)
nameserver[1] : 75.75.76.76 (Comcast)
Proxy:
ExceptionsList: [*.local, 169.254/16]
FTPPassive: 1
(no explicit HTTP/HTTPS proxy)
Env proxy: (none set)
Public egress (ipinfo):
ip: 98.63.x.x (first two octets kept per policy)
hostname: [REDACTED Comcast residential PTR]
city: Chicago
region: Illinois
org: AS7922 Comcast Cable Communications, LLC
---
A: 160.79.104.10
AAAA: 2607:6bc0::10
Ping 10/10 received, 0% loss, avg 22 ms
Traceroute (hops 1-2 are RFC1918 private, hop 3 is RFC6598 CGNAT, middle
hops are Comcast regional → Comcast iBone peering, final hops are Cloudflare
edge / Anthropic origin):
1 [home router, RFC1918]
2 [cable modem, RFC1918]
3 [Comcast CGNAT, 100.64.0.0/10]
4-5 [Comcast regional Chicago PoP]
6-7 [Comcast aggregation]
8-9 [Comcast iBone → Cloudflare peering]
10 [Cloudflare edge, 141.101.x.x]
11 [Cloudflare edge, 141.101.x.x]
12 160.79.104.10 (api.anthropic.com)
---
Apps matching {snitch,lulu,radio silence,murus,vallum,hands off,charles,proxyman,wireshark,tailscale,wireguard,openvpn,nord,express}: (none)
Processes matching {vpn,proxy,wireguard,openvpn,tailscale,zerotier,cloudflared,mitmproxy,charles,proxyman,pritunl,nord,expressvpn}: (none)
pgrep tailscale: (none)
pfctl: still not captured (sudo aborted after three bad password attempts in follow-up run; see §9)
---
Interface: en1, 802.11ac, 5 GHz channel 157, 80 MHz
Signal: -66 dBm / Noise: -94 dBm (28 dB SNR)
Tx rate: 520 Mbps, MCS Index 5, NSS 2, Guard Interval 400
CCA (channel utilization): 30%
PHY modes supported: a/b/g/n/ac/ax (6E-capable hardware, not active)
Security: WPA2 Personal
Country: US
BT Coex Profile 2.4 GHz: Disabled
BT Coex Profile 5 GHz: Disabled
IPv6: link-local only (no global IPv6 — API traffic all over IPv4)
DNS resolvers: 75.75.75.75 / 75.75.76.76 (Comcast public)
Active Bluetooth devices: 1 (HID mouse; low-bandwidth)
BSSID/SSID/MACs: [REDACTED]
---
sudo log show --last 72h --info --debug \
--predicate 'subsystem == "com.apple.wifi"' --style compact \
| grep -iE 'deauth|disassoc|reassoc|roam|beacon.?(miss|loss)|link.?(down|up)|disconnect|wake|power|bt.?coex'
(0 matches)
---
subject=CN=api.anthropic.com
issuer=C=US, O=Google Trust Services, CN=WE1
Protocol: TLSv1.3
Cipher: TLS_AES_256_GCM_SHA384 (openssl) / AEAD-CHACHA20-POLY1305-SHA256 (curl)
ALPN: h2 negotiated (curl); openssl s_client run without -alpn shows none
verify return code: 0
---
~/.claude/settings.json top-level keys:
enabledPlugins -> { "swift-lsp@claude-plugins-official": true }
voiceEnabled -> boolean
skipDangerousModePermissionPrompt -> true
permissions -> { "defaultMode": "bypassPermissions" }
(no mcpServers, no hooks, no env)
~/.claude/settings.local.json top-level keys:
(minimal; no mcpServers, no hooks, no env)
Per-project .claude/settings.json inspected (counts only):
one project: permissions block only
one project: enableAllProjectMcpServers, enabledMcpjsonServers, disabledMcpjsonServers, deniedMcpServers, permissions
one project: mcpServers (names redacted)
All other projects: no .claude/settings.json
Total MCP servers active in any affected session: unknown; none were implicated in stack traces.
---
2026-04-17 12:13:15 [error] [sessions-bridge] Poll error, backing off: net::ERR_NETWORK_CHANGED
2026-04-17 12:13:17 [error] [sessions-bridge] Poll error, backing off: net::ERR_INTERNET_DISCONNECTED
2026-04-17 12:13:21 [error] [sessions-bridge] Poll error, backing off: net::ERR_INTERNET_DISCONNECTED
2026-04-17 12:13:29 [error] [sessions-bridge] Poll error, backing off: net::ERR_INTERNET_DISCONNECTED
2026-04-17 12:13:45 [error] [sessions-bridge] Poll error, backing off: net::ERR_INTERNET_DISCONNECTED
2026-04-17 12:13:53 [error] Failed to fetch blocklist: Error: net::ERR_INTERNET_DISCONNECTED
2026-04-17 12:13:53 [error] Failed to check allowlist status: Error: net::ERR_INTERNET_DISCONNECTED
2026-04-17 12:13:58 [error] [growthbook] network error: Error: net::ERR_INTERNET_DISCONNECTED
2026-04-17 12:14:15 [error] [sessions-bridge] Poll error, backing off: net::ERR_INTERNET_DISCONNECTED
2026-04-17 18:46:35 [error] [sessions-bridge] Poll error, backing off: This operation was aborted
2026-04-17 18:46:51 [error] [sessions-bridge] Poll error, backing off: This operation was aborted
2026-04-17 18:46:53 [error] [sessions-bridge] Poll error, backing off: net::ERR_INTERNET_DISCONNECTED
...
---
baseline round (from prompt, ~07:50 UTC):
1 HTTP 405 total=79ms connect=27 tls=54 ttfb=78
2 HTTP 405 total=91ms connect=29 tls=51 ttfb=91
3 HTTP 405 total=76ms connect=22 tls=53 ttfb=76
mid-investigation (sequential, 5s spacing):
1 HTTP 405 total=77ms connect=27 tls=52 ttfb=77
2 HTTP 405 total=85ms connect=20 tls=55 ttfb=83
3 HTTP 405 total=90ms connect=28 tls=64 ttfb=90
4 HTTP 405 total=81ms connect=25 tls=56 ttfb=81
5 HTTP 405 total=68ms connect=17 tls=44 ttfb=68
end-of-phase-2 (after all other diagnostics, 3s spacing):
1 HTTP 405 total=95ms connect=26 tls=58 ttfb=95
2 HTTP 405 total=88ms connect=29 tls=62 ttfb=87
3 HTTP 405 total=77ms connect=22 tls=50 ttfb=77
Remote IP served on all 11 probes: 160.79.104.10 (no drift)
---
HTTP/2 401
request-id: req_011CaCnTouozV24ACN1UypoT
server: cloudflare
cf-ray: 9eea680afe7cbd1f-ORD
x-envoy-upstream-service-time: 77
body: {"type":"error","error":{"type":"authentication_error","message":"invalid x-api-key"}}
Total elapsed: 60.46s (connection held open across the full upload)
Result: clean 401 — server stayed alive for the entire upload window; no reset.
---
Total api_error rows: 325
All 325 are code=ECONNRESET
Distinct sessions with at least one ECONNRESET: 17
Distinct sessionIds referenced in error records: 33
Distinct projects affected: 11 (enumerated project-A .. project-K)
Distinct Claude Code versions seen in error records: 13RAW_BUFFERClick to expand / collapse
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 consistently fails with API Error: Unable to connect to API (ECONNRESET) against https://api.anthropic.com/v1/messages?beta=true after exhausting its 10-retry budget, specifically on long-running turns in sessions with large accumulated context (>=6MB JSONL). These are mid-stream resets — the server has already accepted the request and begun streaming the response when the socket is RST'd. ~345 ECONNRESETs across 20+ sessions, 11 projects, 13 Claude Code versions, over 5 weeks. Ongoing as of 2026-04-20.
What Should Happen?
Long-running streaming responses on large-context sessions should complete without the connection being killed mid-stream. If the server-side has a wall-clock or stream budget that the request exceeds, Claude Code should (a) receive a clean HTTP error rather than a raw TCP RST, (b) offer to compact the session after repeated failures on the same turn rather than burning all 10 retries on a request that will never succeed, and (c) log enough detail (request-id, cf-ray, HTTP/2 stream close reason) for users to correlate with server-side logs.
Error Messages/Logs
{
"subtype": "api_error",
"cause": {"code":"ECONNRESET","path":"https://api.anthropic.com/v1/messages?beta=true","errno":0},
"retryInMs": 503.10,
"retryAttempt": 1,
"maxRetries": 10,
"timestamp": "2026-04-14T03:07:30.074Z",
"sessionId": "fab7edcc-b849-41a9-8fd0-e7b667fef8d3",
"version": "2.1.104"
}
Retry decay: retry-1 recovers 64%, retry-2 recovers 23%, retry-3+ near 0%. Once a large request fails 3x, retries 4–10 are wasted.
62 separate HTTP 529 overloaded_error responses (with clean headers including request-id, cf-ray) show that Anthropic's backend can return proper HTTP errors — the ECONNRESET path is a different, ungraceful failure mode (likely worker killed or LB timeout with no response).Steps to Reproduce
- Start a Claude Code session and work it for multiple hours with heavy tool use (file reads, grep, bash, subagents) until the session JSONL exceeds ~6MB.
- Issue a prompt that requires a long generation or many tool-call round-trips in a single turn.
- Observe API Error: Unable to connect to API (ECONNRESET) after retries are exhausted (~10–20 minutes of retrying).
Key data: sessions >= 6MB are 1.8% of all sessions but carry 74.6% of ECONNRESETs. Full 41KB diagnostic report with network probes, temporal analysis, hypothesis ranking, and anonymized session data is attached below.
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
2.1.72, 2.1.76, 2.1.77, 2.1.86, 2.1.87, 2.1.92, 2.1.104, 2.1.105, 2.1.107, 2.1.108, 2.1.110, 2.1.112, 2.1.114
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
De-identified diagnostic report prepared from ~/.claude/projects/ session logs, OS diagnostics, and live probes. Machine: macOS 26.3 on Apple Silicon iMac, ~600 Claude Code sessions logged since 2026-02, Claude Code versions 2.1.39 through 2.1.114.
1. Summary
- What:
API Error: Unable to connect to API (ECONNRESET)againsthttps://api.anthropic.com/v1/messages?beta=true, after Claude Code exhausts its 10-retry budget. Session dies mid-turn with a synthetic assistant message. - Scale: ~345
ECONNRESETapi_errorrecords across at least 20 Claude Code sessions spanning 11 distinct projects over roughly five weeks (first: 2026-03-17, last: 2026-04-20 — see §1.1 for incremental 24 h refresh). At least 30 turns died with a synthetic<synthetic>"API Error" message (i.e., retries did not recover). 8+ sessions hitmaxRetries=10. Failures are ongoing, not historical. - Severity: Real work loss. Every synthetic error is a turn that had to be re-issued, losing partial tool-call state and burning time.
- Connect-path is healthy at rest — TCP handshake 22–29 ms, TLS 1.3 handshake 51–54 ms, handshake success rate 100% on three separate probe rounds (including a second round run at the end of this investigation). These are mid-stream resets, not connect-time failures: the server has already accepted the request and begun writing the response when the socket is RST'd.
- Top suspected cause (ranked #1): a large-context × long-running-turn failure mode. 129 of 173 errors attributable to file size (~75%) occurred on sessions
>= 6 MBof accumulated context (which represent only ~1.8% of all sessions on disk). The single longest failing turn ran 20.7 minutes across 66 messages. This is exactly the shape of request that is vulnerable to (a) intermediate CGNAT/NAT conntrack eviction and (b) CDN/LB idle-stream timeouts. - Strong secondary signal (ranked #2): system-wide network disruption in the home-ISP path is responsible for a subset of the errors — the Claude desktop app's
main.logrecordednet::ERR_INTERNET_DISCONNECTEDon exactly the same local-hour buckets where the CLI saw its biggest error bursts (e.g., 64 disconnects / 71 CLI resets in the same local hour of 2026-04-16 07:00). That tells us some resets are not an Anthropic-side problem, but mode #1 (the large-context pattern) accounts for most errors. - Important correction to the baseline prompt:
api.anthropic.comis Cloudflare-fronted (response headersserver: cloudflare,cf-ray: ...-ORD,cf-cache-status: DYNAMICpresent on successful requests; Envoy upstream header present too). The edge IP (160.79.104.10/ ASN-owned160.79.104.0/24) is Anthropic-allocated but Cloudflare announces it. Any Cloudflare-specific reset hypothesis is therefore back on the table.
1.1 Refresh — 2026-04-20 (24 h after initial report)
Report was rescanned against ~/.claude/projects/*/*.jsonl 24 hours after the initial data pull. Failure pattern is continuing, not resolved.
New activity since the initial cutoff (~2026-04-19 08:10 UTC):
| Burst | Local time (Central) | UTC window | Errors | Outcome |
|---|---|---|---|---|
| 1 | 2026-04-19 04:24 | 2026-04-19 09:24 | (synthetic-error turn only) | retries exhausted, turn died |
| 2 | 2026-04-19 07:21–07:30 | 2026-04-19 12:21–12:30 | 7 | retries exhausted, turn died |
| 3 | 2026-04-19 22:38–23:29 | 2026-04-20 03:38–04:29 | 13 | retries exhausted, turn died |
New sessions added to the affected list since initial cutoff:
| Session (suffix) | Project | Size | New errors | Bucket |
|---|---|---|---|---|
d649619d-… | project-A | 7.9 MB | 10 | >= 6 MB |
bf563dca-… | project-A | 11 MB | 10 | >= 6 MB (new extreme) |
9f6daddd-… | project-B | 8.1 MB | 13 | >= 6 MB |
- 0 new projects affected (all three sessions are in projects already in the original 11-project list).
- 100% of new sessions are
>= 6 MB. The 11 MB session is the largest on record — all 10 of its ECONNRESETs occurred on sessions that had already exceeded the size threshold H1 predicts. - The new bursts show the same shape as the historical ones: tight 5–50 minute clusters on one session, ending in retry exhaustion and a synthetic error turn.
- Retry-decay curve continues to match H1: burst 2 produced 7 errors in 9 minutes (one retry attempt per error, none recovering). Burst 3 produced 13 errors in 51 minutes. Consistent with "budget won't admit this request" rather than intermittent transport flaps.
Implication: Every new data point since the report was written is consistent with H1 (large-context × long-generation mid-stream reset) and weighs further against any hypothesis that implicates a transient / one-off cause. This is a persistent, reproducible failure mode on this account, and it is continuing to happen as of the most recent data point (2026-04-20 04:29 UTC).
Live occurrence during this refresh. While rescanning the session logs and drafting this update, the live Claude Code session drafting the report itself experienced a ~5+ minute unresponsive period with no user-visible output before recovering — consistent with the same mid-stream-stall symptom described in H1. The session's ID is available on request for correlation with server-side logs.
2. Environment (de-identified)
| Field | Value |
|---|---|
| Machine | Apple Silicon iMac, arm64 |
| macOS | 26.3 (build 25D125) |
| Kernel | Darwin 25.3.0 (RELEASE_ARM64_T8132) |
| Shell | zsh |
| Node | v24.13.1 |
| Claude Code versions (seen in error data) | 2.1.72, 2.1.76, 2.1.77, 2.1.86, 2.1.87, 2.1.92, 2.1.104, 2.1.105, 2.1.107, 2.1.108, 2.1.110, 2.1.112, 2.1.114 (current) |
| Active interface | Wi-Fi (en1), 802.11ac, 5 GHz ch 157, 80 MHz, MCS 5, tx 520 Mbps, signal −66 dBm / noise −94 dBm (28 dB SNR) |
| Gateway | RFC1918 (home router, redacted) |
| Public egress | 98.63.x.x, Comcast Cable Communications LLC, AS7922, Chicago IL |
| ISP upstream path | CGNAT (hop 3 is in 100.64.0.0/10 / RFC 6598) → Comcast regional → Comcast iBone → Cloudflare edge (AS13335) → Anthropic origin 160.79.104.10 |
| IPv6 | AAAA present for api.anthropic.com (2607:6bc0::10); resolver returns both A and AAAA |
| Proxy / VPN / filter apps | None present (no Little Snitch, LuLu, Tailscale, WireGuard, Charles, Proxyman, mitmproxy, Wireshark, ZeroTier, Cloudflared); $http_proxy / $https_proxy not set |
pfctl rules | not inspected — sudo aborted on follow-up (see §9); expected empty / default based on all other evidence |
| Bluetooth-Wi-Fi coexistence | Disabled on both 2.4 & 5 GHz bands (wdutil info) — rules out BT coex as a drop cause |
| IPv6 global address | None (link-local only) — rules out IPv6 path issues for API traffic |
Claude settings.json | defaultMode: bypassPermissions, skipDangerousModePermissionPrompt: true, enabledPlugins: { swift-lsp@claude-plugins-official: true }, no MCP servers, no hooks at user level |
| Global MCP servers | 0 |
| Global hooks | 0 |
3. Error inventory
3.1 Error codes (all api_error events across all sessions)
| Code | Count | Path |
|---|---|---|
ECONNRESET | 325 (100%) | https://api.anthropic.com/v1/messages?beta=true (238) / null path-field (87) |
ETIMEDOUT | 0 (in api_error events) | |
EAI_AGAIN | 0 | |
ECONNREFUSED | 0 at the API layer (5 tool-level occurrences were for localhost subprocess tools, unrelated) |
Other HTTP status-code errors captured in session data but not classified as api_error:
| HTTP | Count | Error type |
|---|---|---|
| 529 | 62 | overloaded_error (Anthropic server-side, x-should-retry: true) |
| 502 | 1 | |
| 500 | 1 |
3.2 By Claude Code version (errors divided by observed session count on that version)
| Version | Error count | Sessions on that version (approx, via first-event sampling) | Normalized |
|---|---|---|---|
| 2.1.112 | 93 | — | high |
| 2.1.87 | 77 | 33 | 2.33 err/sess |
| 2.1.110 | 39 | — | high |
| 2.1.76 | 30 | 20 | 1.50 err/sess |
| 2.1.105 | 20 | — | |
| 2.1.77 | 19 | — | |
| 2.1.92 | 13 | 12 | 1.08 err/sess |
| 2.1.114 | 12 | (current) | |
| 2.1.107 | 10 | — | |
| 2.1.72 | 9 | 50 | 0.18 err/sess |
| 2.1.104 | 1 | 12 | 0.08 err/sess |
No clean pre/post-version cliff. Errors appear across 13 versions spanning roughly 3 months of client releases. The per-session error rate does appear higher on 2.1.87 and later (2.33 and above) than on earlier versions (0.08–0.18), but that's confounded with a change in usage pattern (user moved to larger, longer-running sessions in the same period). Not a strong regression signal; included for completeness so Anthropic can compare against release diffs.
3.3 By model
Of the 17 sessions where ECONNRESETs were actually stored:
| Model used in session | Sessions | Errors | Err/session |
|---|---|---|---|
claude-opus-4-6 only | 8 | 67 | 8.4 |
claude-opus-4-7 only | 8 | 71 | 8.9 |
| Both 4-6 and 4-7 (continued session) | 1 | 35 | 35.0 |
No [1m] (1M-context) variant appeared in any error-containing session. The long-running 1M-context usage on this machine is isolated to subagent jsonl files that did not ECONNRESET. So the 1M-context model is not implicated; the Opus 4-6 and 4-7 standard-context variants fail at roughly the same rate. The outlier is the one session that spanned a 4-6 → 4-7 version change, which also happens to be the largest session on disk.
3.4 By project (enumerated as project-A .. project-K in first-seen order)
11 distinct project directories had at least one ECONNRESET. Most errors concentrate in a handful of large ongoing projects:
| Project | ECONNRESET count |
|---|---|
| project-I | 64 |
| project-K | 54 |
| project-F | 23 |
| project-J | 17 |
| project-B | 8 |
| project-A | 3 |
| project-E | 3 |
| project-D | 1 |
| project-C, project-G, project-H | 0 each (had other errors only) |
Errors do not cluster by project; they cluster by project size on disk, which covaries with how much active work I did in that project.
3.5 By session size bucket (the most important cut)
Bucketing the 17 sessions that actually contain ECONNRESET records against the 1,582 total sessions on disk:
| jsonl size | Sessions on disk | Sessions with ECONNRESET | Total errors | Errors / affected session |
|---|---|---|---|---|
< 1 MB | 1,464 (92.5%) | 2 | 4 | 2.0 |
1–3 MB | 73 (4.6%) | 2 | 35 | 17.5 |
3–6 MB | 17 (1.1%) | 1 | 5 | 5.0 |
>= 6 MB | 28 (1.8%) | 9 | 129 | 14.3 |
Reading: 1.8% of sessions (the >= 6 MB bucket) carry 74.6% of the ECONNRESETs. That is a huge selection signal. Large accumulated context → large request body on every subsequent turn → more wire time per turn → more exposure to whatever is resetting the stream.
3.6 Retry behavior
maxRetries is always 10. Per-retry counts and recovery rates:
| Retry attempt | Triggered | Recovered at this step | Recovery rate |
|---|---|---|---|
| 1 | 110 | 70 | 63.6% |
| 2 | 40 | 9 | 22.5% |
| 3 | 31 | 4 | 12.9% |
| 4 | 27 | 3 | 11.1% |
| 5 | 24 | 1 | 4.2% |
| 6 | 23 | 2 | 8.7% |
| 7 | 21 | 3 | 14.3% |
| 8 | 18 | 1 | 5.6% |
| 9 | 17 | 3 | 17.6% |
| 10 | 14 | 0 (hit max) | 0% |
Retry-1 cures ~64% of cases; retry-2 drops sharply to 22.5%; after retry 2 the retries are nearly useless. Once the large request has failed three times in a row, it almost never succeeds on subsequent retries. This is strongly consistent with "the request itself is too large / too slow to ever fit in whatever idle-or-duration budget is killing the stream" — not with "transient packet loss that retries would cure."
3.7 Time-gap to preceding event
For every failing request, measured wall-clock gap between the preceding session event and the error:
| Gap | Count |
|---|---|
| < 1 s | 31 |
| 1–10 s | 57 |
| 10–60 s | 154 |
| 1–5 min | 75 |
| 5–30 min | 8 |
| > 30 min | 0 |
Median 46 s; 90th percentile 98 s. Zero errors where the session had been idle more than 30 minutes. This falsifies the "stale overnight socket first-request fails" hypothesis — the affected sessions were all actively in use when the reset happened.
4. Temporal patterns
4.1 Per UTC day (top ten)
2026-04-16 ██████████████████████████████████████████████████ 99
2026-04-17 ████████████████████████████████████████████████ 93
2026-04-14 ███████████████████████ 49
2026-03-27 ██████████████ 30
2026-03-17 █████████████ 28
2026-04-18 █████ 11
2026-04-15 ████ 8
2026-04-09 ██ 4
2026-03-28 ▏ 1
2026-03-30 ▏ 1Roughly the whole error mass lands on a handful of days (April 14, 16, 17). This is burst behavior: 55% of errors fall within 60 seconds of another error (181 / 325). 36 distinct "bursts" (>= 2 events within 60 s).
4.2 Per local hour-of-day (Central, UTC−5)
00 ████████████████ 16
02 ▏ 1
07 ████████████████████████████████████████████████████████████████████████████████████████████████████████ 103
08 █████████████████████████ 25
09 ████ 4
10 ██████████ 10
11 ██████████████████████ 22
12 ████████████ 12
13 ██ 2
14 ████████ 8
15 ███ 3
16 ████████████████████████████ 28
18 ▏ 1
20 █████████████████████████ 25
21 ███████████ 11
22 █████████████████████████████████████ 37
23 █████████████████ 17Errors span the whole day. 07:00 Central dominates because one bad morning (2026-04-16) had a large burst. Removing that one day flattens the distribution, meaning there is no consistent time-of-day pattern — it's not "morning only" or "evening only."
4.3 Per weekday (UTC)
Thu (103), Fri (123), Tue (77), Sat (12), Wed (8), Sun (1), Mon (1). This tracks my actual working pattern rather than any network pattern.
4.4 Burst structure
36 bursts, 181 errors inside bursts (55%). The typical burst shape is: one turn fails, gets retried, retry fails, retry-of-retry fails — so a single underlying "bad request" can contribute 5–10 events rapid-fire. That inflates the raw count and means the unique-turn failure rate is closer to 36 bursts + ~144 singletons = on the order of 180 distinct turn failures across the period.
5. Network diagnostic results
5.1 Baseline (from prompt, ~07:50 UTC)
GET https://status.anthropic.com/api/v2/status.json
→ {"status":{"indicator":"none","description":"All Systems Operational"}}
Unresolved incidents: 0 (2026-04-19T06:27:55Z)| Probe | HTTP | Total | TCP | TLS | TTFB |
|---|---|---|---|---|---|
| baseline 1 | 405 | 79 ms | 27 ms | 54 ms | 78 ms |
| baseline 2 | 405 | 91 ms | 29 ms | 51 ms | 91 ms |
| baseline 3 | 405 | 76 ms | 22 ms | 53 ms | 76 ms |
5.2 Mid-investigation probe
| Probe | HTTP | Total | TCP | TLS-complete | TTFB |
|---|---|---|---|---|---|
| mid 1 | 405 | 77 ms | 27 ms | 52 ms | 77 ms |
| mid 2 | 405 | 85 ms | 20 ms | 55 ms | 83 ms |
| mid 3 | 405 | 90 ms | 28 ms | 64 ms | 90 ms |
| mid 4 | 405 | 81 ms | 25 ms | 56 ms | 81 ms |
| mid 5 | 405 | 68 ms | 17 ms | 44 ms | 68 ms |
5.3 Second-round probe (end of Phase 2)
| Probe | HTTP | Total | TCP | TLS | TTFB |
|---|---|---|---|---|---|
| round2 1 | 405 | 95 ms | 26 ms | 58 ms | 95 ms |
| round2 2 | 405 | 88 ms | 29 ms | 62 ms | 87 ms |
| round2 3 | 405 | 77 ms | 22 ms | 50 ms | 77 ms |
All 11 handshake attempts succeeded; remote IP was 160.79.104.10 on every attempt. No drift, no reset at handshake.
5.4 Long-lived POST probe (60 seconds of slow upload)
POST /v1/messages HTTP/2 (body written 1 byte/second for 60s)
< HTTP/2 401
< request-id: req_011CaCnTouozV24ACN1UypoT
< server: cloudflare
< cf-ray: 9eea680afe7cbd1f-ORD
< x-envoy-upstream-service-time: 77
{"type":"error","error":{"type":"authentication_error","message":"invalid x-api-key"}}The server stayed on the line for the full 60 seconds and returned a clean 401. Confirms that idle-during-upload does not trigger a mid-stream reset on this endpoint. The reset mechanism is specific to streaming response bodies, not slow uploads. Confirms Cloudflare + Envoy upstream in the serving path.
5.5 DNS
api.anthropic.com. A 160.79.104.10
api.anthropic.com. AAAA 2607:6bc0::10
NS: gemma.ns.cloudflare.com, nico.ns.cloudflare.com5.6 Ping (10 packets)
10 packets transmitted, 10 packets received, 0.0% packet loss
min/avg/max/stddev = 13.753/21.961/27.084/3.666 msHealthy; small stddev.
5.7 Traceroute (ASN boundaries only; intermediate hop IPs omitted)
1 home router (RFC 1918)
2 cable-modem (RFC 1918)
3 Comcast CGNAT (RFC 6598 / 100.64.0.0/10)
4-7 Comcast regional aggregation (AS7922)
8-9 Comcast iBone peering to Cloudflare (AS7922 → AS13335)
10-11 Cloudflare edge (AS13335)
12 160.79.104.10 target (announced by Cloudflare, Anthropic prefix)Notable: hop 3 is CGNAT (RFC 6598), so Comcast is NAT'ing the egress. Long-lived TCP flows are exposed to Comcast's CGNAT conntrack timer, which is not externally tunable.
5.8 TLS
TLSv1.3 with TLS_AES_256_GCM_SHA384 (handshake probe) and in-band AEAD-CHACHA20-POLY1305-SHA256 (curl baseline); cert issuer C=US, O=Google Trust Services, CN=WE1, subject CN api.anthropic.com, verify return code 0.
6. Link-event correlation (local Wi-Fi / network flaps)
6.1 Claude Code CLI ECONNRESET bursts vs Claude desktop-app main.log network disconnects
I had not expected the desktop app's log to be informative, but it produced the cleanest cross-source signal in the whole investigation. Same machine, same network, different process.
The desktop app logs net::ERR_NETWORK_CHANGED and net::ERR_INTERNET_DISCONNECTED to ~/Library/Logs/Claude/main.log whenever Chromium's network stack sees a local connectivity flap. Aligning by local hour:
| Local hour | CLI ECONNRESETs | Desktop app net-disconnect events |
|---|---|---|
| 2026-04-14 22:00 | 8 | 2 |
| 2026-04-16 07:00 | 71 | 64 |
| 2026-04-16 08:00 | 9 | 6 |
| 2026-04-16 22:00 | 15 | 5 |
| 2026-04-17 12:00 | 12 | 10 |
The 04-16 07:00 event in particular — 64 desktop-app ERR_INTERNET_DISCONNECTED events and 71 CLI ECONNRESETs in the same local hour — is a local-side network disruption, not an Anthropic server issue. Two independent processes on two different network stacks (Node/undici for the CLI, Chromium for the desktop app) both saw loss at the same wallclock moment.
6.2 macOS log show link events and live Wi-Fi state
Initially skipped for lack of sudo; follow-up capture run with elevated privileges.
Live Wi-Fi state (sudo wdutil info, captured 2026-04-19 08:29:46 UTC):
| Metric | Value | Read |
|---|---|---|
| RSSI | −66 dBm | Moderate; borderline for long high-throughput 5 GHz flows |
| Noise | −94 dBm | Normal |
| SNR | 28 dB | Acceptable but not great |
| CCA (channel utilization) | 30 % | Moderately busy channel |
| Channel | 5 GHz ch 157, 80 MHz | Valid UNII-3; supports 6 GHz but not using it |
| PHY / MCS / NSS | 802.11ac, MCS 5, 2 spatial streams | Healthy |
| Tx rate | 520 Mbps | Normal for MCS 5 / 80 MHz / 2 streams |
| BT coex profile (2.4 & 5 GHz) | Disabled | Rules out Bluetooth-Wi-Fi coexistence as a drop cause |
| IPv6 | Link-local only, no global address | Rules out IPv6 path issues for API traffic |
| DNS resolvers | Comcast public (75.75.75.75 / 75.75.76.76) | No custom DNS / no VPN / no DoH interference |
| Active BT devices | 1 connected (HID mouse) | Not a high-bandwidth coexistence source |
Wi-Fi debug log (sudo log show --last 72h --info --debug --predicate 'subsystem == "com.apple.wifi"', filtered for deauth|disassoc|reassoc|roam|beacon.?(miss|loss)|link.?(down|up)|disconnect|wake|power|bt.?coex):
Zero matches in 72 hours.
This is now an affirmative result, not an artifact of missing privileges: with --info --debug and sudo, macOS's unified log would surface deauth / disassoc / roam / beacon-loss events if any had been recorded. None were. That meaningfully shifts the interpretation of the 22% local-correlation signal from §6.1:
- The
ERR_INTERNET_DISCONNECTEDevents that Chromium logged at the same local hours as CLIECONNRESETbursts are not caused by Wi-Fi link-layer drops on this machine. - They are therefore TCP/IP-layer or higher — consistent with CGNAT conntrack eviction, ISP-edge flaps, or router NAT pressure (hypothesis H2), not with physical Wi-Fi instability.
- The −66 dBm / 28 dB SNR is merely a weak compounding factor on long flows (higher retransmit rate under marginal signal), not a root cause.
6.3 Net: some fraction of ECONNRESETs are local-network-caused
71 / 325 = ~22% of CLI ECONNRESETs fall in a local hour where the desktop app also recorded ERR_INTERNET_DISCONNECTED. That's a lower bound — the desktop app only logs when it's running, and it wasn't running for most of the sample. The true "local-network-caused" share is plausibly higher. But even under generous assumptions, the majority of resets are NOT co-timed with any desktop-app disconnect event, which means there is almost certainly a second failure mode not explained by local connectivity — see hypothesis #1 below.
7. Ranked hypotheses
H1 — Anthropic edge / Cloudflare / LB terminates long streaming responses on large-context requests (most likely primary cause of the 75%+ of errors that don't co-time with local net flaps)
Mechanism. Session has accumulated >6 MB of conversation history. Every subsequent turn sends that whole context as the request body, and the model's response to a big request can run multi-minute. The connection is a single HTTP/2 stream held open for the duration of the generation. Somewhere in Cloudflare → Envoy → inference worker, a per-request wall-clock budget or per-stream idle timer expires, and instead of a clean 5xx the stream is TCP RST'd, which surfaces as ECONNRESET in Node's undici client.
Evidence in this data.
- 74.6% of errors come from the
>= 6 MBsession-size bucket, which is 1.8% of sessions on disk. - Errors cluster in bursts (55% within 60 s of another) because retries of the same giant request hit the same budget again.
- Retry-1 success rate is 64% but retry-2+ is 5–22% — once the request has timed out twice, no amount of retrying helps. Classic "this request will never fit."
- Longest failing turn is 20.7 minutes / 66 messages. Second longest 16.4 min / 237 messages. Turns of this length are well beyond typical CDN / LB idle-timeout defaults.
- The 1M-context Opus variant (
claude-opus-4-7[1m]) was in active use during at least some of the error-containing sessions (per user testimony; the on-diskmessage.modelfield does not distinguish the 1M tier from standard context, so this cannot be confirmed from logs alone). On the 1M tier, both the request payload and the potentially-distinct backend routing could compound the failure mode — making the 1M variant a strong candidate for the dominant failure surface. - Median gap from preceding event to failure is only 46 s, 90p 98 s. Sessions are not idle; the socket is not stale. This isn't a first-request-after-nap failure.
- Mid-request-header
cf-ray,server: cloudflare,x-envoy-upstream-service-timeon successful responses confirms the architecture. - 62 separate
HTTP 529 overloaded_errorresponses (withx-should-retry: true) already seen for this account — Anthropic's backend does acknowledge overload sometimes with a clean HTTP response, which makes the silent TCP-RST path look like a different failure mode (maybe the worker is killed ungracefully when it exceeds budget rather than returning a proper 529/503).
What would falsify.
- If compacting a 9 MB session down to 1 MB and re-issuing the same prompt completes cleanly, H1 is strongly supported.
- If the 1 MB compacted session also resets, H1 is weakened.
- If Anthropic confirms no per-stream or per-request wall-clock budget exists at the edge/LB that could produce silent RSTs, H1 is falsified.
What Anthropic can do to confirm.
- Correlate the session IDs /
request-idheaders in Appendix A with edge/LB logs to see whether the RSTs are Cloudflare → origin, origin → inference worker, or inference worker → CPU-killed. - Expose the
x-request-idresponse header to the Claude Code client even on early-RST so users can include it in bug reports.
H2 — Home Comcast CGNAT / consumer router conntrack eviction on long-lived streams (secondary cause; explains the ~22% that co-time with local disconnects and possibly more)
Mechanism. Hop 3 on the traceroute is an RFC 6598 CGNAT address (100.64.0.0/10 range). Comcast's CGNAT and most consumer routers maintain a conntrack table with a finite TCP idle timeout (typical defaults: 300 s – 7200 s, but entries can also be evicted under pressure before timeout). A single streaming HTTP/2 response can have minutes of quiet wall-clock inside it while the model generates tokens. If the conntrack entry is evicted mid-stream, the router / CGNAT silently drops subsequent packets, the server keepalives fail, and the server RSTs the half-open connection.
Evidence in this data.
- Desktop-app
main.logrecorded simultaneousERR_INTERNET_DISCONNECTED/ERR_NETWORK_CHANGEDevents alongside ~22% of CLI errors (per-hour alignment), indicating something local is breaking connectivity for both processes at the same time. - Ping / handshake at rest is perfect but that doesn't exercise a long-lived flow.
- Wi-Fi SNR is 28 dB (mediocre 5 GHz on channel 157), which could contribute to occasional link-layer retransmits on long flows — but debug-level Wi-Fi logs for the last 72 h show no deauth/disassoc/roam/beacon-loss events, so the Wi-Fi link itself is not dropping. Whatever the local cause is, it sits at the TCP/IP layer or above (consistent with CGNAT conntrack or router NAT pressure), not at the physical link layer.
What would falsify.
- If moving to Ethernet eliminates the ECONNRESETs, or if running Claude Code through Tailscale (which changes the CGNAT path) eliminates them, H2 is supported.
- If Anthropic logs show the RST came from their side first (FIN / RST initiated by Envoy / origin), H2 is falsified.
What Anthropic can do to help.
- Implement more aggressive TCP keepalive on the streaming socket in Claude Code's HTTP client. Default Node
undicidoes not setSO_KEEPALIVEwith short intervals. Even a 30 s keepalive probe would refresh the CGNAT entry and catch half-open sockets much sooner, converting this class of failure fromECONNRESET(unclear who's to blame) into a cleaner "connection lost" that retry can cure. - Surface a
CLAUDE_CODE_TCP_KEEPALIVE_MSenv var so I can tune this myself.
H3 — Comcast / ISP-level connectivity instability during peak hours (contributes to H2's 22%)
Mechanism. Residential Comcast in Chicago has well-documented evening/morning reliability issues (peak-hour congestion, node rebalancing). My household shares an Xfinity xFi Advanced Gateway modem/router. A brief backbone hiccup or node rebalance would disconnect all open TCP flows.
Evidence in this data.
main.logshowed 64ERR_INTERNET_DISCONNECTEDin a single hour on 2026-04-16 07:00 Central. That is not "one stream reset" — that is "the internet went away and came back."- Peak local hours for errors (07, 11, 16, 20, 22 Central) correlate with typical residential Comcast congestion patterns.
What would falsify. Running Claude Code from a different ISP / cellular tether during the same time window and seeing the same reset pattern would falsify it. (Not done in this investigation.)
What Anthropic can do. Nothing — this is an ISP issue. But Anthropic's retry logic should be better at recovering from a 5-second connectivity gap. The current retry schedule is retrying inside the window the ISP is still down.
H4 — Claude Code HTTP/2 flow-control / stream-concurrency quirk under large requests (possible contributor)
Mechanism. HTTP/2 connection-level flow control has SETTINGS_INITIAL_WINDOW_SIZE and per-stream windows. If a very large POST body is being sent and the server hasn't issued enough WINDOW_UPDATE frames, or if the response body is being read slowly by the client during tool-call processing, stream can stall. Some middleboxes RST HTTP/2 streams that stall for too long.
Evidence in this data.
- Long-running turns (20 minutes, 200+ messages in-turn) were the ones that failed. Those are exactly when multiple tool-calls / sub-agents are running and the client might be blocking before reading the next chunk.
- 401 long-upload probe completed fine, so basic flow control is OK at small data volumes; the failure regime is specific to large data plus long duration.
What would falsify. Disable HTTP/2 in the client (force HTTP/1.1 only) and see if reset rate drops.
What Anthropic can do.
- Expose an HTTP/1.1 fallback env var in Claude Code.
- Log the specific HTTP/2 stream-close reason (GOAWAY? RST_STREAM with error code? TCP RST?) instead of collapsing everything to
ECONNRESET.
H5 — Claude Code client regression in 2.1.87+ (weak; include for completeness)
Mechanism. Normalized error-per-session rate rose from 0.08–0.18 on versions up through 2.1.72 to 2.33+ on 2.1.87 and beyond. Could be a regression in retry/streaming code.
Evidence in this data.
- Normalized ratio rises post-2.1.87.
Evidence against.
- Session sizes also grew substantially in that same window (I started doing larger multi-hour projects). Confounded with H1.
- Errors are spread across 13 versions up through the current
2.1.114, not a single version.
What would falsify. Pin to 2.1.72 and see if reset rate drops while running a >= 6 MB session.
H6 — Wi-Fi roaming / association events (ruled out)
Mechanism. Wi-Fi reassociation drops TCP.
Evidence in this data.
- Debug-level
log show --info --debugover the full Wi-Fi subsystem for the last 72 h (sudo-elevated follow-up capture) returned zerodeauth/disassoc/reassoc/roam/beacon-miss/link-downevents. This is an affirmative null, not a missing-privileges artifact. - Bluetooth-Wi-Fi coexistence profile is disabled on both 2.4 and 5 GHz bands per
wdutil info, ruling out BT coex as a drop mechanism. - Machine is a desktop iMac on Wi-Fi — it doesn't roam between APs.
- SNR 28 dB / signal −66 dBm is mediocre but does not by itself cause the kind of connection reset seen here.
Ruled out as a contributor.
H7 — IPv6 path issue (not implicated)
AAAA record is returned (2607:6bc0::10) but curl defaulted to IPv4 (160.79.104.10) on all 11 probes and got clean responses. Not pursued.
H8 — User-behavior hypotheses
- Very large accumulated contexts → see H1, SUPPORTED by data.
- Heavy 1M-context Opus usage → UNDETERMINED — plausibly supported. The
[1m]suffix does not appear in themessage.modelfield of any session jsonl (error-containing or otherwise), so the structured log cannot tell us whether 1M was active for a given failing turn. However, the user reports that the 1M-context Opus variant was in use during at least some of the error-containing sessions. This re-opens the hypothesis: failing turns on the 1M variant would involve (a) larger total request payloads and (b) potentially a different backend routing / resource tier than the standard-context path, either of which could compound the mid-stream-reset failure mode described in H1. This is a strong candidate for Anthropic-side investigation and has been added to the Asks section (log effective context-window tier per request so users can self-diagnose). - Stale overnight sessions → REJECTED: 0 errors with gap > 30 min; median gap 46 s.
- Many concurrent subagents → WEAKLY SUPPORTED: failing sessions were long turns with many messages (up to 237, 468 msg messageCounts in the turn_duration data), consistent with heavy tool-call parallelism.
- Hooks / MCP wrapping API → REJECTED: 0 user-level hooks, 0 user-level MCP servers.
bypassPermissionsmode → unrelated mechanism; it affects approval prompts, not HTTP transport./loop/ autonomous skills → Some affected sessions used autoresearch-style skills that iterate many turns; likely contributor to large context growth (indirect support for H1).
8. Asks for Anthropic
The specific, actionable asks — listed in rough order of impact — are:
- Surface the
request-id/cf-rayheader on ECONNRESET. Right now the client logs only{"code":"ECONNRESET","path":"...messages?beta=true","errno":0}. If the TCP RST happens after response headers have been received, keep them. If it happens before, try to capture thecf-rayfrom a probe request triggered at the same edge. This would let me correlate specific turn failures to Anthropic's server-side logs. See Appendix A for what we have now — it's useless for cross-correlation. - Log why the stream closed, not just the OS-level errno. Was it an HTTP/2
RST_STREAMwith a specific error code? A GOAWAY from the server? AFINthenRST? A raw TCP RST with no preceding FIN? Node / undici has access to this. Claude Code is collapsing it all toECONNRESET. - Confirm for the record: are long-running
messages?beta=truestreaming generations subject to a Cloudflareproxy_read_timeout/ Envoyroute.timeoutwall-clock limit? If yes, what is it, and does it count silent generation time or only idle time? This would let users self-diagnose whether they're hitting a known cap. - Document whether the
?beta=truequery path routes differently than non-beta. Every single API call Claude Code makes from this machine is to?beta=true(476/476 requests in the session log, including all 325 failed ones). That means the 100%-on-beta pattern is baseline, not a failure indicator — I cannot test beta-vs-non-beta from the client side because Claude Code never issues non-beta requests. If?beta=truedoes in fact share the same edge / Envoy / LB config and same timeouts as non-beta (i.e., it is purely a feature-gate flag), please confirm so this line of inquiry can be closed. If it routes differently, please document how. Note also that 1M-context Opus is gated behindanthropic-beta, so users cannot opt out of beta=true without losing the 1M tier. - Expose
CLAUDE_CODE_TCP_KEEPALIVE_MS(or equivalent) as a client env var. SettingSO_KEEPALIVEwith a short interval would refresh intermediate NAT conntrack entries (see H2) and convert some silent RSTs into cleanly-detected dead-socket events that the existing retry code can actually recover from. - Consider providing an HTTP/1.1 fallback flag (
CLAUDE_CODE_FORCE_HTTP1=1) for testing whether HTTP/2 flow-control is involved (see H4). - Consider a
--on-error=compactbehavior so that after N consecutive ECONNRESETs on the same turn, Claude Code offers to compact the session rather than silently dying with a synthetic error. For a 9 MB session that has failed 10 times, another retry will not help. - Correlate my account's request-id / cf-ray headers with your internal edge, Envoy, and inference-worker logs to determine the specific origin of the RSTs (Cloudflare edge? Envoy route timeout? Worker SIGKILL?). I can supply the Anthropic org ID out of band — see "Reply-only follow-up" at the end of this document.
- Record the effective context-window tier (standard vs 1M) in Claude Code's session jsonl and in the request metadata exposed to users. Right now the
message.modelfield is written asclaude-opus-4-7whether the 1M-context variant is active or not, so users cannot self-diagnose whether a failing turn was on the 1M tier. This matters for this issue specifically because the 1M variant may route to a different backend tier with different timeout behavior than standard context — which would let you split this failure mode by tier and see whether the dominant failure surface is 1M-specific. - If the 1M-context Opus tier uses a different edge / Envoy / inference-worker routing path than the standard-context path, please confirm and document. Several failing sessions in this data set were run on the 1M variant. If 1M has different per-request wall-clock limits, pool sizing, or connection-handling semantics, that is likely material to the root cause.
9. Commands that were skipped or failed
| Command | Status | Notes |
|---|---|---|
sudo wdutil info | Completed (follow-up capture with sudo) | Results integrated into §2 and §6.2 |
sudo log show --last 72h --info --debug --predicate 'subsystem == "com.apple.wifi"' | Completed (follow-up capture with sudo) | Zero deauth/disassoc/roam/beacon-loss events in 72 h — integrated into §6.2 and H6 |
sudo pfctl -sr | Still skipped — sudo aborted after three incorrect password attempts in the follow-up capture | Re-run in a terminal: sudo pfctl -sr | head -40. Given healthy handshakes and no evidence of local packet filtering, expected to show an empty / default ruleset; will not change any hypothesis ranking. |
/System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -I | Skipped — tool removed from modern macOS | Replaced by sudo wdutil info above |
No other commands failed; no ambiguous outputs.
Appendix A — Representative raw api_error JSONL records
Paths / cwd / slug fields stripped; sessionId, request-id, version, and structural fields retained.
{
"subtype": "api_error",
"level": "error",
"cause": {"code":"ECONNRESET","path":"https://api.anthropic.com/v1/messages?beta=true","errno":0},
"error": {"type":null,"cause":{"code":"ECONNRESET","path":"https://api.anthropic.com/v1/messages?beta=true","errno":0}},
"retryInMs": 503.10102399147405,
"retryAttempt": 1,
"maxRetries": 10,
"timestamp": "2026-04-14T03:07:30.074Z",
"sessionId": "fab7edcc-b849-41a9-8fd0-e7b667fef8d3",
"version": "2.1.104",
"gitBranch": "HEAD"
}{
"subtype": "api_error",
"cause": {"code":"ECONNRESET","path":"https://api.anthropic.com/v1/messages?beta=true","errno":0},
"retryInMs": 557.0120175956872,
"retryAttempt": 1,
"maxRetries": 10,
"timestamp": "2026-04-14T02:08:03.510Z",
"sessionId": "4c4f31b8-b773-42d2-89eb-79eafe74e87a",
"version": "2.1.92",
"gitBranch": "main"
}{
"subtype": "api_error",
"error": {},
"retryInMs": 611.7190747656514,
"retryAttempt": 1,
"maxRetries": 10,
"timestamp": "2026-04-14T02:19:48.195Z",
"sessionId": "4c4f31b8-b773-42d2-89eb-79eafe74e87a",
"version": "2.1.92",
"gitBranch": "main"
}{
"subtype": "api_error",
"cause": {"code":"ECONNRESET","path":"https://api.anthropic.com/v1/messages?beta=true","errno":0},
"retryInMs": 578.1537664332689,
"retryAttempt": 1,
"maxRetries": 10,
"timestamp": "2026-04-14T02:14:00.186Z",
"sessionId": "4c4f31b8-b773-42d2-89eb-79eafe74e87a",
"version": "2.1.92",
"gitBranch": "main"
}{
"subtype": "api_error",
"cause": {"code":"ECONNRESET","path":"https://api.anthropic.com/v1/messages?beta=true","errno":0},
"retryInMs": 586.2500581048495,
"retryAttempt": 1,
"maxRetries": 10,
"timestamp": "2026-04-14T02:15:21.968Z",
"sessionId": "4c4f31b8-b773-42d2-89eb-79eafe74e87a",
"version": "2.1.92",
"gitBranch": "main"
}Example 529 (overloaded_error) response for reference — this is what a clean Anthropic-side failure looks like, in contrast to the silent ECONNRESET:
{
"timestamp": "2026-03-17T21:48:33.224Z",
"sessionId": "aa563665-c927-4cf9-bdb6-9367059272f7",
"version": "2.1.72",
"status": {
"status": 529,
"headers": {
"request-id": "req_011CZ9PWLnL8MKuGL9LbWm4z",
"anthropic-organization-id": "[REDACTED — supplied separately]",
"server": "cloudflare",
"x-envoy-upstream-service-time": "329",
"cf-ray": "9ddf33cfda64f790-ORD",
"x-should-retry": "true"
},
"error": {
"type": "error",
"error": {"type":"overloaded_error","message":"Overloaded. https://docs.claude.com/en/api/errors"}
}
}
}Appendix B — Command outputs (redacted)
<details> <summary>OS / runtime</summary>ProductName: macOS
ProductVersion: 26.3
BuildVersion: 25D125
Darwin [HOSTNAME] 25.3.0 Darwin Kernel Version 25.3.0: Wed Jan 28 20:49:24 PST 2026; root:xnu-12377.81.4~5/RELEASE_ARM64_T8132 arm64
~/.local/bin/claude
2.1.114 (Claude Code)
Node: v24.13.1
SHELL=/bin/zshActive interface: en1 (Wi-Fi, MAC redacted)
IPv4: RFC1918 (redacted)
Default gateway: RFC1918 (redacted)
DNS:
nameserver[0] : 75.75.75.75 (Comcast)
nameserver[1] : 75.75.76.76 (Comcast)
Proxy:
ExceptionsList: [*.local, 169.254/16]
FTPPassive: 1
(no explicit HTTP/HTTPS proxy)
Env proxy: (none set)
Public egress (ipinfo):
ip: 98.63.x.x (first two octets kept per policy)
hostname: [REDACTED Comcast residential PTR]
city: Chicago
region: Illinois
org: AS7922 Comcast Cable Communications, LLCA: 160.79.104.10
AAAA: 2607:6bc0::10
Ping 10/10 received, 0% loss, avg 22 ms
Traceroute (hops 1-2 are RFC1918 private, hop 3 is RFC6598 CGNAT, middle
hops are Comcast regional → Comcast iBone peering, final hops are Cloudflare
edge / Anthropic origin):
1 [home router, RFC1918]
2 [cable modem, RFC1918]
3 [Comcast CGNAT, 100.64.0.0/10]
4-5 [Comcast regional Chicago PoP]
6-7 [Comcast aggregation]
8-9 [Comcast iBone → Cloudflare peering]
10 [Cloudflare edge, 141.101.x.x]
11 [Cloudflare edge, 141.101.x.x]
12 160.79.104.10 (api.anthropic.com)Apps matching {snitch,lulu,radio silence,murus,vallum,hands off,charles,proxyman,wireshark,tailscale,wireguard,openvpn,nord,express}: (none)
Processes matching {vpn,proxy,wireguard,openvpn,tailscale,zerotier,cloudflared,mitmproxy,charles,proxyman,pritunl,nord,expressvpn}: (none)
pgrep tailscale: (none)
pfctl: still not captured (sudo aborted after three bad password attempts in follow-up run; see §9)Interface: en1, 802.11ac, 5 GHz channel 157, 80 MHz
Signal: -66 dBm / Noise: -94 dBm (28 dB SNR)
Tx rate: 520 Mbps, MCS Index 5, NSS 2, Guard Interval 400
CCA (channel utilization): 30%
PHY modes supported: a/b/g/n/ac/ax (6E-capable hardware, not active)
Security: WPA2 Personal
Country: US
BT Coex Profile 2.4 GHz: Disabled
BT Coex Profile 5 GHz: Disabled
IPv6: link-local only (no global IPv6 — API traffic all over IPv4)
DNS resolvers: 75.75.75.75 / 75.75.76.76 (Comcast public)
Active Bluetooth devices: 1 (HID mouse; low-bandwidth)
BSSID/SSID/MACs: [REDACTED]sudo log show --last 72h --info --debug \
--predicate 'subsystem == "com.apple.wifi"' --style compact \
| grep -iE 'deauth|disassoc|reassoc|roam|beacon.?(miss|loss)|link.?(down|up)|disconnect|wake|power|bt.?coex'
(0 matches)Interpretation: debug-level Wi-Fi subsystem logging was elevated via sudo and still returned zero link-change events across 72 hours. Affirmative null — Wi-Fi link layer is not dropping.
</details> <details> <summary>TLS handshake</summary>subject=CN=api.anthropic.com
issuer=C=US, O=Google Trust Services, CN=WE1
Protocol: TLSv1.3
Cipher: TLS_AES_256_GCM_SHA384 (openssl) / AEAD-CHACHA20-POLY1305-SHA256 (curl)
ALPN: h2 negotiated (curl); openssl s_client run without -alpn shows none
verify return code: 0~/.claude/settings.json top-level keys:
enabledPlugins -> { "swift-lsp@claude-plugins-official": true }
voiceEnabled -> boolean
skipDangerousModePermissionPrompt -> true
permissions -> { "defaultMode": "bypassPermissions" }
(no mcpServers, no hooks, no env)
~/.claude/settings.local.json top-level keys:
(minimal; no mcpServers, no hooks, no env)
Per-project .claude/settings.json inspected (counts only):
one project: permissions block only
one project: enableAllProjectMcpServers, enabledMcpjsonServers, disabledMcpjsonServers, deniedMcpServers, permissions
one project: mcpServers (names redacted)
All other projects: no .claude/settings.json
Total MCP servers active in any affected session: unknown; none were implicated in stack traces.2026-04-17 12:13:15 [error] [sessions-bridge] Poll error, backing off: net::ERR_NETWORK_CHANGED
2026-04-17 12:13:17 [error] [sessions-bridge] Poll error, backing off: net::ERR_INTERNET_DISCONNECTED
2026-04-17 12:13:21 [error] [sessions-bridge] Poll error, backing off: net::ERR_INTERNET_DISCONNECTED
2026-04-17 12:13:29 [error] [sessions-bridge] Poll error, backing off: net::ERR_INTERNET_DISCONNECTED
2026-04-17 12:13:45 [error] [sessions-bridge] Poll error, backing off: net::ERR_INTERNET_DISCONNECTED
2026-04-17 12:13:53 [error] Failed to fetch blocklist: Error: net::ERR_INTERNET_DISCONNECTED
2026-04-17 12:13:53 [error] Failed to check allowlist status: Error: net::ERR_INTERNET_DISCONNECTED
2026-04-17 12:13:58 [error] [growthbook] network error: Error: net::ERR_INTERNET_DISCONNECTED
2026-04-17 12:14:15 [error] [sessions-bridge] Poll error, backing off: net::ERR_INTERNET_DISCONNECTED
2026-04-17 18:46:35 [error] [sessions-bridge] Poll error, backing off: This operation was aborted
2026-04-17 18:46:51 [error] [sessions-bridge] Poll error, backing off: This operation was aborted
2026-04-17 18:46:53 [error] [sessions-bridge] Poll error, backing off: net::ERR_INTERNET_DISCONNECTED
...baseline round (from prompt, ~07:50 UTC):
1 HTTP 405 total=79ms connect=27 tls=54 ttfb=78
2 HTTP 405 total=91ms connect=29 tls=51 ttfb=91
3 HTTP 405 total=76ms connect=22 tls=53 ttfb=76
mid-investigation (sequential, 5s spacing):
1 HTTP 405 total=77ms connect=27 tls=52 ttfb=77
2 HTTP 405 total=85ms connect=20 tls=55 ttfb=83
3 HTTP 405 total=90ms connect=28 tls=64 ttfb=90
4 HTTP 405 total=81ms connect=25 tls=56 ttfb=81
5 HTTP 405 total=68ms connect=17 tls=44 ttfb=68
end-of-phase-2 (after all other diagnostics, 3s spacing):
1 HTTP 405 total=95ms connect=26 tls=58 ttfb=95
2 HTTP 405 total=88ms connect=29 tls=62 ttfb=87
3 HTTP 405 total=77ms connect=22 tls=50 ttfb=77
Remote IP served on all 11 probes: 160.79.104.10 (no drift)HTTP/2 401
request-id: req_011CaCnTouozV24ACN1UypoT
server: cloudflare
cf-ray: 9eea680afe7cbd1f-ORD
x-envoy-upstream-service-time: 77
body: {"type":"error","error":{"type":"authentication_error","message":"invalid x-api-key"}}
Total elapsed: 60.46s (connection held open across the full upload)
Result: clean 401 — server stayed alive for the entire upload window; no reset.Total api_error rows: 325
All 325 are code=ECONNRESET
Distinct sessions with at least one ECONNRESET: 17
Distinct sessionIds referenced in error records: 33
Distinct projects affected: 11 (enumerated project-A .. project-K)
Distinct Claude Code versions seen in error records: 13extent analysis
TL;DR
The most likely fix for the API Error: Unable to connect to API (ECONNRESET) issue is to implement a retry mechanism with a shorter interval and a limited number of retries, as well as to compact the session after repeated failures on the same turn.
Guidance
- Implement a retry mechanism: Introduce a retry mechanism with a shorter interval (e.g., 30 seconds) and a limited number of retries (e.g., 3-5 attempts) to handle temporary connection issues.
- Compact the session: After repeated failures on the same turn, offer to compact the session to reduce the request payload size and prevent further timeouts.
- Log detailed error information: Log detailed error information, including the request ID, cf-ray, and HTTP/2 stream close reason, to facilitate debugging and correlation with server-side logs.
- Investigate Cloudflare and Envoy configurations: Investigate Cloudflare and Envoy configurations to determine if there are any wall-clock limits or idle timeouts that could be causing the connection resets.
- Consider using HTTP/1.1 fallback: Consider using an HTTP/1.1 fallback to test if the issue is specific to HTTP/2 flow control.
Example
No code example is provided as the issue is related to the interaction between the client and server, and the solution requires changes to the retry mechanism and logging.
Notes
The issue is likely caused by a combination of factors, including large request payloads, long-running turns, and intermediate network issues. The solution should address these factors to prevent connection resets and improve the overall reliability of the API.
Recommendation
Apply a workaround by implementing a retry mechanism with a shorter interval and a limited number of retries, as well as compacting the session after repeated failures on the same turn. This should help mitigate the issue until a more permanent solution can be implemented.
Vote matrix · Quick signals
Still need to ship something?
×6Another batch ranked right after the header list — different links, same matching logic.
TRENDING
- Feature Request: Configurable per-minute rate limiting (RPM) for models to prevent 429 errors
- Android: Hermes App + Termux install share ~/.hermes and cause silent permission loops
- hermes update emits unicode-animations ANSI demo in non-interactive logs
- hermes update downgrades aiohttp from 3.13.4 to 3.13.3
- npm install warns about deprecated @babel/plugin-proposal-private-methods
- DingTalk inbound media URLs are skipped as unreadable native image paths
- fix(dashboard): ChatPage clears header action buttons on ALL pages, not just Sessions
- [Bug]: check_web_api_key() hardcodes built-in backends — third-party web search plugins silently disabled
- Hermes Web UI 修复经验:GatewayManager 补丁、进程 D 状态、数据库升级问题
- Telegram gateway can silently drop turn after /stop with response=0 chars while internal work continues
- Bug Report: v0.14.0 上下文污染 — 历史回复碎片回注到新请求
- Bug: hermes skills search table truncates Identifier column — install fails with copied value
- [skills-index-watchdog] Skills index is stale or degraded (degraded)
- Discord approval embed not rendering on web/mobile — embed data present in API but invisible
- Idea: Discord voice-channel participation / opt-in auto-join mode
- [Feature]: Claude Code--ultrawork
- build-arm64 job deterministically fails on cold cache (Azure SAS token expires mid-build)
- [Enhancement] computer_use: action=type should fall back to key events for terminal emulators (Ghostty/Terminal.app/iTerm2)
- Feature Request: Session Recovery on Temporary Provider Outage
- [Bug]: Hermes dashboard not working on NixOS (container)
- [Feature]: Add option to ignore @all/@everyone mentions in Feishu group chats
- QQ Bot WebSocket 频繁断开:长时间工具执行阻塞 asyncio 事件循环导致心跳超时
- patch tool: new_string escape sequences (\t) get written literally
- Feature Request: i18n / 多语言支持(国际化)
- Bug: web_crawl schema lets models auto-guess "instructions" instead of asking the user via clarify
- feat: `!command` prefix for direct shell execution (like Claude Code)
- Expose currently-running cron jobs via /api/jobs (or new endpoint)
- [Bug]: Kanban parent-child handoff: scratch workspace GC destroys artifacts before child can read them
- [Bug, Windows] hermes gateway restart loses session context — planned_stop_marker not written before SIGTERM
- [Bug]: Codex→DeepSeek fallback sends assistant turns without reasoning_content → HTTP 400 (require-side cross-provider failover)
- [Bug]: Update got stuck half way, reboot it, then ModuleNotFoundError: No module named 'hermes_cli'
- Kanban dispatcher corrupt-board handling and multi-profile gateway ownership ambiguity
- Gateway can resend a short fallback message when the real final Telegram response was already delivered
- [BUG] Bedrock: Fix 'Invalid API Key format' for presigned URL tokens
- Secret redaction corrupts code syntax in tool output (write_file, execute_code, terminal)
- Unable to connect Ollama Cloud with Pro Subscription to Hermes
- feat: fuzzy substring matching for /skill autocomplete
- PRD: Autonomous market-impact prediction briefing system
- Kanban dashboard should support task/card deep links
- [Feature] Native Feishu CardKit Streaming: consolidate best-in-class implementations
- [Feature]: Inject mental model into context when using Hindsight
- Interactive CLI hides tool output despite display.tool_progress=all, and hermes chat -v does not restore it
- fix(api_server): _handle_responses drops text.format JSON schema — structured output constraints silently ignored
- state.db FTS corruption goes undetected — no integrity check, no repair path
- bug: fallback routing can select text-only models for image requests and hide the primary failure
- feat(kanban): persist worker session_id per run and pass --resume on respawn after unblock
- feat(kanban): support GitHub/OMO lifecycle bridge for Xiyou-style automation
- Expose update-safe TUI/composer hooks for voice transcript and composer events
- Hide or configure voice transcript status rows in editable dictation mode
- [Feature]: Per-Tool / Per-Toolset Approval Policies
- Context compression creates orphan sessions missing from state.db
- messaging platform
- feat: Add read-only / silent monitoring mode for WhatsApp adapter
- double-.hermes path mismatch, the HOME env var leak, and the fallback-notification UX problem
- Bug: Plattform-Bundle name `hermes-yuanbao` in `agent.disabled_toolsets` silently kills ALL tools in gateway path (Telegram + cron), CLI unaffected
- CLI /yolo (in-chat) does not bypass dangerous command approvals — env var freeze + missing enable_session_yolo call
- OpenAI Codex provider crashes with "'NoneType' object is not iterable" (HTTP None)
- DEEPSEEK_API_KEY blocked by env blocklist in gateway process — cron jobs fail with deepseek provider
- fix(feishu): Card action callback routing issues - invalid message_id and unrecognized /card command
- Discord plugin: profiles without explicit `discord:` block silently get `require_mention=true` + `auto_thread=true` (regression in cc8e5ec2a)
- [Bug]: DISCORD_ALLOWED_ROLES ignored by gateway _is_user_authorized — role-authorized users get 'Unauthorized user' rejection
- [Bug]: /new, /clear, and /reset commands freeze the terminal session
- openai-codex subscription backend returns HTTP 200 with response.output=None, causing Slack/cron failures
- RFC: Centralized Model/Provider Registry
- bug: openai-codex provider — TypeError: 'NoneType' object is not iterable on every request (gpt-5.5)
- [Feature]: Source-aware instruction gate — architectural mitigation for indirect prompt injection
- Named custom provider stale_timeout_seconds ignored because runtime provider is normalized to `custom`
- guard test (ignore)
- [Feature]: per-platform LLM request_overrides (extra_body / reasoning_effort / service_tier)
- One-shot smoke: add Flue-backed orchestration fixture
- Gateway should not treat stale Codex app-server progress as final response after post-tool silence
- `docker_run_as_host_user: true` breaks bundled skills: Hermes home is mounted into `/root/.hermes` but the container runs as a non-root user (`HOME=/home/pn`)
- [Bug]: gateway api_server streaming bypasses server-side tool-call loop when chat_template_kwargs.enable_thinking=false (model emits tool name as plain text)
- [Feature]: Pre-install python-telegram-bot in Umbrel Hermes Docker image
- YouTube Shorts filter not working in youtube-content skill
- v0.15.0 PyPI release breaks ALL platforms — plugin.yaml manifests missing from package
- RFC: On-demand tool/skill/MCP discovery — decouple schema registration from process lifecycle
- Pixshelf: local-first stock photo workflow command center
- [Bug]: baoyu infographic skill should not silently bypass image_generate
- Pixshelf v1.5: manual submission tracking for stock agencies
- `hermes config set` silently accepts unknown keys, writing them where the runtime never reads
- Honcho memory prefetch hang on fresh CLI subprocess in v0.15.0 (regression from #27190)
- [Bug] v0.15.0 Docker image: stage2-hook.sh, main-wrapper.sh missing; container_boot module removed
- Feature: Reduce cache-read token overhead for DeepSeek providers — configurable cache_ttl, skills snapshot trimming, memory compaction
- Windows: three bugs from daily use (plugin discovery, gateway exit code, Unicode decode
- holographic memory: HRR silently degrades to FTS5 when numpy is missing
- Make max_tokens configurable for aux vision calls
- Conversation compression desynchronizes session ID between agent context and gateway routing, causing silent message loss
- [Bug]: v0.15.0 Docker image:The TUI cannot be used in the dashboard.
- cron: skip_memory=True blocks fact_store/memory tools from all cron jobs
- TUI: Node.js OOM crash when agent uses browser tools repeatedly
- feat: model_profiles — per-model toolset and memory config
- Automatic background skill patching disrupts active sessions (severe impact on local models)
- ensure_hermes_home() creates root-owned dirs in profile subdirectories when kanban workers are dispatched
- Feature: opt-in webhook bypass for DISCORD_ALLOW_BOTS — allow operator-initiated probes without weakening bot-loop guard
- v0.15.0: Codex requests fail HTTP 400 when participant display_name contains non-ASCII (emoji breaks input[].name pattern)
- Architecture: State Persistence Precedence (Memory vs Skills vs Hooks)
- [Bug]: cronjob tool: create action always fails with "schedule is required for create" even when parameters are provided
- codex-oauth: 'NoneType' object is not iterable in _run_codex_stream (gpt-5.5) — every turn fails non-retryably
- Docs/Config: Plugin local scope enablement ambiguity
- [Bug]: CLI freezes after using /new command (WSL)
- Profile Codex auth can ignore global credential pool when local state is stale
- [workflow-engine] CRITICAL: variable substitution crashes on regex metachars in user input
- [workflow-engine] HIGH: loop and bash nodes leak subprocesses on timeout
- [workflow-engine] HIGH: README documents config env vars the engine never reads
- [workflow-engine] MEDIUM: workflow_run rate limit bypassable via concurrent calls (TOCTOU)
- [workflow-engine] chore: manifest gaps, side-effectful register(), dead code, unauth kanban dispatch
- [mcp_lazy] HIGH: synthetic mcp_server_<name> stub collides with a real MCP server named 'server'
- [mcp_lazy] HIGH: promote_server eager flag documented but never persisted
- [mcp_lazy] MEDIUM: _prev_mode dict leaks and goes stale; not cleared on session evict
- [mcp_lazy] MEDIUM: get_pool has unlocked check-then-set race on pool creation
- [mcp_lazy] MEDIUM: pre_tool_call gives no guidance for unpromoted server-stub calls
- [mcp_lazy] chore: undeclared pre_tool_call hook, nonexistent 'mcp_load_tools' name in docs, missing tests
- [a2a_fleet] CRITICAL: server never auto-starts — register() runs outside an event loop
- [a2a_fleet] CRITICAL: auth_required defaults to false on a cross-machine surface
- [a2a_fleet] HIGH: remove invented disable() hook — loader never calls it, port leaks on reload
- [a2a_fleet] HIGH: plugin.yaml missing kind / provides_tools / requires_env (token env undeclared)
- [a2a_fleet] MEDIUM: tighten wide-open CORS, anonymous /health peer leak, and peer-URL SSRF
- [a2a_fleet] MEDIUM: relocate tests to tests/plugins/ and cover sync-register + auth-default paths
- xai-oauth auxiliary client incorrectly uses Responses API (CodexAuxiliaryClient), causing 403 on compression/vision/web_extract
- [Bug]: Direct Copilot gpt-5.5 large resumes are killed by 12s Codex TTFB watchdog
- [Bug]: `hermes uninstall` does not work on Windows
- TUI: Thinking block leaks raw JSON and Σ character
- Hostinger VPS: migration Hermes Agent → Hermes WebUI impossible (tini + UID mismatch + sessions)
- /goal judge over-continues exploratory goals unless the assistant explicitly says the goal is complete
- /goal auto-continuation can be amplified by preflight compression/session split and resurrect stale task state
- Dashboard infinite reload loop in loopback mode — GET /api/auth/me returns 401 on every page load
- [Bug]: Provider/LLM switch leaves stale encrypted_content causing 400 errors on Telegram sessions
- [Bug]: Infinite reload loop / React state loop on Sessions tab (Firefox + Chrome) — repeated 401 on /api/auth/me (v0.15.0)
- show_reasoning should work independently of streaming in CLI mode
- Feature Request: Strip reasoning/<think> blocks from TTS preprocessing
- mcp add / mcp test raise NameError when mcp package not installed
- v0.14.0 dashboard breaks behind reverse proxies — two regressions
- Skills hub creates empty category directories when no skills installed
- [Bug]: Custom endpoint: ChatCompletions returns content, but Hermes treats response as empty (v0.14.0)
- fix: atomic_replace() fails with EXDEV when HERMES_HOME is a cross-filesystem symlink
- fix(gateway): Feishu session cancellation orphans session guard, permanently blocking messages
- Custom endpoint pricing can overestimate Crof qwen3.5-9b cost by 1,000,000x
- MCP OAuth callback: module-level port global causes port collisions and structural weaknesses vs upstream
- Bug: send_message tool bypasses validate_media_delivery_path security check
- Proposal: Add Mnemosyne to official memory provider documentation
- feat(swarm): support custom verifier/synthesizer body + skills
- Template conversion failed
- Error occurred in the operation of the agent node in the workflow.
- PubSub client overrides Sentinel client when REDIS_USE_SENTINEL is enabled
- Frontend description of the Retrieval node output does not match the actual output
- JSON type input var raise Intenal server error
- cannot extract elements from a scalar
- 负载均衡 为模型配置多组凭据,并自动调用,此功能无法选择
- add models is error
- panic: could not create filter
- Persist partially generated messages when /chat-messages/:task_id/stop is called
- MCP server connection fails with 403 — request never leaves Dify (SSRF proxy suspected)
- Support durable async execution backends for long-running workflow steps
- [Xiaomi MiMo] Credentials validation fails with 400 "Not supported model mimo-v2-flash" when using Token Plan endpoint (v0.0.7)
- After clicking preview on a parent-child segmented knowledge base, it shows 0 chunks
- Retrieval score differs between UI upload (.docx) and API upload (.txt) despite identical chunk content and embedding model
- gemini cli crash again
- Xbox gift card code damage
- Damage caused by the gemini cli crash
- ioctl(2) failed, EBADF (Bad File Descriptor)
- Feat: Support Bun as an alternative runtime/package manager for updates and extensions
- fatal error again!!!!
- ioctl error
- Critical Crash: ioctl(2) failed, EBADF in ShellExecutionService.resizePty
- ioctl(2) failed, EBADF
- v0.44.0 Regression: Critical crash with ioctl(2) failed, EBADF during PTY resize
- Crash on startup: ioctl(2) failed, EBADF in UnixTerminal.resize
- Crash: `ioctl(2) failed, EBADF` in `node-pty` during PTY resize on macOS
- Gemini CLI crashes with `ioctl(2) failed, EBADF` in `node-pty` during `resizePty`
- Remote Role
- ERROR ioctl(2) failed, EBADF /home/mich
- RangeError: Maximum call stack size exceeded
- EBADF Error during folder creationg broke session and terminal glitches
- MAIP / Gargoub Project - Mediterania - North Coast
- Gemini cli crash again in this morning
- ERROR ioctl(2) failed, EBADF
- Verified node install fails — Checksum verification failed (Cloud)
- The extended debugging key did not arrive during registration.
- CollaborationPane unmounts collaboration store on single-user instances, causing permanent "No network connection" state
- Workflow cannot be saved when the name contains "->" (Potentially malicious string)
- automation does not work and does not show an error
- Raj Ai Automation
- Default Data Loader: DOMMatrix is not defined error
- Feature: Per-node execution timestamp overlay on canvas during workflow run
- AI Agent + Vertex `gemini-3.5-flash`: 400 "missing thought_signature" on sequential multi-turn tool calls (post-#24982)
- PDF Loader in Pinecone Vector Store fails due to pdf-parse version conflict (v2 not supported)
- emailReadImap: add UID deduplication, batch size cap, and numeric uid enforcement
- Manual node execution fails with "Could not find a node" when autosave is disabled (N8N_WORKFLOWS_AUTOSAVE_DISABLED)
- Schedule Trigger stopped firing — workflow Published & active, manual executions succeed, no automated fires for 2+ hours
- [MCP SDK] create_workflow_from_code intermittently returns HTTP 500, often as a false negative (workflow persists anyway, causing duplicates on retry)
- Credential-load wedge: workflows using googleApi/jwtAuth credentials silently fail to execute after key rotation
- Google Sheets Trigger every minute is not working manual Execute is working sent email
- [BUG] Plugin marketplace MCP connector remains stuck "still connecting" when mcp-remote requires OAuth
- [redacted at user request]
- Opus 4.7 behavioral regression: loaded instruction-following discipline degraded in recent Claude Code/Cowork updates
- [BUG] Tailscale via Homebrew CLI + Mac App Store GUI, both Macs on macOS, Cowork blocked by VPN detector despite Tailscale being a mesh VPN with no traffic interception
- stopShellPty on tab switch kills active sessions (exit 143) — regression in May 27 build
- [BUG] Long URLs are broken into multiple lines and become unclickable in terminal output
- [BUG] claude rm/stop/reap SIGKILLs background session tree without SIGTERM grace, orphaning git index.lock and similar
- [BUG] Default git workflow in the system prompt was pushed without context or consent
- [MODEL] Inconsistent output quality / Ignoring instructions (overfitting and inappropriate repetition of Korean vocabulary)
- You've hit your weekly limit · resets May 31 at 5pm (Asia/Shanghai)
- Paid yearly subscription silently downgraded to Free with no user action
- [Regression v2.1.153] Plugin bash hooks fail with "echo: write error: Permission denied" on Windows (claude-mem, shell: "bash")
- [BUG] Connector toggles in conversation are not clickable — must click text label instead
- [remote-control] Input from mobile app/browser not reaching host session — output works fine
- Model fails to read/reference CLAUDE.md contents despite being loaded in context
- [BUG] Claude Desktop reinstall destroys Code chat history (transcripts + Recents) while regular Chat history, project files, and memory all survive
- Bypass mode clamps to Accept Edits even with the toggle ON (Claude Code Desktop 1.9255.2 / CC 2.1.149)
- [BUG] TUI input freezes randomly mid-typing — entire prompt becomes unresponsive for minutes
- [BUG] Cowork downloads Linux ELF binary instead of macOS binary on macOS Sonoma 14.8.7 — exit code 132 (SIGILL) on every session
- [Feature Request] Persistent project memory — sessions forget everything on close, forcing users to keep many sessions open
- [Bug] Thread context stale after sleep/resume, returns outdated date and calendar data
- [FEATURE] Add context window usage indicator and warning before auto-compaction
- [BUG] Dictation error: Invalid character in header content ["x-config-keyterms"] on Windows
- [Bug] Anthropic API Error: Server rate limiting despite normal usage
- Does delegating work to `claude -p` subprocesses reduce context accumulation in the parent session?
- [BUG] Claude Code hangs on M1 Mac when terminal says "opening browser to sign in" and browser opens
- [BUG] Claude_Preview MCP preview_start spawns dev server with main-repo cwd instead of session's worktree cwd
- [Bug] Anthropic API Error: Server rate limiting during request execution
- [Bug] Anthropic API Error: Server rate limiting on concurrent requests
- [Bug] Ultraplan ready notification fires before cloud agent completes execution
- [BUG] API 500 ERROR ALL THROUGHOUT THE DAY
- [BUG] Cowork: Live Artifacts folder path changed in 1.9255.2, no automatic migration from Documents\Claude\Artifacts
- [Bug] Auto-compact never triggers despite statusline reporting "100% context used" (v2.1.153, Max sub, 200K mode)
- [BUG] [Desktop / macOS] 'Open in → New Window' detached session: font renders smaller than main, no per-window controls, Cmd+/Cmd- keystrokes routed to main window instead
- Feature request: option to switch between classic and new minimal UI
- [Feature Request] Show timestamps for each message
- [BUG] Terminal corruption when permission prompt appears while navigating Agent Teams agent selection menu
- [FEATURE] Allow users to customize the background color of the Claude desktop app beyond the current light/dark theme presets.
- [BUG] Statusline not displaying on Windows [fixed]
- Background agent UI Stop button is a no-op for stuck agents — process keeps consuming tokens
- Background agents silently die on session pause/resume — no completion notification, no work recovery
- Add option to hide email address from welcome banner
- [BUG] SSH Remote: `projects` field in remote ~/.claude.json becomes null after desktop restart — jsonl files intact, UI shows 'No messages yet' for every session
- [Bug] Claude Code not applying fixes despite claiming to complete tasks
- billing is unfair and poorly documented
- [BUG] Claude Code on the web: declared plugins inactive on first session, require restart to fully load
- [BUG] Restore from archive deleted sessions instead of restoring them
- [BUG] M365 connector fails with AADSTS50011 in Cowork — localhost vs 127.0.0.1 redirect URI mismatch
- claude agents: workflow slash-commands missing from dispatch-input completion (regression-adjacent to #61424)
- Claude Desktop's Info.plist missing TCC usage strings, blocks all EventKit-based MCP servers
- False-positive safety blocks on self-administered governance amendments — request for owner-authority mode for verified professional users
- [BUG] Stop pushing "AUTO"-mode
- [DOCS] Plugin marketplace guide omits `skipLfs` option for git-based sources
- [DOCS] MCP docs omit combined startup notification for MCP server and connector authentication
- [DOCS] Agent view docs omit macOS Privacy & Security identity for background agents
- [DOCS] Npm update docs do not explain release-channel behavior for `claude update`
- [DOCS] Agent SDK docs omit `subagent_type: "claude"` worktree and output persistence behavior
- [DOCS] Background session docs omit `$CLAUDE_JOB_DIR` temp-file behavior
- [FR] mask env-var values in 'claude mcp get <server>' output
- [FR] subagent worktrees should not inherit stale local 'user.email' from prior dispatches
- [BUG] Windows: Grep tool leaks rg.exe + conhost.exe processes (~2000 zombies / 14 GB RAM in long sessions)
- [BUG] Stats dashboard "Peak hour" appears off by one hour
- [BUG] Diff highlight (teal SGR background) bleeds past changed text in 2.1.150–2.1.153
- [FEATURE] confirm before deleting session
- Plugin PostToolUse hooks still silently skip in Claude Desktop / Cowork (re-filing closed #51904)
- /code-review skill: silent fallback to main...HEAD reviews other people's commits, and JSON-only output is hard to read
- Monitor tool doesn't source the shell snapshot like Bash does; PATH-dependent tools (jq, sleep, etc.) fail in Monitor commands on macOS/Nix
- [Bug] Long input lines truncated with ellipsis while typing instead of wrapping in terminal UI
- [FEATURE] VS Code extension: Render submitted user messages as Markdown in chat
- OSC 52 copy from Claude TUI doesn't reach clipboard inside tmux (regression in 2.1.146–2.1.153)
- [BUG] RemoteTrigger create/update returns HTTP 400 with circular error: "event_type is required" / "unknown field event_type"
- [BUG] Option to hide or minimize the built-in "status footer" (multi-line debug/cost panel) [re-raise of #31475]
- [Bug] Feedback submissions being closed without review or action
- [FEATURE] Word-jump cursor navigation in Chat input (option+arrow / bindable actions)
- [FEATURE] ! shell mode: filesystem tab completion
- [BUG] API Error: Usage credits required for 1M context
- claude agents: OSC 52 clipboard emission broken in tmux (regression in 2.1.146–2.1.153)
- CLI crashes on macOS 15 M3 - exit code 1
- [FEATURE] Support Cmd+V image paste from clipboard
- [FEATURE] Enhance claude.ai M365 connector to support MS Planner
- [BUG] Slash command autocomplete hijacks pasted absolute file paths starting with /
- PreToolUse hook `if` filter false-positives on complex Bash commands
- [BUG] Diff panel hangs/whites out
- Feature Request: Support drag-and-drop for binary documents (.wps, .doc, .docx, .xlsx, .pdf) in VS Code extension
- [BUG] activation of 1M context in VSCode
- [FEATURE] Support i18n / language localization for built-in slash command outputs
- Ctrl+V para colar imagens deixou de funcionar no CLI (Windows, PowerShell)
- [FEATURE] Please add Norwegian (Bokmål/Nynorsk) language support to the Claude Code interface
- [BUG] OTel log events (claude_code.user_prompt, api_request_body, tool_decision, hook_execution_complete) emitted with empty trace_id/span_id while sibling spans correlate correctly
- [BUG] Cowork crashes on every message, no VM logs generated, missing AppData\Roaming\Claude
- [FEATURE] first-class session handoff + per-session token budgets for unattended runs
- [FEATURE] Smart paste: convert clipboard code to file reference chips (like Cursor)
- [Feature Request] Restore chat pin functionality to title chat submenu
- [BUG] SIGILL issues with version 2.1.153
- [BUG] Cowork plugin upload fails with generic "Plugin validation failed" when a `description` field in any SKILL.md frontmatter contains angle brackets (`<…>`)
- [BUG] Desktop App 2.1.144+: startup scanner deletes cliSessionId from claude-code-sessions local files on every launch — session not found on disk
- [Feature Request] Add keyboard shortcut to copy last message with proper formatting
- [MODEL] Opus 4.7 not 1M
- Allow naming/renaming background agents in `claude agents` view
- Stale worktrees in .claude/worktrees/ are never cleaned up, consuming massive disk space
- Agent worktrees are never cleaned up, silently consuming disk space
- Subagent worktrees not auto-cleaned when reviewer writes scratch files
- [Bug] Skill initialization hangs for extended duration in Plan Mode
- Claude Desktop writes malformed registry Run entry (nested escaped quotes) - crashes Windows Task Manager and other Run-key parsers
- IME candidate window shows at bottom-right corner instead of caret position (Windows CMD)
- [BUG] Pressing 'Escape' doesn't close the /BTW conversation when the main conversation is asking for approval
- [BUG] Opus 4.7 (1M) intermittently emits empty-string values for tool_use.input fields, killing the session
- FleetView agent UI shows "running" with incrementing elapsed time after agent has returned
- /doctor flags context-scoped cmd+c binding as macOS conflict (false positive)
- [BUG] Text Rendering in Elvish
- Desktop app: Bypass Permissions mode flips to Accept Edits on first prompt (M5 / macOS 26.5)
- [Workaround] Date-Weekday Verification Hook — Prevents Claude from writing wrong weekdays
- [BUG] Claude Code create c:/memfs directory without asking me.
- [BUG] Claude Code's Bash execution waits forever with no processes running
- [BUG] usage stays stuck waiting for 5 hr limit after upgrading to premium seat in team plan
- [Workflow tool] resume cache is unreachable for nontrivial workflows because LLM dispatchers can't transcribe args byte-exactly
- Code review (Preview): "Add a repository" shows no results for private GitHub org repos
- [BUG] /context commands blows up context
- [Feature Request] Add precache expiry hook to enable proactive compaction before token eviction
- [BUG] Context indicator shows 0% at session start despite ~20K+ tokens already loaded
- [Feature Request] Add semantic search for --resume session history
- [Feature Request] Add session search, tagging, and filtering capabilities
- [BUG] Cowork Dispatch reports "desktop not available" on Windows 11 while standard Cowork works normally
- [Bug] Claude Code provides incorrect suggestions with high confidence despite errors
- defaultMode: acceptEdits silently overrides per-path permissions.ask rules for Write/Edit
- [FEATUR configurable tip interval (e.g. tipIntervalSeconds: 30 in settings)E]
- Plugin marketplace fails to load: schema rejects 'displayName' key (v2.1.153)
- claude agents: in-session copy uses broken OSC 52 path while overview correctly uses tmux buffer
- [BUG] Plugin agent descriptions (and custom agents) load unconditionally into context — no parity with disable-model-invocation for skills
- Crashed ultrareview consumed a free credit despite producing zero findings
- [Bug] Character rendering issue - invisible or missing text display
- [BUG] Cowork: processo Claude Code encerra com código 3 — .claude.json não contém token de autenticação (Windows 11 25H2)
- [BUG] 2.1.153 silently discards tools/list response from rmcp 0.12.0 HTTP MCP server (works in 2.1.152, wire-identical handshake)
- VS Code extension: option to auto-resume last session when reopening a workspace folder
- [Bug] Conversation continuation failure
- [BUG] Cowork crashes every time I start a new chat or attempt to continue an existing one in any project. The error displayed is: "Claude Code è andato in crash
- [Bug] Unannounced quota changes
- Native update/install fails with 'socket connection was closed unexpectedly' behind proxy — undici TLS incompatibility
- [BUG] Session name reverting after manual change
- [BUG] 非正常思考,上下文过长时,一直显示思考,点击interrupt按钮失效
- Honor `tools:` frontmatter when an agent is invoked via `@mention` — strip `Task` only when the agent did not declare it
- macOS TCC popup still recurring on v2.1.153 — "2.1.153" would like to access data from other apps
- Claude Code leaks pty handles — exhausts pseudo-terminals on macOS after long session
- [Bug] Agent fails to execute or respond to user input
- [BUG] Persistent "Expecting value: line 1 column 1 (char 0)" JSON parse error after tool execution
- [Feature Request] Implement proactive unit test coverage recommendations for recurring bugs
- VS Code panel lacks status line + terminal lacks image paste in Codespaces, forcing a tradeoff
- `/powerup` only shows ~10 lessons — allow viewing the full catalog
- [Bug] Context contamination after auto-compact with unrelated email draft of Tejo/Sado Basin
- [Bug] VSCode terminal output displays corrupted text with garbled symbols
- [Feature Request] Add LaTeX/KaTeX math rendering to TUI
- [Bug] Sub-agent PR review results not validated by orchestrating agent
- Subagents on Pro 1M tier: trivial probes pass, real workloads fail at first tool call (probe-vs-workload divergence)
- Path-scoped rules and subdirectory CLAUDE.md not loaded when creating new files matching the pattern
- AskUserQuestion: cancelling during extended thinking poisons the whole session with 400 'thinking blocks cannot be modified' (2.1.153); concurrent prompts overwrite each other
- Ideas Missing from Claude Cowork Menu (Windows)
- [BUG_BOUNTY_SAFE_POC_2026] Prompt Injection RCE Test - Command Execution Proof
- [BUG] Cowork scheduled task: execution history row not showing after successful run
- Resuming an extended-thinking session fails permanently with 400 "thinking blocks cannot be modified" (transcript stores thinking text as empty but keeps signature)
- [Bug] Plugin-registered CwdChanged and FileChanged hooks don't fire (settings.json works) — v2.1.153
- Auto-archive on PR merge / branch delete — clarify autoArchiveSessions semantics or add dedicated opt-out
- `claude mcp add` echoes Authorization header value verbatim to stdout, leaks bearer tokens to terminal and session transcripts
- [BUG] Bug report — /insights skill, Claude Code The /insights skill outputs a malformed file path.
- Plugin slash commands render with '*'-inline format instead of two-column, despite matching official plugin shape
- [Bug] Unexpected long text generation without user input or goal
- [Bug] Thinking blocks causing task progression blocked without user modification
- [BUG] (Critical!) contamination by an unknown session simirlar to the report => [Bug] Context contamination after auto-compact with unrelated email draft of Tejo/Sado Basin #63137
- [Critical] Opus 4.7 Korean output degeneration — Korean grammar itself collapses in long contexts
- [BUG] Title: Autocompact buffer persists across /clear — wastes tokens for irrelevant old context
- [Bug] Auto-Compact loses user input before processing in conversation history
- Feature: per-invocation effort parameter + runtime session-config introspection for skills
- Auto-mode classifier mislabels Azure DevOps vote -5 as "Reject" when denying PR vote actions
- [BUG] Claude Desktop and Claude Code CLI never re-register MCP tools after OAuth 2.1 handshake on a remote HTTP server
- [BUG] Workspace file tags leak across sessions
- [BUG] Ink renderer crashes on Windows 11 build 26200 (Canary) duplicate banners, terminal mode leaks, mid-operation aborts
- [BUG] Claude Code Desktop issue
- PTY master fd leak in Claude desktop app exhausts macOS kern.tty.ptmx_max after ~2-3 days
- [BUG] Claude Code — Session Management after Unexpected Interruption
- [Windows] Cowork OpenTelemetry exporter does not initialize - zero events emitted to any destination, including loopback
- [Bug] Opus 4.7: 400 `thinking blocks ... cannot be modified` on long extended-thinking sessions, triggered by history-altering events (scheduled prompts / parallel tool-call cancellation)
- [BUG] API Error: Server is temporarily limiting requests (not your usage limit) · Rate limited
- Multi-plugin custom marketplace: only first plugin registered in installed_plugins.json, skills don't load
- [BUG] Git push through the SDK's git proxy fan-outs into ~500 GitHub REST API calls, exhausting the 5,000/hour budget after a handful of pushes
- [BUG] Claude took liberties it really shouldn't with my global config
- [BUG] Agent window focus lost after navigating with arrow keys, causing scroll deadlock
- [BUG] `--model` flag silently ignored in interactive sessions (works in `--print` only)
- [BUG] Dispatch permanently shows "desktop appears offline" on Windows 11 - never worked on first use
- feat: support per-command enableWeakerNetworkIsolation as safer alternative to dangerouslyDisableSandbox
- /code-review outputs a raw JSON array instead of readable findings
- [BUG] Cowork — Additional allowed domains ignored on Team plan; same domain works on Pro plan
- Haiku
- [Bug] False positive blocking beneficial outcomes in tool execution
- 3P Bedrock SSO: credentials silently expire without triggering re-auth on day 2+
- CLAUDE_AUTOCOMPACT_PCT_OVERRIDE in settings.json env block silently ignored by autocompact logic
- Auto-compaction deletes main session JSONL before verifying summary completion, causing data loss
- [Bug] Claude Code not executing stated actions or producing expected results
- [FEATURE] Deferred Messages — Queue Input for End of Turn
- [BUG] Up/Down arrows in input box navigate history instead of moving cursor — regression in 2.1.149+
- Cancelling a parallel tool-call batch corrupts thinking blocks -> 400 "thinking blocks cannot be modified" permanently wedges the session
- Claude Code caused data loss, then contradicted itself about recovery (two incidents, one session)
- [Bug] Unclear error messages from Claude Code CLI
- [Bug] Agent tool rejecting due to context size limit exceeded
- claude agents: daemon and bg-spare processes spin at ~100% CPU when idle
- [BUG] Compaction fails with "context window limit" error even when context usage is low (e.g., 20%) — regression in v2.1.153
- Remote Control entitlement lost after May 27-28 incident — `Error: Remote Control is not yet enabled for your account` on active Max subscription
- PreToolUse hook exit code 2 does not block Write tool
- [Bug] Thinking blocks in latest assistant message are immutable
- GUI: dispatch file:// and custom-scheme clicks to OS shell handler
- Show current model in statusLine by default
- [Bug] Agent console becomes unresponsive to keyboard input after multiple agents initialized
- [FEATURE] PreToolUse hooks should have a way of updating the environment
- [Bug] Unable to start or use Claude Code CLI
- [BUG] Repository not visible in Claude Code web repo picker
- Session permanently wedged on 400 "thinking blocks cannot be modified" after parallel tool_results
- [Bug] @ autocomplete loses sibling repos after a file edit in multi-repo workspace
- Unclear error message when creating sub-agent without authentication
- [Bug] Anthropic API errors causing frequent failures and high token usage
- [BUG] @ mention file picker only shows packages, not individual files (desktop app - Code tab)
- [Bug] TUI panel footer remains sticky and consumes excessive terminal space
- PR-status polling exhausts GitHub GraphQL rate limit on repos with many open PRs
- [BUG] Windows: welcome panel not shown in some project folders (2.1.153)
- [Bug] Anthropic API Error: thinking blocks corrupted during context compaction with extended thinking enabled
- API 400 "thinking blocks cannot be modified" permanently bricks session during agent activation (interleaved thinking + tool use)
- Right-click Copy copies the whole message instead of the selection; pasted text retains dark background
- Mid-session model switch corrupts conversation when extended thinking is enabled (API 400: 'thinking blocks cannot be modified')
- [BUG] Markdown file links in chat output do not open files when clicked (VS Code extension)
- Stuck retry loop: `400 thinking blocks cannot be modified` on large interleaved-thinking turns using AskUserQuestion
- [FEATURE] Prompt user for approval before auto-compaction proceeds
- Custom MCP connectors not attachable to scheduled routines — no UUID discovery path
- [BUG] Claude in Chrome — Navigation blocked for teams.cloud.microsoft and outlook.cloud.microsoft after Microsoft domain migration**
- [BUG] Claude Desktop — Personal plugins panel renders list but is entirely non-interactive (macOS, v1.9255.2)
- [Bug] error when using Workflows
- [BUG] Persistent "update available" notification despite being on latest version
- [BUG] Sweep Agent from /code-review never completes
- [Bug] Tool calls not executing or returning results
- [FEATURE] Cloud-synced memory and settings across machines
- [Bug] Terminal UI freezes when Ctrl+O view exits during interactive prompt in plan mode
- Continuous api errors when using claude code with Opus 4.7 with thinking on low
- [Feature Request] Add support for installing and using previous Claude Code versions
- [Bug] Extended Thinking: Summarized thinking blocks fail signature validation when resent to API
- [Bug] Anthropic API Error: 'thinking' blocks cannot be modified
- [Bug] Anthropic API Error: Thinking blocks cannot be modified with extended thinking mode
- Feature request: Lazy/on-demand MCP server connections
- [Bug] Tool Arguments Parsed as String Instead of Object
- [Bug] Anthropic API Error: Insufficient context provided
- [Bug] Claude Opus occasionally uses moskovian(russian) orthography instead of Ukrainian in system-prompted responses
- Opus 4.8: backgrounded task completions (subagents AND Bash) crash with 400 "thinking blocks cannot be modified"
- [Bug] Opus 4.7 fabricates stable preferences ("my default") to rationalize arbitrary choices when challenged
- [Bug] Unable to update Claude Code CLI
- [BUG] Desktop app: /remote-control mints link + connects bridge (main.log) but in-chat link/QR panel never renders
- Feature: sessionColor and sessionName in .claude/settings.json
- [BUG] Anthropic API error: thinking blocks
- [FEATURE] Support Remote MCPs in Cowork as in Claude Code
- [Bug] Anthropic API Error: 400 Bad Request with Redacted Thinking - 0 4.7 & 4.8
- [Bug] Anthropic API Error: Cannot modify thinking blocks from different model versions
- Interleaved thinking + multi-tool turn corrupts thinking block (text blanked, signature kept) → permanent 400 'blocks must remain as they were'
- [BUG] Mode/permission changes mid-tool-loop (effortLevel: xhigh) poisons entire session
- Session failure log: Opus 4.6 ignores its own rules for an entire session
- [BUG] "400 Guardrail was enabled" error when using Claude Opus 4.8 with AWS Bedrock
- [Feature Request] Add subagent approach selection option to avoid accidental feedback
- Persistent 400 'thinking blocks in the latest assistant message cannot be modified' — interleaved thinking persisted with empty text + signature bricks sessions
- [BUG] DesktopvsApp
- [BUG] Opus 4.7 cache hit rate collapse after May 27 incident — Messages 1.1k→88.9k in 9 minutes, $630/session
- [Bug] Anthropic API Error: Invalid thinking block format
- [BUG] FUCK CLAUDE
- Opus 4.8 extended thinking: Stop hook block re-entry corrupts thinking blocks → 400
- [Bug] 4.8 Fails when accessing previous model history
- [Bug] Unintended File Modifications During Execution
- [DOCS] Model configuration docs omit lean system prompt default scope and model exceptions
- Add "Always allow globally" option to permission prompts
- Server-side model upgrade (Opus 4.7→4.8) wedges in-flight sessions with `thinking blocks cannot be modified` 400
- [DOCS] AskUserQuestion docs missing multiple-choice prompt decision threshold
- [DOCS] Agent view docs omit shell-command background session launch syntax
- [DOCS] Agent view dispatch input docs incorrectly imply `/logout` dispatches as a prompt
- [DOCS] Claude in Chrome docs omit connected-browser selection behavior
- [DOCS] Plugin docs omit `defaultEnabled: false` for opt-in plugins
- Feature Request: Customizable chat text colors for user and assistant messages
- [DOCS] `/plugin` Discover tab docs omit directory-based suggested plugin pins
- VSCode Chrome integration silently fails: 3 distinct bugs
- [DOCS] MCP stdio docs omit session environment variables
- [Bug] Anthropic API error on second request within session with Claude Opus 4.8
- Cowork emits a blank session "index" handoff on focus when a CLI session is paused awaiting input
- [DOCS] MCP docs omit `claude mcp list/get` pending-approval output for unapproved project servers
- [BUG] /compact fails with 400 error when last assistant turn contains thinking blocks
- [DOCS] `/claude-api` docs omit Opus 4.8 migration guidance
- [DOCS] Fast mode docs still recommend deprecated Opus 4.6 override variable
- [DOCS] Bash tool docs omit `$TMPDIR` consistency across sandboxed and unsandboxed commands
- [Bug] Anthropic API Error: 400 Bad Request on Extended Thinking
- [DOCS] Background session docs omit worktree-isolation behavior for spawned subagents
- Built-in mechanistic self-verification of verifiable claims (symmetric to the auto permission gate)
- [DOCS] Worktree docs do not clarify `worktree.baseRef: "head"` inside linked worktrees
- [BUG] Excessive RAM usage with multiple parallel chats (~10 sessions → 30 GB memory pressure, macOS OOM)
- [DOCS] Managed MCP policy docs omit invalid `allowedMcpServers`/`deniedMcpServers` entry behavior
- [DOCS] Effort docs omit `CLAUDE_CODE_ALWAYS_ENABLE_EFFORT` unsupported-model behavior
- Regression (2.1.147–2.1.150?): resuming an extended-thinking session after a CC update/model-switch → unrecoverable 400, session bricked
- [DOCS] Windows updater docs omit `claude.exe` in-use recovery guidance
- [DOCS] VS Code auto mode docs still tie mode-picker visibility to bypass-permissions setting
- [DOCS] MCP docs omit `/mcp` tool list and detail rendering behavior
- [DOCS] Fine-grained tool streaming docs still describe provider opt-in behavior
- bypassPermissions: session startup reads flat pref, GUI toggle writes per-account pref — they never sync
- [BUG] Claude Desktop Code tab causes disk write limit violation — 8.5GB in 11 min, macOS kills app (M5, v1.9659.1)
- Ultrareview v2.1.96: docs describe /tasks command + claude ultrareview --json subcommand that don't exist; findings hard to read after completion
- I'd be happy to help create a GitHub issue title, but I don't see the error message in your message. Could you please share the specific error you're encountering? That way I can generate an accurate and descriptive issue title for you.
- [BUG] Claude in Chrome `file_upload` rejects all scheduled-task sessions with misleading error (real cause: INVALID_SESSION)
- Extended thinking: signed thinking block 'cannot be modified' (400) permanently wedges session
- RTL text support for Hebrew (and Arabic) in Claude Code
- [Bug] Random errors occurring across multiple operations