Skip to content

Persistent ECONNRESET Errors on macOS Network Connections #5674

@ryanmr82

Description

@ryanmr82

Bug Description
I keep getting the following errors, and it's causing connection errors and it's disconnecting tasks within Claude. This only happens on my Mac OS; it doesn't happen on my Windows server (which is on the same network) nor does it happen on my Linux server (which is on an OCI network). I've read online that this is an issue with Mac OS. I have been troubleshooting all day for over 10 hours, and I can't figure out what's going on. I believe this is a Claude issue, not a user issue. If it is a user issue, please guide me in regards to how to resolve this issue because I am stumped. I have been working on this for over 12 hours now, and that made zero progress.

These are the errors that I see: n, pass verbose: true in the second argument to fetch()) (ECONNRESET)
⎿ API Error (Connection error.) · Retrying in 32 seconds… (attempt 7/10)
⎿ Error (The socket connection was closed unexpectedly. For more information, pass verbose: true in the second argument to fetch()) (ECONNRESET)
⎿ API Error (Connection error.) · Retrying in 37 seconds… (attempt 8/10)
⎿ Error (The socket connection was closed unexpectedly. For more information, pass verbose: true in the second argument to fetch()) (ECONNRESET)
⎿ API Error (Connection error.) · Retrying in 33 seconds… (attempt 9/10)
⎿ Error (The socket connection was closed unexpectedly. For more information, pass verbose: true in the second argument to fetch()) (ECONNRESET)
⎿ API Error (Connection error.) · Retrying in 40 seconds… (attempt 10/10)
⎿ Error (The socket connection was closed unexpectedly. For more information, pass verbose: true in the second argument to fetch()) (ECONNRESET)
⎿  API Error: Connection error.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 1.0.77
  • Feedback ID: 64d3964f-f289-4803-a28c-1fd74ede068e

Errors

[{"error":"Error\n    at <anonymous> (unknown)\n    at onData (node:child_process:153:110)\n    at emit (node:events:95:22)\n    at addChunk (internal:streams/readable:265:47)\n    at readableAddChunkPushByteMode (internal:streams/readable:243:18)\n    at handleNumberResult (internal:streams/native-readable:69:18)\n    at <anonymous> (internal:streams/native-readable:43:68)\n    at processTicksAndRejections (unknown:7:39)","timestamp":"2025-08-13T09:22:33.750Z"},{"error":"Error: Connection error.\n    at new eW (unknown:1:28)\n    at new qY (/$bunfs/root/claude:788:1853)\n    at new BM (/$bunfs/root/claude:788:2749)\n    at makeRequest (/$bunfs/root/claude:805:4449)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-08-13T09:32:49.094Z"}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:apibugSomething isn't workinghas reproHas detailed reproduction stepsplatform:macosIssue specifically occurs on macOS

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions