claude-code - 💡(How to fix) Fix [BUG] ECONNRESET errors in session [4 comments, 4 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#56017Fetched 2026-05-05 06:00:21
View on GitHub
Comments
4
Participants
4
Timeline
11
Reactions
0
Author
Timeline (top)
labeled ×5commented ×4cross-referenced ×1unlabeled ×1

Error Message

API Error: Unable to connect to API (ECONNRESET)

Code Example

API Error: Unable to connect to API (ECONNRESET)
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

I am on Claude mac app, started a session using opus4.7 1M max and it started getting really boggy with tons of retries and eventual API Error: Unable to connect to API (ECONNRESET) errors in the same session.

The 5 hour limit usage jumps up a lot every time I tried sending a new message in the same session.

I'm on latest version of claude mac app 1.5354.0

<img width="983" height="123" alt="Image" src="https://github.com/user-attachments/assets/6e406884-844f-400a-9b8e-83124c400c60" />

looks like I am not the only one.

https://www.reddit.com/r/claude/comments/1t1bw51/anyone_else_getting_econnreset_errors/

What Should Happen?

works as usual?

Error Messages/Logs

API Error: Unable to connect to API (ECONNRESET)

Steps to Reproduce

n/a

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

1.5354.0

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The issue can be mitigated by trying a different model or version, as the problem seems to be specific to the Opus 4.7 1M model and the latest version of the Claude Mac app.

Guidance

  • The error API Error: Unable to connect to API (ECONNRESET) suggests a connection issue, which might be related to the specific model or version being used.
  • Trying a different model, such as a previous version of Opus or a different model altogether, might help resolve the issue.
  • The fact that the 5-hour limit usage jumps up significantly when sending a new message in the same session could indicate a problem with the session management or API connection.
  • Checking the Reddit thread linked in the issue for any potential workarounds or solutions from other users might be helpful.

Notes

The issue seems to be specific to the Opus 4.7 1M model and the latest version of the Claude Mac app, so trying a different model or version might be the most straightforward way to mitigate the issue.

Recommendation

Apply workaround: Try using a different model or version, as the issue seems to be specific to the current configuration, and there is evidence from other users experiencing similar issues.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] ECONNRESET errors in session [4 comments, 4 participants]