Agent/CCD sessions crash with "Failed to create bridge sockets after 5 attempts" on 2.1.111
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
> Claude desktop 1.3036.0, Claude Code VM SDK 2.1.111 (macOS ARM > All local agent sessions crash ~1s after spawn with Failed to create bridge sockets after 5 attempts, exit code 1. Worked on 2.1.101 (April 14). Broke on 2.1.111 (April 16). Fresh re-download of the VM SDK reproduces. Happens across all agent folders, with ~11 plugins loaded and 20 virtio-fs mounts. Non-agent sessions on the same 2.1.111 build work fine — the bug is in the VM bridge path.
> Log: ~/Library/Logs/Claude/cowork_vm_node.log
What Should Happen?
The agents should work
Error Messages/Logs
Steps to Reproduce
Environment
- macOS (Apple Silicon)
- Claude desktop app: 1.3036.0
- Claude Code SDK (VM): 2.1.111
- Previously working: 2.1.101 (April 14, 2026)
- Broken since: 2.1.111 auto-installed (April 16, 2026)
Steps to Reproduce
- Open the Claude desktop app.
- Start any local agent-mode session (folder-based agent / Cowork CCD session) — e.g., open a folder with a
CLAUDE.mdand begin a session scoped to it. - Send any message (or just let the session initialize).
Expected
Agent session initializes and responds.
Actual
Within ~1 second of spawn, the VM-side claude process exits with code 1. The desktop app surfaces:
"Claude Code process exited with code 1. You can restart the conversation from an earlier message."
~/Library/Logs/Claude/cowork_vm_node.log shows:
[Spawn:vm] id=<uuid> Spawn succeeded in ~70ms
[vm-stderr <uuid>] Error: Failed to create bridge sockets after 5 attempts
[Process:<uuid>] Exited, code=1, signal=null, duration=~1000ms, oom=false
Scope
- Reproduces on every agent session attempt (6+ consecutive failures logged today).
- Reproduces after fully deleting
~/Library/Application Support/Claude/claude-code-vm/2.1.111and~/Library/Application Support/Claude/claude-code/2.1.111to force a fresh download — so it's not a corrupted binary. - Non-agent Claude Code sessions on the same 2.1.111 build work fine. The bug is specific to the VM/bridge path used by Cowork agent sessions.
- 11 remote plugins loaded, 20 virtio-fs mounts on the spawn command.
Workaround
None found. Downgrading to 2.1.101 not possible (binary not cached).
Attached log
~/Library/Logs/Claude/cowork_vm_node.log (see excerpt above; full file available)
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.111
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗