[Bug] Socket connection closed unexpectedly during Anthropic API request

Resolved 💬 3 comments Opened Apr 20, 2026 by eborges-git Closed Apr 24, 2026

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: vscode
  • Version: 2.1.113
  • Feedback ID: 3197ac90-24a4-4dce-b6e9-fa19eac0473d

Errors

[{"error":"Error: 1: Command failed with ERR_STREAM_PREMATURE_CLOSE: code --force --install-extension anthropic.claude-code\nPremature close \n    at Qf1 (/$bunfs/root/src/entrypoints/cli.js:1573:4045)\n    at async df1 (/$bunfs/root/src/entrypoints/cli.js:1573:1435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T11:48:21.534Z"},{"error":"The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch()","timestamp":"2026-04-20T11:57:25.023Z"}]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗