claude-code - 💡(How to fix) Fix SDK 2.1.111 regression: Failed to create bridge sockets after 5 attempts (Cowork broken) [2 comments, 3 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#49515Fetched 2026-04-17 08:38:56
View on GitHub
Comments
2
Participants
3
Timeline
9
Reactions
0
Author
Timeline (top)
labeled ×4commented ×2cross-referenced ×2closed ×1

Cowork sessions crash immediately on every attempt after the SDK auto-updated from 2.1.92 → 2.1.111 today. Was working fine this morning on 2.1.92.

Error Message

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

Root Cause

Cowork sessions crash immediately on every attempt after the SDK auto-updated from 2.1.92 → 2.1.111 today. Was working fine this morning on 2.1.92.

Code Example

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

---

2026-04-16 09:12:50 [info] [postConnect] Installing SDK: version=2.1.92   ← working
2026-04-16 13:06:24 [info] [postConnect] Installing SDK: version=2.1.111  ← update happens
2026-04-16 13:12:50 [warn] [vm-stderr] Error: Failed to create bridge sockets after 5 attempts  ← immediate failure
RAW_BUFFERClick to expand / collapse

Bug Report

Summary

Cowork sessions crash immediately on every attempt after the SDK auto-updated from 2.1.92 → 2.1.111 today. Was working fine this morning on 2.1.92.

Error

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

Timeline (from logs)

  • Before 1pm today (2026-04-16): Sessions running normally on SDK 2.1.92
  • ~1pm today: SDK auto-updated to 2.1.111
  • Immediately after: Every single Cowork session fails within ~820ms with bridge socket error
  • No sessions have succeeded since the update

Environment

  • Claude Desktop: 1.569.0
  • SDK before update: 2.1.92 (working)
  • SDK after update: 2.1.111 (broken)
  • macOS: 26.3.1 (a), Darwin 25.3.0, arm64 (Apple M4 Pro)
  • VM Bundle: 5680b11bcdab215cccf07e0c0bd1bd9213b0c25d

Log evidence

2026-04-16 09:12:50 [info] [postConnect] Installing SDK: version=2.1.92   ← working
2026-04-16 13:06:24 [info] [postConnect] Installing SDK: version=2.1.111  ← update happens
2026-04-16 13:12:50 [warn] [vm-stderr] Error: Failed to create bridge sockets after 5 attempts  ← immediate failure

Every spawn attempt since 2.1.111 installed has failed with the same error. Rollback to 2.1.92 needed urgently.

extent analysis

TL;DR

Rolling back the SDK to version 2.1.92 is likely the most immediate fix to resolve the cowork session crashes.

Guidance

  • Verify that the issue is indeed caused by the SDK update by checking the logs for any other potential errors or warnings that may have occurred around the same time as the update.
  • Attempt to roll back the SDK to version 2.1.92 to confirm if this resolves the issue, as the logs suggest that this version was working correctly before the update.
  • If rolling back is not feasible, investigate potential configuration changes or environment updates that may have been introduced with the SDK update to version 2.1.111 that could be causing the bridge socket error.
  • Consider reaching out to the SDK developers or support team for further assistance, as the error message "Failed to create bridge sockets after 5 attempts" may indicate a bug or compatibility issue with the new version.

Example

No specific code snippet can be provided without more context, but the log evidence suggests that the issue is related to the SDK version update.

Notes

The exact cause of the issue is not certain, but the correlation between the SDK update and the start of the errors suggests a strong link. Rolling back to a known working version (2.1.92) is a reasonable first step to mitigate the issue while further investigation is conducted.

Recommendation

Apply workaround: Roll back the SDK to version 2.1.92, as this version was confirmed to be working before the update, and the error started immediately after the update to 2.1.111.

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

claude-code - 💡(How to fix) Fix SDK 2.1.111 regression: Failed to create bridge sockets after 5 attempts (Cowork broken) [2 comments, 3 participants]