Cowork workspace fails with "VM connection timeout after 60 seconds" — CoworkScheduledTasks memory leak
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?
Environment:
OS: Windows 11 Home 10.0.26200
Claude Code desktop app
Description:
The Cowork workspace consistently fails to start with the error: "VM connection timeout after 60 seconds". The issue persists after multiple restarts and workspace reinstalls.
Logs found in %AppData%\Roaming\Claude\logs\claude.ai-web.log:
MaxListenersExceededWarning: Possible EventEmitter memory leak detected.
11 CoworkScheduledTasks_onScheduledTaskEvent listeners added.
Use emitter.setMaxListeners() to increase limit.
This warning repeats continuously across sessions, suggesting event listeners are not being cleaned up between sessions, eventually causing the VM connection to time out.
Steps already taken (none resolved the issue):
Restarted Claude Code multiple times
Reinstalled the workspace multiple times
Verified network connectivity (Test-NetConnection api.anthropic.com -Port 443 → TcpTestSucceeded: True)
No proxy, no VPN
Windows Firewall reviewed — no blocking rules
Expected behavior: Cowork workspace starts successfully.
Actual behavior: VM connection times out every time. The CoworkScheduledTasks memory leak appears to be the root cause.
What Should Happen?
Use the cowork
Error Messages/Logs
Cowork fails with "VM connection timeout after 60 seconds" on every attempt. Logs show repeated MaxListenersExceededWarning on CoworkScheduledTasks (11+ listeners accumulated). Restarted, reinstalled workspace multiple times — issue persists. Windows 11 Home.
Steps to Reproduce
Open Claude Code desktop app on Windows 11
Navigate to Cowork tab
Workspace fails to start with "VM connection timeout after 60 seconds"
Restart Claude Code — issue persists
Reinstall workspace — issue persists
Log evidence (%AppData%\Roaming\Claude\logs\claude.ai-web.log):
MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 CoworkScheduledTasks_onScheduledTaskEvent listeners added.
Warning repeats across every session. No proxy, no VPN. Port 443 to api.anthropic.c
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Claude Code Version: 2.1.170 (Claude Code) Operating System: cambia de macOS → Windows Did this work in a previous version: déjalo en "Yes, this worked in a previous version"
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 ↗