Network Request Retry Failure in Claude Code CLI API Calls
Resolved 💬 3 comments Opened May 5, 2025 by BrandonLewis Closed Jan 3, 2026
Bug Description
API Error (Connection error.) · Retrying in 33 seconds… (attempt 9/10) Whenver Claude Code CLI makes a API call I get the previous error. This is a new error that has been going on for about a week.
Environment Info
- Platform: linux
- Terminal: wsl-Ubuntu
- Version: 0.2.101
- Feedback ID:
Errors
[{"error":"Error: Connection error.\n at D3.makeRequest (file:///home/fa7ll7en/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:683:7813)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-05-05T21:57:07.694Z"},{"error":"Error: Connection error.\n at D3.makeRequest (file:///home/fa7ll7en/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:683:7813)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async RD6.la.showErrors (file:///home/fa7ll7en/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1498:10717)\n at async la (file:///home/fa7ll7en/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1498:5880)\n at async RD6 (file:///home/fa7ll7en/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1498:10558)\n at async On1 (file:///home/fa7ll7en/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:813:3130)\n at async OD6 (file:///home/fa7ll7en/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1498:9122)\n at async ip5 (file:///home/fa7ll7en/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1853:180)\n at async zs (file:///home/fa7ll7en/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1853:1690)\n at async l8 (file:///home/fa7ll7en/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2178:1638)","timestamp":"2025-05-05T22:00:11.058Z"},{"error":"Error: 80E810B3B97F0000:error:0A0003FC:SSL routines:ssl3_read_bytes:sslv3 alert bad record mac:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1605:SSL alert number 20\n\n at O_.from (file:///home/fa7ll7en/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:506:11525)\n at $B.s1 (file:///home/fa7ll7en/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:509:10132)\n at $B.emit (node:events:518:28)\n at $B.emit (node:domain:489:12)\n at HA1.<computed> (file:///home/fa7ll7en/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:1149)\n at ClientRequest.emit (node:events:530:35)\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 Xu.request (file:///home/fa7ll7en/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:511:2081)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async j18 (file:///home/fa7ll7en/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1930:598)\n at async Promise.all (index 0)\n at async file:///home/fa7ll7en/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1916:5267","timestamp":"2025-05-05T22:02:06.091Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗