[BUG] claude doctor hangs indefinitely when using AWS Bedrock (CLAUDE_CODE_USE_BEDROCK=1)
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
claude doctor hangs indefinitely at "Checking installation status..." when Claude Code is configured to use AWS Bedrock. The command never completes and must be killed manually.
Debug logs show initialization completes normally (plugins, keybindings, settings all load), but the process stalls after that with no output and no exit. claude --status works fine in the same setup, and AWS credentials are valid.
Environment: Claude Code 2.1.70 · macOS 23.5.0 · Node v23.11.0 · CLAUDE_CODE_USE_BEDROCK=1 · AWS_REGION=eu-central-1
What Should Happen?
claude doctor should detect that Bedrock mode is active and either skip checks that require direct Anthropic API connectivity, or complete them in a Bedrock-aware way — not hang indefinitely.
Error Messages/Logs
Steps to Reproduce
- Configure Claude Code to use AWS Bedrock in ~/.claude/settings.json:
{
"env": {
"CLAUDE_CODE_USE_BEDROCK": "1",
"AWS_PROFILE": "<your-profile>",
"AWS_REGION": "<your-region>"
}
}
- Open a terminal and run claude doctor
- Observe it prints "Checking installation status..." and never progresses — must be killed with Ctrl+C
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
Claude Code 2.1.70
Platform
AWS Bedrock
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗