API time out error when configured to use bedrock

Resolved 💬 8 comments Opened Mar 10, 2025 by sudhakar2do Closed Nov 29, 2025

Environment

  • Platform (select one):
  • [x] AWS Bedrock
  • Claude CLI version: 0.2.35 (Claude Code)
  • Operating System: Linux 4.18 GNU/Linux
  • Terminal: Terminal App

Bug Description

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… (attempt 1/10

Steps to Reproduce

  1. claude
  2. type "hello"

Expected Behavior

Prompt output

Actual Behavior

API Error (Request timed out.) · Retrying in 1 seconds… (attempt 1/10

Additional Context

Had the previous issue as below
https://github.com/anthropics/claude-code/issues/257#issue-2889347553

Note I am behind a firewall. But I am able to access the AWS bedrock claude models via python code

With Claude Code v0.2.35 I am getting the below error:

!Image

View original on GitHub ↗

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