[BUG] API Error (Connection error.)
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: v1.0.61
- Operating System: linux
- Terminal: gnome-terminal
Bug Description
API Error (Connection error.)
Steps to Reproduce
- open gnome-terminal
- run claude
- input "hello" in the console of claude-code
Expected Behavior
claude interactive feedback
Actual Behavior
hello
⎿ API Error (Connection error.) · Retrying in 1 seconds… (attempt 1/10)
⎿ TypeError (fetch failed)
⎿ API Error (Connection error.) · Retrying in 1 seconds… (attempt 2/10)
⎿ TypeError (fetch failed)
⎿ API Error (Connection error.) · Retrying in 2 seconds… (attempt 3/10)
⎿ TypeError (fetch failed)
⎿ API Error (Connection error.) · Retrying in 4 seconds… (attempt 4/10)
⎿ TypeError (fetch failed)
⎿ API Error (Connection error.) · Retrying in 9 seconds… (attempt 5/10)
⎿ TypeError (fetch failed)
⎿ API Error (Connection error.) · Retrying in 17 seconds… (attempt 6/10)
⎿ TypeError (fetch failed)
⎿ API Error (Connection error.) · Retrying in 37 seconds… (attempt 7/10)
⎿ TypeError (fetch failed)
⎿ API Error (Connection error.) · Retrying in 39 seconds… (attempt 8/10)
⎿ TypeError (fetch failed)
Additional Context
<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗