[BUG] Every command retries up to 10 times ("Retrying in Xs · attempt X/10") and never gets a response. Happens on every single input.

Status Closed — not planned
Reported on v2.1.119
Maintainer reply None cached
Activity 14 comments · opened Apr 25, 2026 · closed Jun 10, 2026

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?

Version: 2.1.119
OS: Windows 11
Auth: claude.ai OAuth / Pro plan

Bug: Every command retries up to 10 times ("Retrying in Xs · attempt X/10")
and never gets a response. Happens on every single input.

Confirmed working:

  • API reachable (curl returns 401 as expected)
  • No proxy (direct access)
  • Auth valid (claude auth status shows logged in)
  • Usage limits not hit (3% session, 16% weekly)
  • Clean config (wiped ~/.claude and ~/.claude.json, re-authenticated)
  • Claude Desktop uninstalled
  • Tested in project folder, not home directory

Expected: Claude responds to input
Actual: Infinite retry loop, no response

What Should Happen?

Claude responds to input

Error Messages/Logs

Steps to Reproduce

  1. Install claude in powershell

irm https://claude.ai/install.ps1 | iex

  1. Connect claude to the web pro version. In powershell:

claude
/login

  1. Authorize it and try to discuss with him

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.119 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

13 Comments

Mad-iii · 4 months ago

Found any solution?

iammordaty · 4 months ago

Same here, In my case i had to remove "CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS": "1" from my ~/.claude/settings.json to make it work again

veltix · 4 months ago

Still same issue on every computer...

GabrielOnDelphi · 4 months ago

Same here. suddenly "Retrying in 0s · attempt 3/10"

prafull-pandey · 4 months ago

For people who have issue as of now when I am commenting. Claude server is having some problem. It will be resolved soon. You can check status at https://status.claude.com/

veltix · 4 months ago

I've had this issue few days already.. few prompts working but slow and then giving this error..

angelizado · 4 months ago

having this problem currently, has anyone found a way to fix this?

Mad-iii · 4 months ago

Hey, so i failed to make it work for claude code, but in my case i was not using paid calude code. i was using free model from open router & the issue was that when i configured the model, i forgot to update it as global.

If your case is same as mine, the fix is quite simple:

  1. Open where claude code is installed in pc.
  2. Locate setting file
  3. Replace the file within claude directory with the file on which you have setup openrouter model.
  4. Open a random project from rndom directory & type claude in terminal. You will see the imported model name there written.

Happy vibe coding.

meng-du · 4 months ago

Still having this issue :(

Mad-iii · 4 months ago

share your settings file draft,
here is what i used:

{
"env": {
"ANTHROPIC_BASE_URL": "https://openrouter.ai/api",
"ANTHROPIC_AUTH_TOKEN": "",
"ANTHROPIC_API_KEY": "",
"ANTHROPIC_MODEL": "minimax/minimax-m2.5:free"
}
}

kaeelo5 · 3 months ago

I had same issue, narrowed it down to the MCP that was causing it. Check if you have MCP running and if so, turn it off and try.

thefounderofantirome · 3 months ago

Because direct auth checks can still look fine while Claude Code keeps retrying, I would separate this into three layers instead of treating it as one generic network problem:

  1. Upstream reachability
  • direct curl to the same base URL
  • same shell, same env vars, same proxy settings
  1. Local config merge
  • project settings vs global ~/.claude/settings.json
  • stale ANTHROPIC_BASE_URL / ANTHROPIC_MODEL / auth env vars
  • any experimental flags that change request behavior
  1. Runtime extensions
  • MCP servers
  • background hooks
  • anything that adds latency or breaks the request loop after startup

The fact that some people fix it by removing an experimental flag, others by disabling MCP, and others by correcting a global base URL tells me there are multiple retry causes being grouped under the same symptom.

If I had to isolate this fast, I would test in this order:

  1. Start from a clean shell with only the minimum auth/base-url env vars.
  2. Temporarily move ~/.claude/settings.json aside and run with no MCP.
  3. If using an OpenAI-compatible or OpenRouter-style base URL, confirm the config is global where Claude Code actually reads it.
  4. Compare one failing launch with a run that has MCP and experimental flags disabled.

That usually shows whether the retries come from transport, settings merge, or an extension/runtime layer.

If anyone needs a quick paid BYO-key config/debug pass for Claude Code retry loops on Windows or custom base URLs, I can help isolate the exact config conflict and turn it into a stable working setup.

github-actions[bot] · 2 months ago

Closing for now — inactive for too long. Please open a new issue if this is still relevant.

Showing cached comments. Read the full discussion on GitHub ↗