[BUG] Bedrock - API Error (503 Too many connections, please wait before trying again.)

Resolved 💬 2 comments Opened Mar 19, 2025 by caesarnine Closed Mar 26, 2025

Environment

  • Platform (select one):
  • [ ] Anthropic API
  • [x] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 0.2.49
  • Operating System: Ubuntu
  • Terminal: VSCode Integrated Terminal

Bug Description

Using Bedrock I've started to repeatedly get the following messages after any interaction:

⎿ API Error (503 Too many connections, please wait before trying again.) · Retrying in 1 seconds… (attempt 1/10)
⎿ API Error (503 Too many connections, please wait before trying again.) · Retrying in 1 seconds… (attempt 1/10)
⎿ API Error (503 Too many connections, please wait before trying again.) · Retrying in 1 seconds… (attempt 2/10)
⎿ API Error (503 Too many connections, please wait before trying again.) · Retrying in 2 seconds… (attempt 3/10)
⎿ API Error (503 Too many connections, please wait before trying again.) · Retrying in 4 seconds… (attempt 4/10)
⎿ API Error (503 Too many connections, please wait before trying again.) · Retrying in 8 seconds… (attempt 5/10)

Steps to Reproduce

Seems to occur at any message.

Additional Context

I saw these infrequently earlier in the conversation but they started increasing in frequency - not sure if it's related to some Bedrock issue separate from Claude Code, or if Claude Code is hanging onto connections over time to Bedrock that accumulate the longer a session continues.

View original on GitHub ↗

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