[Bug] Anthropic API Error: Connection closed mid-response causing timeouts

Open 💬 1 comment Opened Jun 23, 2026 by jreciofreepik

Bug Description
Countinously stucked, i'm trying opus4.8 and sonnet 4.6, having the same issue, sometimes i'm having response but usually i'm getting this error "API Error: Connection closed mid-response. The response above may be incomplete." or simply "API Error" or timeouts. I'm checked my network connection and seems to be ok, i'm using cursor with anthropic's models and codex 5.3 without any problem but claude code seems to be unstable too frequently

Environment Info

  • Platform: linux
  • Terminal: vte-based
  • Version: 2.1.186
  • Feedback ID: ac42cbd0-2953-4a83-86c0-eb231608e907

Errors

[]

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗