claude-code - 💡(How to fix) Fix Cowork: Claude Code process exits with code 1 — Failed to create bridge sockets after 5 attempts [3 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#49481Fetched 2026-04-17 08:39:56
View on GitHub
Comments
3
Participants
4
Timeline
10
Reactions
0
Timeline (top)
labeled ×5commented ×3closed ×1subscribed ×1

Error Message

Error: Failed to create bridge sockets after 5 attempts Process exited, code=1, signal=null, duration=~1000ms, oom=false

Code Example

Error: Failed to create bridge sockets after 5 attempts
Process exited, code=1, signal=null, duration=~1000ms, oom=false

---

From ~/Library/Logs/Claude/cowork_vm_node.log:

[vm-stderr] Error: Failed to create bridge sockets after 5 attempts
[Process] Exited, code=1, signal=null, duration=912ms, oom=false

Claude Code VM version: 2.1.111
macOS: Darwin 25.3.0
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?

When creating a Cowork task that uses an MCP connector (e.g. Canva), Claude Code process immediately exits with code 1. The error in ~/Library/Logs/Claude/cowork_vm_node.log is:

Error: Failed to create bridge sockets after 5 attempts
Process exited, code=1, signal=null, duration=~1000ms, oom=false

The UI shows "Something went wrong — Claude Code process exited with code 1".

What Should Happen?

Cowork task with MCP connector should start and run successfully without bridge socket errors.

Error Messages/Logs

From ~/Library/Logs/Claude/cowork_vm_node.log:

[vm-stderr] Error: Failed to create bridge sockets after 5 attempts
[Process] Exited, code=1, signal=null, duration=912ms, oom=false

Claude Code VM version: 2.1.111
macOS: Darwin 25.3.0

Steps to Reproduce

  1. Open Claude desktop app → Cowork
  2. Create a new task that uses an MCP connector (e.g. "Canva: make me Instagram designs")
  3. Task immediately fails with "Something went wrong — Claude Code process exited with code 1"

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.89 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

The MCP connector itself works fine — tested Canva MCP directly in Claude Code and it returns correct results. The issue is specifically with the bridge socket mechanism used by Cowork VM to communicate with MCP servers. Restarting Claude app does not fix the issue.

extent analysis

TL;DR

The issue is likely due to a problem with the bridge socket mechanism in Cowork VM, and a potential fix could involve updating the Claude Code version to a newer release that may address this regression.

Guidance

  • Verify that the issue is indeed a regression by checking the release notes of newer versions of Claude Code for any mentions of bridge socket fixes.
  • Try updating Claude Code to the latest version (currently 2.1.111 is mentioned in the logs, but the user is on 2.1.89) to see if the issue is resolved.
  • Investigate the cowork_vm_node.log file for any other error messages that may provide more insight into the bridge socket creation failure.
  • Test the MCP connector with a different task or configuration to isolate if the issue is specific to the "Canva: make me Instagram designs" task.

Example

No code snippet is provided as the issue seems to be related to a specific version or configuration of Claude Code.

Notes

The issue may be specific to the macOS platform or the Anthropic API, and further testing on different environments may be necessary to fully understand the root cause.

Recommendation

Apply workaround: Update to the latest version of Claude Code (2.1.111 or newer) to potentially resolve the bridge socket issue, as the problem is reported as a regression and the user is on an older version.

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