Skip to content

[BUG] API Error (Connection error.) #4297

@omayhemo

Description

@omayhemo

Environment

  • Platform (select one):
    • [ X] Anthropic API
    • AWS Bedrock
    • Google Vertex AI
    • Other:
  • Claude CLI version: latest
  • Operating System: Windows 11
  • Terminal: WARP

Bug Description

⎿ API Error (Connection error.) · Retrying in 1 seconds… (attempt 1/10)
⎿ TypeError (fetch failed)
⎿ API Error (Connection error.) · Retrying in 1 seconds… (attempt 1/10)
⎿ TypeError (fetch failed)
⎿ API Error (Connection error.) · Retrying in 1 seconds… (attempt 1/10)
⎿ TypeError (fetch failed)
⎿ API Error (Connection error.) · Retrying in 1 seconds… (attempt 1/10)
⎿ TypeError (fetch failed)
⎿ API Error (Connection error.) · Retrying in 1 seconds… (attempt 1/10)
⎿ TypeError (fetch failed)
⎿ API Error (Connection error.) · Retrying in 1 seconds… (attempt 1/10)
⎿ TypeError (fetch failed)

Steps to Reproduce

  1. Start Claude Code
  2. Craft a brilliant prompt
  3. Watch your tokens get wasted on a broken api

Expected Behavior

I expect that when I pay for a service, that the service doesn't fail unexpectedly so frequently that it becomes expected.

Actual Behavior

⎿ API Error (Connection error.) · Retrying in 1 seconds… (attempt 1/10)
⎿ TypeError (fetch failed)
⎿ API Error (Connection error.) · Retrying in 1 seconds… (attempt 1/10)
⎿ TypeError (fetch failed)
⎿ API Error (Connection error.) · Retrying in 1 seconds… (attempt 1/10)
⎿ TypeError (fetch failed)
⎿ API Error (Connection error.) · Retrying in 1 seconds… (attempt 1/10)
⎿ TypeError (fetch failed)
⎿ API Error (Connection error.) · Retrying in 1 seconds… (attempt 1/10)
⎿ TypeError (fetch failed)
⎿ API Error (Connection error.) · Retrying in 1 seconds… (attempt 1/10)
⎿ TypeError (fetch failed)

Results in hour long hangs on prompts, slows development to a crawl, and sometimes results in funky results.

Additional Context

The only context needed here is that this has been going on for far too long now, and we're reported it daily here, but it doesn't appear from this end that any progress is being made, or communicated. Simply instead, every day we deal with it again and again, and these bug reports continue to get closed as if it's resolved.

ITS NOT RESOLVED. STOP CLOSING THESE REPORTS AS IF IT IS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions