Skip to content

[Bug] Anthropic API Error: Socket connection closed unexpectedly #48837

Description

@eborges-git

Bug Description
API Error: The socket connection was closed unexpectedly. For more information, pass verbose: true in the
second argument to fetch() -- this keeps repeating

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.110
  • Feedback ID: a326453c-a532-4864-8aa6-59511198362c

Errors

[{"error":"Error: 1: Command failed with ERR_STREAM_PREMATURE_CLOSE: code --force --install-extension anthropic.claude-code\nPremature close \n    at pA1 (/$bunfs/root/src/entrypoints/cli.js:1575:4045)\n    at async uA1 (/$bunfs/root/src/entrypoints/cli.js:1575:1435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T23:43:29.052Z"}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions