[Bug] Anthropic API Error: ECONNRESET connection reset during message requests with excessive retry loops

Open 💬 0 comments Opened Jun 23, 2026 by ex106

Bug Description
Submit feedback / bug report

Describe the issue below:

Really fed up with that , started on Sunday - and each day now !!!Debug shows repeated:
[API REQUEST] /v1/messages
[ERROR] API error (attempt N/11): undefined Connection error
final: ECONNRESET / socket closed unexpectedly

Reproduces on home Wi-Fi and mobile hotspot.
curl to api.anthropic.com is healthy.
Happens across multiple current Claude Code sessions, even after compacting.
Claude Code gets stuck for 10–20 minutes in retry loops.
Please escalate to Claude Code/API engineering.

Couldn't send feedback (couldn't reach the service). If it keeps failing, you can file at https://github.com/anthropics/claude-code/issues instead. i---- I CANT EVEN SENT FEEDBACK FROM THAT SESSIONS !!!!!

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.177
  • Feedback ID: c30e7943-a3c2-4c51-8653-f35fbb036d4a

Errors

[]

View original on GitHub ↗