🌐
GitHub
github.com › anthropics › claude-code › issues › 2728
Claude Code: constantly seeing 'API Error (Request timed ...
June 29, 2025 - ● Read(tests/utils/factories.py) ⎿ Read 459 lines (ctrl+r to expand) ⎿ API Error: Request timed out. /model sonnet ⎿ Set model to sonnet (claude-sonnet-4-20250514)
Published   Jun 29, 2025
🌐
Reddit
reddit.com › r/anthropic › claude code: constantly seeing 'api error (request timed out...)' - retrying in .. seconds.. (attempt x/10)' on ubuntu 24.04.2 lts
r/Anthropic on Reddit: Claude Code: constantly seeing 'API Error (Request timed out...)' - Retrying in .. seconds.. (attempt x/10)' on Ubuntu 24.04.2 LTS
July 23, 2025 -

Only happening on Linux dev machine, MacOS not affected or WSL.
In my windows machine on WSL, it's running fine.

great, continue with remaining collections
⎿ API Error (Request timed out.) · Retrying in 1 seconds… (attempt 1/10)
⎿ API Error (Request timed out.) · Retrying in 1 seconds… (attempt 2/10)
⎿ API Error (Request timed out.) · Retrying in 2 seconds… (attempt 3/10)
⎿ API Error (Request timed out.) · Retrying in 5 seconds… (attempt 4/10)
⎿ API Error (Request timed out.) · Retrying in 9 seconds… (attempt 5/10)
⎿ API Error (Request timed out.) · Retrying in 17 seconds… (attempt 6/10)
⎿ API Error (Request timed out.) · Retrying in 36 seconds… (attempt 7/10)
⎿ API Error (Request timed out.) · Retrying in 40 seconds… (attempt 8/10)
⎿ API Error (Request timed out.) · Retrying in 1 seconds… (attempt 1/10)
⎿ API Error (Request timed out.) · Retrying in 1 seconds… (attempt 2/10)
⎿ API Error (Request timed out.) · Retrying in 2 seconds… (attempt 3/10)
⎿ API Error (Request timed out.) · Retrying in 4 seconds… (attempt 4/10)
⎿ API Error (Request timed out.) · Retrying in 40 seconds… (attempt 9/10)
⎿ API Error (Request timed out.) · Retrying in 8 seconds… (attempt 5/10)
⎿ API Error (Request timed out.) · Retrying in 20 seconds… (attempt 6/10)
⎿ API Error (Request timed out.) · Retrying in 34 seconds… (attempt 10/10)
⎿ API Error (Request timed out.) · Retrying in 39 seconds… (attempt 7/10)
⎿ API Error (Request timed out.) · Retrying in 39 seconds… (attempt 8/10)
⎿ API Error (Request timed out.) · Retrying in 37 seconds… (attempt 9/10)
⎿ API Error (Request timed out.) · Retrying in 35 seconds… (attempt 10/10)

🌐
Cursor IDE
cursor-ide.com › blog › claude-code-api-timeout-error-fix
How to Fix Claude Code API Error: Request Timed Out (2025 Complete Guide) - Cursor IDE 博客
July 7, 2025 - // Basic timeout configuration for Claude Code API const axios = require('axios'); const apiClient = axios.create({ baseURL: 'https://api.claude.ai/v1', timeout: 60000, // Increase timeout to 60 seconds headers: { 'Authorization': `Bearer ${process.env.CLAUDE_API_KEY}`, 'Content-Type': 'application/json' } }); // Make API request with extended timeout async function makeRequest(prompt) { try { const response = await apiClient.post('/completions', { prompt: prompt, max_tokens: 1000 }); return response.data; } catch (error) { if (error.code === 'ECONNABORTED') { console.error('Request timed out'); } throw error; } }
🌐
ClaudeLog
claudelog.com › home › faqs › api errors
why-am-i-getting-claude-code-api-errors | ClaudeLog
Claude Code API errors are usually temporary connectivity issues, not actual API outages. Most resolve quickly with basic troubleshooting. Connection timeout: Network routing delay · 503 Service Unavailable: Server temporarily overloaded · ...
🌐
GitHub
github.com › anthropics › claude-code › issues › 2314
Persistent API Request Timeout After Multiple Retry Attempts · Issue #2314 · anthropics/claude-code
June 19, 2025 - (attempt 9/10) ⎿ API Error (Request timed out.) · Retrying in 35 seconds… (attempt 10/10) ... [{"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:892:11)\n at execSync (node:child_process:964:15)\n at EZ (file:///Users/danhenders/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:659:3921)\n at file:///Us
Published   Jun 19, 2025
🌐
Claude
docs.claude.com › en › api › errors
Errors - Claude Docs
If you are building a direct API integration, you should be aware that setting a TCP socket keep-alive can reduce the impact of idle connection timeouts on some networks. Our SDKs will validate that your non-streaming Messages API requests are not expected to exceed a 10 minute timeout and also will set a socket option for TCP keep-alive.
🌐
Make Community
community.make.com › questions
I am getting a time out error when using the Claude API - Questions - Make Community
December 12, 2023 - HI, I am getting a time out response from make on my Claude completion, I had it working but now it times out. The anthropic log shows the request is made and completed. Make shows the request is made but then shows a t…
🌐
GitHub
github.com › anthropics › claude-code › issues › 6572
[BUG] API Error (request timed out) in Claude Code in vscode · Issue #6572 · anthropics/claude-code
August 26, 2025 - Open claude code in vscode · Ask anything. API Error (Request timed out.) (repeatedly) /logout · /login · Authenticate subscription (Pro) via website · Message: successful · Seems to work (/status gives correct info) Try any command · API Error (Request timed out.)## Expected Behavior Claude code reacting to the query ·
Published   Aug 26, 2025
🌐
GitHub
github.com › anthropics › claude-code › issues › 2728
Claude Code: constantly seeing 'API Error (Request timed out...)' - Retrying in .. seconds.. (attempt x/10)' · Issue #2728 · anthropics/claude-code
June 29, 2025 - ● Read(tests/utils/factories.py) ⎿ Read 459 lines (ctrl+r to expand) ⎿ API Error: Request timed out. /model sonnet ⎿ Set model to sonnet (claude-sonnet-4-20250514)
Author   anthropics
Find elsewhere
🌐
GitHub
github.com › anthropics › claude-code › issues › 3919
API Error (Request timed out.) · Issue #3919 · anthropics/claude-code
June 14, 2025 - ⎿ API Error (Request timed out.) · Retrying in 37 seconds… (attempt 7/10) ⎿ API Error (Request timed out.) · Retrying in 34 seconds… (attempt 8/10) ⎿ API Error (502 502 Bad Gateway
Published   Jul 18, 2025
🌐
GitHub
github.com › anthropics › claude-code › issues › 128
Network Timeout Errors Occurring Frequently in API Calls · Issue #128 · anthropics/claude-code
December 28, 2024 - Bug Description ApiError: read ETIMEDOUT happening almost every request. Some response tokens are generated, but it halts after a short whle with this error Environment Info Platform: linux Terminal: undefined Version: 0.2.9 Feedback ID:...
Published   Feb 26, 2025
🌐
GitHub
github.com › anthropics › claude-code › issues › 2046
[BUG] API Error (Request timed out.) · Retrying in 1 seconds… (attempt 1/10) · Issue #2046 · anthropics/claude-code
June 13, 2025 - Claude CLI version: Claude Code · Operating System: <!-- e.g. macOS · Terminal: Error: File has not been read yet. Read it first before writing to it. ⎿ API Error (Request timed out.) · Retrying in 1 seconds… (attempt 1/10) ⎿ API Error (Request timed out.) ·
Published   Jun 13, 2025
🌐
GitHub
github.com › anthropics › claude-code › issues › 1771
[BUG] API Error (Request timed out) in Remote SSH Dev Container on Linux Host · Issue #1771 · anthropics/claude-code
April 10, 2025 - The Claude CLI consistently fails with API Error (Request timed out.) when used inside a dev container hosted on a remote Linux machine (Ubuntu 24.04). The connection is established via the VS Code Remote-SSH extension. The issue appears after one or two successful API calls, making the CLI unusable for subsequent requests.
Published   Jun 07, 2025
🌐
GitHub
github.com › anthropics › claude-code › issues › 4474
[BUG] Claude Code WSL2 Environment API Timeout Issue Report · Issue #4474 · anthropics/claude-code
July 26, 2025 - You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. ... area:apiarea:toolsbugSomething isn't workingSomething isn't workinghas reproHas detailed ...
Published   Jul 26, 2025
🌐
AWS re:Post
repost.aws › questions › QUP1PM-PjPQvaLFi3PU01kMw › claude-v2-api-read-operation-time-out-exception
Claude V2 api read operation time out exception. | AWS re:Post
December 27, 2023 - I am getting a consistent error of - The read operation timed out. AWSHTTPSConnectionPool(host='bedrock-runtime.us-east-1.amazonaws.com', port=443): Read timed out. (read timeout=60). This occurs after 5 mts when the document text which I am sending exceeds 20K words. On trying with different values to max_tokens_to_sample parameter, api is throwing throttle exception.
🌐
Reddit
reddit.com › r/claudecode › claude code: constantly seeing 'api error (request timed out...)' - retrying in .. seconds.. (attempt x/10)' on ubuntu 24.04.2 lts
r/ClaudeCode on Reddit: Claude Code: constantly seeing 'API Error (Request timed out...)' - Retrying in .. seconds.. (attempt x/10)' on Ubuntu 24.04.2 LTS
July 23, 2025 -

Only happening on Linux dev machine, MacOS not affected or WSL.
In my windows machine on WSL, it's running fine.

`great, continue with remaining collections
⎿ API Error (Request timed out.) · Retrying in 1 seconds… (attempt 1/10)
⎿ API Error (Request timed out.) · Retrying in 1 seconds… (attempt 2/10)
⎿ API Error (Request timed out.) · Retrying in 2 seconds… (attempt 3/10)
⎿ API Error (Request timed out.) · Retrying in 5 seconds… (attempt 4/10)
⎿ API Error (Request timed out.) · Retrying in 9 seconds… (attempt 5/10)
⎿ API Error (Request timed out.) · Retrying in 17 seconds… (attempt 6/10)
⎿ API Error (Request timed out.) · Retrying in 36 seconds… (attempt 7/10)
⎿ API Error (Request timed out.) · Retrying in 40 seconds… (attempt 8/10)
⎿ API Error (Request timed out.) · Retrying in 1 seconds… (attempt 1/10)
⎿ API Error (Request timed out.) · Retrying in 1 seconds… (attempt 2/10)
⎿ API Error (Request timed out.) · Retrying in 2 seconds… (attempt 3/10)
⎿ API Error (Request timed out.) · Retrying in 4 seconds… (attempt 4/10)
⎿ API Error (Request timed out.) · Retrying in 40 seconds… (attempt 9/10)
⎿ API Error (Request timed out.) · Retrying in 8 seconds… (attempt 5/10)
⎿ API Error (Request timed out.) · Retrying in 20 seconds… (attempt 6/10)
⎿ API Error (Request timed out.) · Retrying in 34 seconds… (attempt 10/10)
⎿ API Error (Request timed out.) · Retrying in 39 seconds… (attempt 7/10)
⎿ API Error (Request timed out.) · Retrying in 39 seconds… (attempt 8/10)
⎿ API Error (Request timed out.) · Retrying in 37 seconds… (attempt 9/10)
⎿ API Error (Request timed out.) · Retrying in 35 seconds… (attempt 10/10)

🌐
GitHub
github.com › anthropics › claude-code › issues › 410
API time out error when configured to use bedrock · Issue #410 · anthropics/claude-code
December 14, 2024 - Using claude code on Linux with AWS bedrock not working When claude is invoked getting error API Error (Request timed out.) · Retrying in 1 seconds…
Published   Mar 10, 2025
🌐
Reddit
reddit.com › r/claudecode › "request timed out" errors when using claude code.
r/ClaudeCode on Reddit: "Request timed out" errors when using Claude Code.
October 19, 2025 -

Hey everyone,

Lately I’ve been getting this error almost every day:

Request timed out.
Retrying in 0 seconds… (attempt 4/10)

My internet connection is fine; Codex, Cursor, and other tools work perfectly. It only happens with Claude Code.

Restarting VS Code or the network doesn’t fix it. The only thing that seems to work is restarting the PC, but even then the issue eventually comes back.

It happens on Terminal, the VS Code extension, Sonnet 4.5, or haiko models.

Claude’s status page always says “All Systems Operational.”

Is anyone else seeing this issue from time to time? Or is there a known cause/workaround?