Persistent API Request Timeout with Exponential Backoff Failure

Resolved 💬 2 comments Opened Jun 5, 2025 by digitalapplied Closed Jul 27, 2025

Bug Description
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 37 seconds… (attempt 7/10)
⎿ API Error (Request timed out.) · Retrying in 34 seconds… (attempt 8/10)
⎿ API Error (Request timed out.) · Retrying in 34 seconds… (attempt 9/10)
⎿ API Error (Request timed out.) · Retrying in 34 seconds… (attempt 10/10)
⎿ API Error: Request timed out.

Environment Info

  • Platform: macos
  • Terminal: cursor
  • Version: 1.0.11
  • Feedback ID: 8a724b1e-8e0e-42ec-8d15-45383a180243

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:892:11)\n    at execSync (node:child_process:964:15)\n    at JZ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:683:2402)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:11763\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17069)\n    at LU (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:10909)\n    at HG (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:10355)\n    at lO2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2042:4758)","timestamp":"2025-06-05T12:19:58.599Z"},{"error":"ShellError: Shell command failed\n    at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1547:1326)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async pZ5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:19078)\n    at async YK1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:17664)\n    at async dZ5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:16706)\n    at async hZ5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:16356)\n    at async oe (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:15392)\n    at async oe (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:16218)\n    at async DK1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:14417)\n    at async EAA (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2303:419)","timestamp":"2025-06-05T12:20:58.716Z"},{"error":"ShellError: Shell command failed\n    at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1547:1326)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async pZ5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:19078)\n    at async YK1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:17664)\n    at async dZ5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:16706)\n    at async hZ5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:16356)\n    at async oe (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:15392)\n    at async oe (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:16218)\n    at async oe (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:16218)\n    at async DK1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:14417)","timestamp":"2025-06-05T12:21:05.675Z"},{"error":"Error: Request was aborted.\n    at Ho._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1373:6810)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-05T12:28:09.046Z"},{"error":"ShellError: Shell command failed\n    at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1547:1326)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async pZ5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:19078)\n    at async YK1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1889:1

Note: Error logs were truncated.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗