anthropics / anthropics/claude-code

Constant 'API Error / Disconnected / Retry x of 10' on 2.1.268 (macOS 26.2) — auto-mode classifier also timing out

Aberta
#93,509 1 comentário 0 reações 0 responsáveis Ver no GitHub
area:networking bug platform:macos
Linguagem predominante
Python
Estrelas
145k
Forks
23.1k
Métricas de merge de PRs
Métricas de PR pendentes

Descrição

## Environment
- Claude Code **2.1.268**, terminal CLI
- macOS **26.2** (Darwin 25.2.0), zsh
- Model: Opus 5 (1M context), auto mode enabled
- Session: https://claude.ai/code/session_015y3YMoa29JTPbynYdepzsT
- Time: 2026-09-11 ~11:00–11:30 AEST (~01:00–01:30 UTC)

## What happens
For the last ~30 minutes nearly every turn hits `API Error … Disconnected … Retry x of 10`. Responses drop mid-stream and the retry loop runs repeatedly before a turn completes; several turns needed most of the 10 retries. The session is long-running (large context) but nothing else on the machine has connectivity problems.

The auto-mode permission classifier is failing in the same way. Verbatim tool error returned to the model on a plain read-only `find`/`ls` command:

```
claude-sonnet-5[1m] is temporarily unavailable (timed out), so auto mode cannot determine the safety of Bash right now. Wait a moment and then try this action again.
```

So both the main model requests (Opus 5) and the classifier requests (Sonnet 5) are timing out server-side in the same window — this looks like an API/edge issue rather than a client network fault.

## Expected
Requests complete without a 10-retry loop; if the API is degraded, a clearer signal than repeated disconnects.

## Notes
- No `~/.claude/debug` logs present to attach; happy to run `claude doctor` or enable debug logging if told which flag.
- status.anthropic.com not yet checked at time of filing — the user asked for this to be logged immediately.

Filed from within the affected session by Claude Code at the user's request.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

Start by checking status.anthropic.com and reproduce the failures with Claude Code 2.1.268 on macOS 26.2 in zsh. Run claude doctor or enable the debug logging requested in the issue, then compare main-model disconnects with the auto-mode classifier timeout. Done means requests complete without repeated retries, or degraded API conditions produce a clearer signal.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
macos, zsh
Domínio
api, cli, networking
Tipo de issue
Bug
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Ativa
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
28/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.