Persistent API Request Timeout with Exponential Backoff Retry

Resolved 💬 2 comments Opened May 13, 2025 by davidbenhaim Closed May 14, 2025

Bug Description
⎿  (no content)
⎿ API Error (Request timed out.) · Retrying in 9 seconds… (attempt 5/10)
⎿ API Error (Request timed out.) · Retrying in 19 seconds… (attempt 6/10)
⎿ API Error (Request timed out.) · Retrying in 36 seconds… (attempt 7/10)

Environment Info

  • Platform: macos
  • Terminal: Apple_Terminal
  • Version: 0.2.109
  • Feedback ID: 3cf56738-afb4-4ed6-b27a-c0f233133d94

Errors

[{"error":"Error: No logs found at /Users/redacted/Library/Caches/claude-cli-nodejs/-Users-redacted/messages\n    at ti4 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:559:2011)\n    at wy (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:559:1791)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async UT1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:559:1935)\n    at async U10.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2243:94)\n    at async U10.parseAsync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:494:4184)\n    at async n38 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2246:4632)\n    at async l38 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2240:15215)","timestamp":"2025-05-13T22:29:03.141Z"}]

claude code started timing out and then failed to compact and when I re-ran with --continue it is allllll the way back at the previous /compact. Just lost an hours worth of context.

View original on GitHub ↗

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