claude-code - 💡(How to fix) Fix [BUG] Error: Failed to create bridge sockets after 5 attempts from ~/Library/Logs/Claude/cowork_vm_node.log [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#49405Fetched 2026-04-17 08:42:05
View on GitHub
Comments
2
Participants
3
Timeline
12
Reactions
0
Author
Timeline (top)
labeled ×5cross-referenced ×3commented ×2closed ×1

Error Message

Error: Failed to create bridge sockets after 5 attempts from ~/Library/Logs/Claude/cowork_vm_node.log

Code Example

Error: Failed to create bridge sockets after 5 attempts from ~/Library/Logs/Claude/cowork_vm_node.log
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 I try to use any cowork session on the desktop app, I immediately receive this error code. I can work in the web version of code. I've uninstalled/reinstalled, rebooted mac.

App version: 1.3036.0 macOS version The log line: Error: Failed to create bridge sockets after 5 attempts from ~/Library/Logs/Claude/cowork_vm_node.log "Worked yesterday, fails on every cowork session today, even after full app quit"

What Should Happen?

I should be able to use Cowork

Error Messages/Logs

Error: Failed to create bridge sockets after 5 attempts from ~/Library/Logs/Claude/cowork_vm_node.log

Steps to Reproduce

Open Claude Cowork, type anything, receive error

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

1.3036.0

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

<img width="375" height="192" alt="Image" src="https://github.com/user-attachments/assets/5c651c0f-8b3f-4c78-92af-e123972058dc" />

extent analysis

TL;DR

The issue is likely related to a socket creation problem in the Claude Cowork desktop app, and checking the macOS permissions or firewall settings may help resolve the issue.

Guidance

  • Investigate the macOS permissions for the Claude Code app to ensure it has the necessary permissions to create bridge sockets.
  • Check the macOS firewall settings to see if they are blocking the app's attempts to create sockets.
  • Try running the app with elevated privileges to see if it resolves the issue.
  • Review the cowork_vm_node.log file for any additional error messages that may indicate the root cause of the problem.

Example

No code snippet is provided as it is not clearly supported by the issue.

Notes

The issue may be specific to the macOS platform, and the fix may not apply to other operating systems. Additionally, the provided image does not contain any relevant information to help with the issue.

Recommendation

Apply workaround: The user should try checking the macOS permissions and firewall settings to see if it resolves the issue, as upgrading to a fixed version is not implied in the given information.

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