[Bug] Anthropic API Error: Socket connection closed unexpectedly
Open 💬 1 comment Opened May 23, 2026 by eborges-git
Bug Description
API Error: The socket connection was closed unexpectedly. For more information, pass
verbose: true in the second argument to fetch()
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.150
- Feedback ID: a70245e2-1ae1-456a-b180-7fe22d6a753b
Errors
[{"error":"The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch()","timestamp":"2026-05-23T13:00:54.754Z"}]This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗