[BUG] Constant API Error and request timeouts

Resolved 💬 12 comments Opened Jun 12, 2025 by alexmocanu Closed Jul 27, 2025

Environment

  • Platform (select one):
  • [ ] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [x] Other: Claude code
  • Claude CLI version: 1.0.21
  • Operating System: Ubuntu 24.04
  • Terminal: Gnome Terminal

Bug Description

This is what I keep getting today after one prompt:

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

After this it stays offline permanently.

Steps to Reproduce

  1. Start Claude Code
  2. Write a 10-15 lines prompt
  3. Wait forever.

Expected Behavior

I expect it to work.

Actual Behavior

It's timed out and now it's permanently offline

Additional Context

Should I continue paying for this, upgrade to a more expensive plan or switch to something that actually works?

I got better results running local stuff with Ollama for free.

View original on GitHub ↗

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