[BUG] Cowork fails on every new task with "Claude Code process exited with code 1."

Resolved 💬 8 comments Opened Apr 16, 2026 by landypaik Closed Apr 17, 2026

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?

Related to #23746 and #19503.

Cowork fails on every new task with "Claude Code process exited with code 1."
Log shows: "Failed to create bridge sockets after 5 attempts" in cowork_vm_node.log.

Started: April 16, 2026 (worked previous day)
Plan: Claude Max
OS: Apple M4 Pro / Version 15.6.1 (24G90)
Claude Code CLI: 2.1.97 (stable, rolled back from 2.1.111)
Claude Desktop: Download today from web

Tried, none resolved:

  • Reinstalled Claude Code CLI (native installer)
  • Rolled back CLI from 2.1.111 to 2.1.97 stable
  • Cleared ~/Library/Application Support/Claude/claude-code-vm/
  • Cleared /tmp/claude-* entries
  • Installed socat 1.8.1.1 via Homebrew
  • Granted Full Disk Access to Claude app
  • Switched model from Legacy to Opus 4.7
  • Full Mac restart
  • New tasks only (no resumed sessions)

Logs attached:

cowork_vm_node.log

main.log

What Should Happen?

Claude should fulfill the task without showing me an error

Error Messages/Logs

Steps to Reproduce

Cowork fails on every new task with "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.97

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗