Persistent API Connection Failures During Fetch Requests
Resolved 💬 8 comments Opened Jul 8, 2025 by naveensoman Closed Jan 7, 2026
Bug Description
API Error (Connection error.) · Retrying in 1 seconds… (attempt 1/10)
⎿ TypeError (fetch failed)
⎿ API Error (Connection error.) · Retrying in 1 seconds… (attempt 2/10)
⎿ TypeError (fetch failed)
⎿ API Error (Connection error.) · Retrying in 2 seconds… (attempt 3/10)
⎿ TypeError (fetch failed)
⎿ API Error (Connection error.) · Retrying in 4 seconds… (attempt 4/10)
⎿ TypeError (fetch failed)
⎿ API Error (Connection error.) · Retrying in 9 seconds… (attempt 5/10)
⎿ TypeError (fetch failed)
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 1.0.37
- Feedback ID: 56fb8aa3-7fe7-4979-9a08-cfe4bc7c59f0
Errors
[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at checkExecSyncError (node:child_process:882:11)\n at execSync (node:child_process:954:15)\n at PZ (file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:701:3921)\n at file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:9038\n at Q (file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:13327)\n at CX (file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:8184)\n at tS (file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:7265)\n at M9 (file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:11432)","timestamp":"2025-07-08T04:24:03.731Z"},{"error":"AggregateError\n at tx.from (file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:44270)\n at fY.b1 (file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:529:10131)\n at fY.emit (node:events:518:28)\n at fY.emit (node:domain:489:12)\n at CM1.<computed> (file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:61:1149)\n at ClientRequest.emit (node:events:518:28)\n at ClientRequest.emit (node:domain:489:12)\n at emitErrorEvent (node:_http_client:104:11)\n at TLSSocket.socketErrorListener (node:_http_client:518:5)\n at TLSSocket.emit (node:events:518:28)\n at sl.request (file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:531:2081)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async C9A (file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2360:225)","timestamp":"2025-07-08T04:24:05.524Z"},{"error":"AggregateError\n at tx.from (file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:44270)\n at fY.b1 (file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:529:10131)\n at fY.emit (node:events:518:28)\n at fY.emit (node:domain:489:12)\n at CM1.<computed> (file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:61:1149)\n at ClientRequest.emit (node:events:518:28)\n at ClientRequest.emit (node:domain:489:12)\n at emitErrorEvent (node:_http_client:104:11)\n at TLSSocket.socketErrorListener (node:_http_client:518:5)\n at TLSSocket.emit (node:events:518:28)\n at sl.request (file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:531:2081)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async C9A (file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2360:225)","timestamp":"2025-07-08T04:24:05.527Z"},{"error":"Error: Failed to check bun permissions\n at gL5 (file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2085:690)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async i2A (file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2085:808)\n at async Y01 (file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2095:43)\n at async file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2485:8930","timestamp":"2025-07-08T04:24:06.967Z"},{"error":"Error: Tool mcp__gitea__list_repo_issues not found\n at aR2 (file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1939:5583)\n at uE (file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:19803)\n at $$ (file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:3199)\n at BP (file:///Users/naveen/.npm-global/lib/node_modules/@anthropic-ai/
Note: Error logs were truncated.
This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗