You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
Cowork on Windows fails with "Can't reach the Claude API from Claude's workspace." The VM boots successfully, authenticates via vsock/MITM proxy, and spawns the Claude process — but every outbound TCP connection from inside the VM fails. DNS queries from the VM to the gateway (172.16.0.1) go completely unanswered, so the VM never even reaches the point of attempting a TCP connection.
After extensive diagnostics, the networking state after Cowork startup looks like this:
ICS sharing is disabled on all host connections (checked via HNetCfg.HNetShare COM object)
No NAT rules exist (Get-NetNat returns empty)
IP forwarding is disabled on the cowork virtual adapter
No DNS or TCP listeners on 172.16.0.1 (the gateway IP the VM uses)
Packet capture over ~95s shows 0 DNS responses and 0 TCP packets from/to the VM
An ASCII string search of cowork-svc.exe (v1.1.4010) finds no instances of EnableSharing, HNetCfg, NetNat, or INetSharing — suggesting the ICS activation step may be missing from the binary. Note: this search does not cover Unicode/wide strings; however, COM ProgIDs such as HNetCfg.HNetShare are typically stored as ANSI strings in Windows PE binaries.
Note on CSP: A separate CSP bug (#25024) that also blocked Cowork appears to have been silently fixed in v1.1.4010 — no CSP errors observed after the update, compared to consistent errors on every v1.1.3963 attempt, with no workaround active (ELECTRON_EXTRA_LAUNCH_ARGS env var verified empty). This is based on a single post-update session so cannot be stated with certainty. This report covers only the networking bug, which remains fully broken in v1.1.4010.
What Should Happen?
The Cowork VM should be able to reach the internet and connect to the Anthropic API.
Error Messages/Logs
**User-facing error:**
Can't reach the Claude API from Claude's workspace.
Restarting Claude or reconnecting to your network sometimes resolves this.
**VM-side errors** from SDK debug logs (Help → Troubleshooting → Enable Cowork VM Debug Logging):
[API:auth] OAuth token check complete ← vsock/MITM proxy works
[API:request] Creating client, has Authorization header: false
API error (attempt 1/11): undefined Connection error. ← TCP to API fails
1P event logging: events failed to export (code=ECONNRESET)
API error (attempt 2/11): undefined Connection error. ← retry fails
Failed to export events (code=ECONNRESET)
API error (attempt 3/11): undefined Connection error. ← all retries fail
Failed to fetch plugin security messages: Request failed with status code 403
Every outbound TCP connection from the VM fails (ECONNRESET or ECONNABORTED) — API calls, telemetry, and GitHub fetches all fail identically. Only vsock (MITM proxy for OAuth) works.
**Log pattern (consistent across all attempts, both versions):**
[VM:start] Startup complete, total time: ~22-34s
[Keepalive] Starting (interval=2000ms)
[VM] API reachability: PROBABLY_UNREACHABLE
[Spawn:vm] OAuth token approved with MITM proxy
[Spawn:vm] Spawn succeeded in~3-7s
[VM] API reachability: UNREACHABLE
[VM:network] API is unreachable
[Process] Exited, code=0, duration=~270s
Steps to Reproduce
Install Claude Desktop (MSIX) on Windows 11 Pro with Hyper-V enabled
Open the Cowork tab and attempt any task
Observe: "Can't reach the Claude API from Claude's workspace"
To confirm the networking state after the failure:
Check ICS sharing via COM — disabled on all connections:
Packet capture (pktmon on cowork-vm + vEthernet adapters, 96 packets over ~95s):
Protocol breakdown: 78 UDP, 18 non-IP (ARP/IPv6 multicast), 0 TCP
DNS queries sent: api.anthropic.com (×24), ntp.ubuntu.com (×40) — all from VM to 172.16.0.1
DNS responses: 0 (zero — every query goes unanswered)
TCP SYNs: 0 (zero — VM never attempts a TCP connection)
ICS service log: silent during Cowork attempts:
Get-WinEvent-ProviderName "Microsoft-Windows-SharedAccess"-MaxEvents 20# (empty — zero events during active Cowork startup and failure)
If EnableSharing() were called, it would be expected to log here. Absence of events is consistent with CoworkVMService not interacting with the ICS service, though not conclusive on its own.
Host networking confirmed functional:
Chromium netlog (30s capture, Help → Troubleshooting → Record Net Log) shows host-side requests to a-api.anthropic.com all return HTTP 200 via QUIC/H3 — the networking issue is isolated to the VM.
Only one ICS network present:
Get-HnsNetwork|Select-Object Name, Type
# cowork-vm-vnet ICS
No competing ICS networks — the dual-ICS conflict seen on some other systems is not a factor here.
Observations
vsock works, TCP does not: Every spawn succeeds (OAuth token approved with MITM proxy, Spawn succeeded). The VM-side Claude process starts, authenticates, retries API calls 11 times over ~270s, then exits cleanly (exit_code=0). Only vsock-based communication works; all outbound TCP fails.
DNS asymmetry:Resolve-DnsName api.anthropic.com -Server 172.16.0.1 succeeds from host PowerShell, but packet capture shows the VM's DNS queries to the same address get zero responses. The mechanism behind this asymmetry is unclear to us.
Possible incomplete egress proxy on Windows: The vsock channel works for OAuth token exchange, but per community observations in [BUG] Cowork Windows - CSP blocks a-api.anthropic.com, VM starts but API unreachable (Win 11 25H2) #25024, the Windows build may lack a broader VM egress proxy layer that routes general API traffic on macOS. No references to a general-purpose outbound proxy or hvsock appear in the Windows Cowork logs, in contrast to the macOS architecture described in that thread.
User-side fix attempts (all failed)
Manually enabling IP forwarding — no effect without NAT
Creating NetNat — blocked ("duplicate name exists on network" — ICS creates a hidden NAT)
Replacing with NAT-type HNS network — CoworkVMService terminates immediately (appears to expect ICS type)
Manually enabling ICS sharing — adds conflicting 192.168.137.1 IP (ScopeAddress mismatch with 172.16.0.0/24), still causes ECONNRESET
Setting DNS on all adapters to 1.1.1.1/8.8.8.8 — doesn't fix routing
Removing Default Switch — Windows recreates it automatically
Modifying HNS endpoint DNS via Invoke-HnsRequest — returns Success=False
Complete uninstall + reinstall (only Wi-Fi active, all other adapters disabled, all HNS networks removed, vm_bundles deleted) — fresh install creates an identical broken ICS network with sharing disabled. Strongly suggests this is not a stale state issue.
Help → Troubleshooting → Delete Cowork VM Bundle and Restart — bundle re-downloads and workspace starts successfully, but identical failure immediately follows.
Diagnostic files
Three datasets available on request (collected via Help → Troubleshooting):
SDK debug logs (zip) — VM-side process logs showing API retry pattern
Preflight Checklist
What's Wrong?
Cowork on Windows fails with "Can't reach the Claude API from Claude's workspace." The VM boots successfully, authenticates via vsock/MITM proxy, and spawns the Claude process — but every outbound TCP connection from inside the VM fails. DNS queries from the VM to the gateway (172.16.0.1) go completely unanswered, so the VM never even reaches the point of attempting a TCP connection.
After extensive diagnostics, the networking state after Cowork startup looks like this:
HNetCfg.HNetShareCOM object)Get-NetNatreturns empty)An ASCII string search of
cowork-svc.exe(v1.1.4010) finds no instances ofEnableSharing,HNetCfg,NetNat, orINetSharing— suggesting the ICS activation step may be missing from the binary. Note: this search does not cover Unicode/wide strings; however, COM ProgIDs such asHNetCfg.HNetShareare typically stored as ANSI strings in Windows PE binaries.Note on CSP: A separate CSP bug (#25024) that also blocked Cowork appears to have been silently fixed in v1.1.4010 — no CSP errors observed after the update, compared to consistent errors on every v1.1.3963 attempt, with no workaround active (
ELECTRON_EXTRA_LAUNCH_ARGSenv var verified empty). This is based on a single post-update session so cannot be stated with certainty. This report covers only the networking bug, which remains fully broken in v1.1.4010.What Should Happen?
The Cowork VM should be able to reach the internet and connect to the Anthropic API.
Error Messages/Logs
Steps to Reproduce
To confirm the networking state after the failure:
Get-NetNat— returns emptyGet-NetIPInterface -InterfaceAlias "vEthernet (cowork-vm-vnet)" -AddressFamily IPv4 | Select Forwarding— returns DisabledClaude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
Unknown — an auto-update may have changed the version during the reboot period.
Claude Code Version
Claude Desktop v1.1.4010 (Windows MSIX) — this is Claude Desktop, not the Claude Code CLI. Also reproduced on v1.1.3963.
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
System configuration
Test-NetConnection api.anthropic.com -Port 443succeeds from hostDetailed diagnostic evidence
No NAT rules:
IP forwarding disabled:
No DNS listener on gateway (VM queries go unanswered — confirmed by packet capture):
No TCP listeners on gateway:
Packet capture (
pktmonon cowork-vm + vEthernet adapters, 96 packets over ~95s):ICS service log: silent during Cowork attempts:
If
EnableSharing()were called, it would be expected to log here. Absence of events is consistent with CoworkVMService not interacting with the ICS service, though not conclusive on its own.Hyper-V VMMS Networking/Admin: also silent:
Binary string search — ICS/NAT strings absent from cowork-svc.exe:
Run twice against the same binary with confirmed clean path — same result both times.
ICS ScopeAddress mismatch (observed when manually enabling ICS):
Host networking confirmed functional:
Chromium netlog (30s capture, Help → Troubleshooting → Record Net Log) shows host-side requests to
a-api.anthropic.comall return HTTP 200 via QUIC/H3 — the networking issue is isolated to the VM.Only one ICS network present:
No competing ICS networks — the dual-ICS conflict seen on some other systems is not a factor here.
Observations
OAuth token approved with MITM proxy,Spawn succeeded). The VM-side Claude process starts, authenticates, retries API calls 11 times over ~270s, then exits cleanly (exit_code=0). Only vsock-based communication works; all outbound TCP fails.Resolve-DnsName api.anthropic.com -Server 172.16.0.1succeeds from host PowerShell, but packet capture shows the VM's DNS queries to the same address get zero responses. The mechanism behind this asymmetry is unclear to us.User-side fix attempts (all failed)
Invoke-HnsRequest— returnsSuccess=FalseDiagnostic files
Three datasets available on request (collected via Help → Troubleshooting):
Related issues
a-api.anthropic.com(macOS, FIXED)a-api.anthropic.com(Windows, appears fixed in v1.1.4010)