claude-code - 💡(How to fix) Fix [BUG] Cowork: "Failed to create bridge sockets after 5 attempts" on all sessions after update to Claude 1.3036.0 (SDK 2.1.111) [1 comments, 2 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#49342Fetched 2026-04-17 08:43:56
View on GitHub
Comments
1
Participants
2
Timeline
10
Reactions
0
Timeline (top)
cross-referenced ×4labeled ×4closed ×1commented ×1

Error Message

Error: Failed to create bridge sockets after 5 attempts Error: Failed to create bridge sockets after 5 attempts

Error Messages/Logs

Send any message → immediate error [vm-stderr] Error: Failed to create bridge sockets after 5 attempts

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?

Error: Failed to create bridge sockets after 5 attempts Claude Code process exited with code 1

What Should Happen?

After Claude Desktop auto-updated to version 1.3036.0 (cf521c), Cowork fails on every session (new and resumed) with: Error: Failed to create bridge sockets after 5 attempts Claude Code process exited with code 1 Cowork was working normally before the update. The update is the only change. Environment:

Claude Desktop: 1.3036.0 (cf521c), 2026-04-16T16:17:33.000Z VM SDK: 2.1.111 macOS Apple Silicon (MacBook Pro) socat: installed at /opt/homebrew/bin/socat No VPN, firewall, MDM, or network filtering tools

Error Messages/Logs

Steps to Reproduce

Update Claude Desktop to 1.3036.0 Open Cowork, start new conversation Send any message → immediate error

Troubleshooting attempted (none resolved it):

Full app quit + relaunch Full Mac reboot Cache wipe: rm -rf ~/Library/Caches/Claude and ~/Library/Application Support/Claude/claude-code-vm Stale socket cleanup: rm -rf /tmp/claude-* socat install via Homebrew

Log (~/Library/Logs/Claude/cowork_vm_node.log): [VM:start] Startup complete, total time: 7768ms [postConnect] Installing SDK: version=2.1.111 [Spawn:vm] OAuth token approved with MITM proxy [Spawn:vm] Spawn succeeded in 101ms [vm-stderr] Error: Failed to create bridge sockets after 5 attempts [Process] Exited, code=1, signal=null, duration=1133ms, oom=false VM starts cleanly, spawn confirms, then bridge sockets fail 1s later. 100% reproducible. Related: #23746, #19503, #46029. Same bug class has recurred across multiple updates.

Claude Model

Not sure / Multiple models

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

Claude 1.3036.0 (cf521c) 2026-04-16T16:17:33.000Z

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The issue is likely caused by a regression in the latest version of Claude Code, and a potential workaround is to downgrade to a previous version or wait for a patch.

Guidance

  • The error message "Failed to create bridge sockets after 5 attempts" suggests a problem with socket creation, which may be related to the update of Claude Desktop to version 1.3036.0.
  • The fact that Cowork was working normally before the update and the issue is 100% reproducible suggests a regression bug.
  • Try checking the logs for any other error messages that may indicate the root cause of the issue.
  • Since the issue is related to a specific version of Claude Code, waiting for a patch or downgrade to a previous version may resolve the issue.

Example

No code snippet is provided as the issue is related to a specific version of Claude Code and not a code-related problem.

Notes

The issue is likely related to the update of Claude Desktop, and the root cause may be specific to the version 1.3036.0. Without more information about the changes made in this version, it's difficult to provide a more specific solution.

Recommendation

Apply workaround: Downgrade to a previous version of Claude Code until a patch is released, as the issue is likely caused by a regression in the latest 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