[BUG] Cowork Windows - CSP blocks a-api.anthropic.com, VM starts but API unreachable (Win 11 25H2)

Status Fixed / completed
Maintainer reply None cached
Activity 11 comments · opened Feb 11, 2026 · closed Feb 26, 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?

Cowork on Windows consistently fails with "VM connection timeout after 60 seconds." The VM boots successfully, network connects, and SDK installs ... but the API is unreachable due to a Content Security Policy (CSP) issue in the Electron app that blocks a-api.anthropic.com.

This is the Windows equivalent of #18006 (CSP missing a-api.anthropic.com in connect-src), which was fixed on macOS but not carried to the Windows build.

Additionally, the network diagnostics code runs macOS commands (/sbin/ifconfig, /usr/sbin/scutil, /usr/sbin/kextstat) on Windows, producing ENOENT errors and labeling output as "Comprehensive macOS Diagnostics."

What Should Happen?

CSP should include a-api.anthropic.com / api.anthropic.com in the connect-src directive so the VM can reach the API after startup. Network diagnostics should use Windows-appropriate commands (ipconfig, netsh, etc.) instead of macOS binaries.

Error Messages/Logs

From claude.ai-web.log ... CSP blocking API:

2026-02-11 09:05:16 [error] Connecting to 'https://a-api.anthropic.com/v1/m' violates the following Content Security Policy directive: "connect-src 'self' https://api.segment.io https://*.segment.io https://*.segment.com https://a-cdn.anthropic.com https://*.google.com https://*.facebook.com https://*.facebook.net https://*.doubleclick.net". The action has been blocked.
2026-02-11 09:05:16 [error] Fetch API cannot load https://a-api.anthropic.com/v1/m. Refused to connect because it violates the document's Content Security Policy.

From cowork_vm_node.log — VM starts fine, API unreachable:

2026-02-11 09:29:31 [info] [VM:start] Startup complete, total time: 22996ms
2026-02-11 09:29:31 [info] [Keepalive] Starting (interval=2000ms)
2026-02-11 09:29:34 [info] [VM] API reachability: PROBABLY_UNREACHABLE
2026-02-11 09:29:58 [info] [VM] API reachability: UNREACHABLE
2026-02-11 09:29:58 [warn] [VM:network] API is unreachable

From cowork_vm_node.log — macOS diagnostics running on Windows:

2026-02-11 09:34:24 [info] [networkDiagnostics] === Comprehensive macOS Diagnostics ===
2026-02-11 09:34:24 [error] [networkDiagnostics] Failed to run /sbin/ifconfig: Error: Failed to spawn /sbin/ifconfig: spawn /sbin/ifconfig ENOENT
2026-02-11 09:34:24 [error] [networkDiagnostics] Failed to run /usr/sbin/scutil: Error: Failed to spawn /usr/sbin/scutil: spawn /usr/sbin/scutil ENOENT
2026-02-11 09:34:24 [error] [networkDiagnostics] Failed to run /usr/sbin/kextstat: Error: Failed to spawn /usr/sbin/kextstat: spawn /usr/sbin/kextstat ENOENT

Steps to Reproduce

  1. Install Claude Desktop v1.1.2685.0 on Windows 11 25H2 via MSIX
  2. Log in with a Max plan account
  3. Switch to Cowork tab
  4. Attempt any task
  5. VM boots, connects network, installs SDK, then reports API UNREACHABLE
  6. After ~60s, "VM connection timeout after 60 seconds" error is displayed

Claude Model

Other

Is this a regression?

No, this never worked

Last Working Version

N / A

Claude Code Version

N/A

Platform

Other

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

  • Related to #18006 (same CSP bug on macOS, apparently fixed for Mac but not carried to the Windows build)
  • Related to #24918 (another Windows Day 1 Cowork failure)
  • The VM itself works perfectly — boots, gets network, installs SDK in ~12-23 seconds
  • Regular Chat mode works fine, only Cowork is affected
  • Environment has Defender ASR rules and Intune management, but these are not the cause — the failures are internal to the Claude Desktop app
  • Full Hyper-V is not enabled, but WSL2 runs fine via VirtualMachinePlatform and the VM boots successfully, so this is not a virtualization issue
  • CoworkVMService is installed and running (Automatic start). Hyper-V Host Compute Service (vmcompute) is also running. No issues with VM infrastructure.
  • Windows Firewall has explicit allow rules for Claude in both inbound and outbound directions
  • There is no local proxy listener for VM egress traffic. On macOS, the MITM proxy listens on a localhost port (see #18854) to route VM API calls through the host. On Windows, no such listener exists — the only TCP connection from Claude is a single outbound connection to Anthropic for the web UI.
  • Zero references to proxy, port, socket, vsock, or hvsock appear anywhere in the Windows logs, unlike macOS where the MITM proxy and vsock infrastructure are extensively logged. This suggests the VM egress proxy layer may not be fully implemented in the Windows build.
  • No coworkd log (guest-side log from inside the VM) exists, so there is no visibility into what the VM is doing when it attempts to reach the API
  • Network diagnostics code runs macOS-only commands (/sbin/ifconfig, /usr/sbin/scutil, /usr/sbin/kextstat) on Windows, producing ENOENT errors and labeling output as "Comprehensive macOS Diagnostics"

View original on GitHub ↗

11 Comments

michael-wise · 6 months ago

Same issue.

Logs are smoking gun. See commentary after logs.

Content Security Policy within Claude (claude.ai-web.log)

2026-02-11 12:17:31 [error] Connecting to 'https://a-api.anthropic.com/v1/m' violates the following Content Security Policy directive: "connect-src 'self' https://api.segment.io https://*.segment.io https://*.segment.com https://a-cdn.anthropic.com https://*.google.com https://*.facebook.com https://*.facebook.net https://*.doubleclick.net". The action has been blocked.
2026-02-11 12:17:31 [error] Fetch API cannot load https://a-api.anthropic.com/v1/m. Refused to connect because it violates the document's Content Security Policy.

API Unreachable after successful network connect (cowork_vm_node.log)

2026-02-11 14:31:36 [info] [VM:start] Beginning startup, bundlePath=C:\Users\weezy\AppData\Roaming\Claude\vm_bundles\claudevm.bundle
2026-02-11 14:31:36 [info] [VM:start] Bundle version: fc96f5bc6a7aeee6e651437eba3c76d0fe9a16f3
2026-02-11 14:31:36 [info] [VM:start] VM instance ID: da832b4c-8346-4770-b37f-9d942e4b80fd
2026-02-11 14:31:36 [info] [VM:steps] download_and_sdk_prepare started
2026-02-11 14:31:36 [info] [VM:steps] download_and_sdk_prepare completed (4ms)
2026-02-11 14:31:36 [info] [VM:steps] load_swift_api started
2026-02-11 14:31:36 [info] [VM:steps] load_swift_api completed (0ms)
2026-02-11 14:31:36 [info] [Callbacks] Initializing VM event callbacks...
2026-02-11 14:31:36 [info] [Callbacks] VM event callbacks initialized
2026-02-11 14:31:36 [info] [VM:start] Copying smol-bin.vhdx to bundle: C:\Program Files\WindowsApps\Claude_1.1.2685.0_x64__pzs8sxrjxfjjc\app\resources\smol-bin.vhdx -> C:\Users\weezy\AppData\Roaming\Claude\vm_bundles\claudevm.bundle\smol-bin.vhdx
2026-02-11 14:31:36 [info] [VM:start] smol-bin.vhdx copied successfully
2026-02-11 14:31:36 [info] [VM:start] Configuring Windows VM service...
2026-02-11 14:31:36 [info] [VM:start] Windows VM service configured
2026-02-11 14:31:44 [info] [VM] Network status: NOT_CONNECTED
2026-02-11 14:31:44 [info] [VM:network] Not connected, will show error in 30000ms if not resolved
2026-02-11 14:31:44 [info] [VM:steps] sdk_install started
2026-02-11 14:31:44 [info] [VM:start] Installing SDK: subpath=AppData/Local/Packages/Claude_pzs8sxrjxfjjc/LocalCache/Roaming/Claude/claude-code-vm, version=2.1.34
2026-02-11 14:31:44 [info] [VM] Network status: CONNECTED
2026-02-11 14:31:45 [info] [VM:steps] sdk_install completed (1338ms)
2026-02-11 14:31:45 [info] [VM:start] Startup complete, total time: 9278ms
2026-02-11 14:31:45 [info] [Keepalive] Starting (interval=2000ms)
2026-02-11 14:31:49 [info] [VM] API reachability: PROBABLY_UNREACHABLE
2026-02-11 14:32:14 [info] [VM] API reachability: UNREACHABLE
2026-02-11 14:32:14 [warn] [VM:network] API is unreachable

Environment: Windows 11 Pro (24H2), WSL2 installed, Hyper-V available. I have PIA but not running or active.

Symptoms: Chat works fine. Cowork fails 100% of the time with "Cannot connect to Claude API from workspace."

What I verified:
HNS NAT network (cowork-vm-nat) exists with correct subnet (172.16.0.0/24). DNS on VM endpoint is correct (ISP DNS, not hardcoded). IP forwarding enabled on both cowork-vm-nat and Wi-Fi adapters. Windows Firewall fully disabled made no difference. Changing DNS to 1.1.1.1/8.8.8.8 made no difference. WSL updated with default version set to 2.

What the logs show:
VM boots in ~9 seconds, network status reaches CONNECTED, and the SDK installs successfully — proving outbound connectivity works. API reachability immediately goes PROBABLY_UNREACHABLE → UNREACHABLE. Separately, the app-level CSP blocks a-api.anthropic.com — it's missing from the connect-src directive.

Conclusion: The VM has working network connectivity (it downloads and installs the SDK), but the MITM proxy or CSP configuration is blocking API calls specifically. This appears to be a configuration issue on Anthropic's side, not a user networking problem.

More info from cowork_vm_node.log, looks like it's trying to run MacOS networking commands.

2026-02-11 16:17:52 [info] [networkDiagnostics] Gathering network diagnostics...
2026-02-11 16:17:52 [warn] [networkDiagnostics] Failed to detect VPN interfaces: Error: Failed to spawn /sbin/ifconfig: spawn /sbin/ifconfig ENOENT
    at ChildProcess.<anonymous> (C:\Program Files\WindowsApps\Claude_1.1.2685.0_x64__pzs8sxrjxfjjc\app\resources\app.asar\.vite\build\index.js:128:38512)
    at ChildProcess.emit (node:events:531:35)
    at ChildProcess._handle.onexit (node:internal/child_process:291:12)
    at onErrorNT (node:internal/child_process:483:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
  [stack]: [Getter/Setter],
  [message]: 'Failed to spawn /sbin/ifconfig: spawn /sbin/ifconfig ENOENT'
}
2026-02-11 16:17:52 [warn] [networkDiagnostics] Failed to detect connected VPNs via scutil: Error: Failed to spawn /usr/sbin/scutil: spawn /usr/sbin/scutil ENOENT
    at ChildProcess.<anonymous> (C:\Program Files\WindowsApps\Claude_1.1.2685.0_x64__pzs8sxrjxfjjc\app\resources\app.asar\.vite\build\index.js:128:38512)
    at ChildProcess.emit (node:events:531:35)
    at ChildProcess._handle.onexit (node:internal/child_process:291:12)
    at onErrorNT (node:internal/child_process:483:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
  [stack]: [Getter/Setter],
  [message]: 'Failed to spawn /usr/sbin/scutil: spawn /usr/sbin/scutil ENOENT'
}
2026-02-11 16:17:52 [info] [networkDiagnostics] Diagnostics gathered:
2026-02-11 16:17:52 [info] [networkDiagnostics] === Comprehensive macOS Diagnostics ===
2026-02-11 16:17:52 [info] [networkDiagnostics] === ifconfig ===
2026-02-11 16:17:52 [info] [networkDiagnostics] Gathering network diagnostics...
2026-02-11 16:17:52 [error] [networkDiagnostics] Failed to run /sbin/ifconfig: Error: Failed to spawn /sbin/ifconfig: spawn /sbin/ifconfig ENOENT
2026-02-11 16:17:52 [info] [networkDiagnostics] === bootpd process status ===
2026-02-11 16:17:52 [warn] [networkDiagnostics] Failed to detect VPN interfaces: Error: Failed to spawn /sbin/ifconfig: spawn /sbin/ifconfig ENOENT
    at ChildProcess.<anonymous> (C:\Program Files\WindowsApps\Claude_1.1.2685.0_x64__pzs8sxrjxfjjc\app\resources\app.asar\.vite\build\index.js:128:38512)
    at ChildProcess.emit (node:events:531:35)
    at ChildProcess._handle.onexit (node:internal/child_process:291:12)
    at onErrorNT (node:internal/child_process:483:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
  [stack]: [Getter/Setter],
  [message]: 'Failed to spawn /sbin/ifconfig: spawn /sbin/ifconfig ENOENT'
}
2026-02-11 16:17:52 [warn] [networkDiagnostics] Failed to detect connected VPNs via scutil: Error: Failed to spawn /usr/sbin/scutil: spawn /usr/sbin/scutil ENOENT
    at ChildProcess.<anonymous> (C:\Program Files\WindowsApps\Claude_1.1.2685.0_x64__pzs8sxrjxfjjc\app\resources\app.asar\.vite\build\index.js:128:38512)
    at ChildProcess.emit (node:events:531:35)
    at ChildProcess._handle.onexit (node:internal/child_process:291:12)
    at onErrorNT (node:internal/child_process:483:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
  [stack]: [Getter/Setter],
  [message]: 'Failed to spawn /usr/sbin/scutil: spawn /usr/sbin/scutil ENOENT'
}
2026-02-11 16:17:52 [info] [networkDiagnostics] Diagnostics gathered:
2026-02-11 16:17:52 [info] [networkDiagnostics] === Comprehensive macOS Diagnostics ===
2026-02-11 16:17:52 [info] [networkDiagnostics] === ifconfig ===
2026-02-11 16:17:52 [info] Dispatching startup error: VM connection timeout after 60 seconds
2026-02-11 16:17:52 [error] [VM:start] Startup failed: Error: VM connection timeout after 60 seconds
    at T_t (C:\Program Files\WindowsApps\Claude_1.1.2685.0_x64__pzs8sxrjxfjjc\app\resources\app.asar\.vite\build\index.js:493:5236)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
  [stack]: [Getter/Setter],
  [message]: 'VM connection timeout after 60 seconds'
}
2026-02-11 16:17:52 [error] [networkDiagnostics] Failed to run /usr/bin/pgrep: Error: Failed to spawn /usr/bin/pgrep: spawn /usr/bin/pgrep ENOENT
2026-02-11 16:17:52 [info] [networkDiagnostics] === vmnet/bridge interfaces ===
2026-02-11 16:17:52 [error] [networkDiagnostics] Failed to run /sbin/ifconfig: Error: Failed to spawn /sbin/ifconfig: spawn /sbin/ifconfig ENOENT
2026-02-11 16:17:52 [info] [networkDiagnostics] === bootpd process status ===
2026-02-11 16:17:52 [error] [networkDiagnostics] Failed to run /sbin/ifconfig: Error: Failed to spawn /sbin/ifconfig: spawn /sbin/ifconfig ENOENT
2026-02-11 16:17:52 [info] [networkDiagnostics] === Network configuration ===
2026-02-11 16:17:52 [error] [networkDiagnostics] Failed to run /usr/bin/pgrep: Error: Failed to spawn /usr/bin/pgrep: spawn /usr/bin/pgrep ENOENT
2026-02-11 16:17:52 [info] [networkDiagnostics] === vmnet/bridge interfaces ===
2026-02-11 16:17:52 [error] [networkDiagnostics] Failed to run /usr/sbin/scutil: Error: Failed to spawn /usr/sbin/scutil: spawn /usr/sbin/scutil ENOENT
2026-02-11 16:17:52 [info] [networkDiagnostics] === vmnet kext status ===
2026-02-11 16:17:52 [error] [networkDiagnostics] Failed to run /sbin/ifconfig: Error: Failed to spawn /sbin/ifconfig: spawn /sbin/ifconfig ENOENT
2026-02-11 16:17:52 [info] [networkDiagnostics] === Network configuration ===
2026-02-11 16:17:52 [error] [networkDiagnostics] Failed to run /usr/sbin/kextstat: Error: Failed to spawn /usr/sbin/kextstat: spawn /usr/sbin/kextstat ENOENT
2026-02-11 16:17:52 [info] [networkDiagnostics] === System logs (bootpd/vmnet) ===
2026-02-11 16:17:52 [error] [networkDiagnostics] Failed to run /usr/sbin/scutil: Error: Failed to spawn /usr/sbin/scutil: spawn /usr/sbin/scutil ENOENT
2026-02-11 16:17:52 [info] [networkDiagnostics] === vmnet kext status ===
2026-02-11 16:17:52 [error] [networkDiagnostics] Failed to run /usr/bin/log: Error: Failed to spawn /usr/bin/log: spawn /usr/bin/log ENOENT
2026-02-11 16:17:52 [info] [networkDiagnostics] === End Comprehensive Diagnostics ===
2026-02-11 16:17:52 [error] [networkDiagnostics] Failed to run /usr/sbin/kextstat: Error: Failed to spawn /usr/sbin/kextstat: spawn /usr/sbin/kextstat ENOENT
2026-02-11 16:17:52 [info] [networkDiagnostics] === System logs (bootpd/vmnet) ===
2026-02-11 16:17:52 [error] [networkDiagnostics] Failed to run /usr/bin/log: Error: Failed to spawn /usr/bin/log: spawn /usr/bin/log ENOENT
2026-02-11 16:17:52 [info] [networkDiagnostics] === End Comprehensive Diagnostics ===
2026-02-11 16:18:53 [info] [VM:shutdown] App quit, stopping VM (instance: e401eabe-729b-4642-ab3d-d83cf54c46b7)...
2026-02-11 16:18:53 [info] [VM:shutdown] Completed in 214ms
2026-02-11 16:20:51 [info] [Bundle:status] rootfs.vhdx missing
2026-02-11 16:20:51 [info] [VM] Loading vmClient (TypeScript) module...
2026-02-11 16:20:51 [info] [VM] Module loaded successfully
2026-02-11 16:20:51 [info] [Bundle:status] rootfs.vhdx missing
2026-02-11 16:20:51 [info] [Bundle:status] rootfs.vhdx missing
2026-02-11 16:20:51 [info] [warm] No warm file found for rootfs.vhdx at current version
2026-02-11 16:20:51 [info] rootfs.vhdx not found, downloading...
2026-02-11 16:20:51 [info] Downloading rootfs.vhdx...
2026-02-11 16:20:52 [info] [VM:start] Beginning startup, bundlePath=C:\Users\weezy\AppData\Roaming\Claude\vm_bundles\claudevm.bundle
2026-02-11 16:20:52 [info] [VM:start] Bundle version: fc96f5bc6a7aeee6e651437eba3c76d0fe9a16f3
2026-02-11 16:20:52 [info] [VM:start] VM instance ID: fd3023a4-a070-48b3-a7a0-8bc28f9fc943
2026-02-11 16:20:52 [info] [VM:steps] download_and_sdk_prepare started
2026-02-11 16:20:52 [info] [downloadVM] Download already in progress, waiting...
2026-02-11 16:22:06 [info] rootfs.vhdx.zst checksum validated
2026-02-11 16:22:06 [info] [Bundle:status] vmlinuz missing
2026-02-11 16:22:06 [info] [warm] No warm file found for vmlinuz at current version
2026-02-11 16:22:06 [info] vmlinuz not found, downloading...
2026-02-11 16:22:06 [info] Downloading vmlinuz...
2026-02-11 16:22:06 [info] vmlinuz.zst checksum validated
2026-02-11 16:22:06 [info] [Bundle:status] initrd missing
2026-02-11 16:22:06 [info] [warm] No warm file found for initrd at current version
2026-02-11 16:22:06 [info] initrd not found, downloading...
2026-02-11 16:22:06 [info] Downloading initrd...
2026-02-11 16:22:12 [info] initrd.zst checksum validated
2026-02-11 16:22:12 [info] All files ready in C:\Users\weezy\AppData\Roaming\Claude\vm_bundles\claudevm.bundle
2026-02-11 16:22:12 [info] [VM:steps] download_and_sdk_prepare completed (79993ms)
2026-02-11 16:22:12 [info] [VM:steps] load_swift_api started
2026-02-11 16:22:12 [info] [VM:steps] load_swift_api completed (0ms)
2026-02-11 16:22:12 [info] [Callbacks] Initializing VM event callbacks...
2026-02-11 16:22:12 [info] [Callbacks] VM event callbacks initialized
2026-02-11 16:22:12 [info] [VM:start] Copying smol-bin.vhdx to bundle: C:\Program Files\WindowsApps\Claude_1.1.2685.0_x64__pzs8sxrjxfjjc\app\resources\smol-bin.vhdx -> C:\Users\weezy\AppData\Roaming\Claude\vm_bundles\claudevm.bundle\smol-bin.vhdx
2026-02-11 16:22:12 [info] [VM:start] smol-bin.vhdx copied successfully
2026-02-11 16:22:12 [info] [VM:start] Configuring Windows VM service...
2026-02-11 16:22:12 [info] [VM:start] Windows VM service configured
2026-02-11 16:22:25 [info] [VM] Network status: NOT_CONNECTED
2026-02-11 16:22:25 [info] [VM:network] Not connected, will show error in 30000ms if not resolved
2026-02-11 16:22:25 [info] [VM:steps] sdk_install started
2026-02-11 16:22:25 [info] [VM:start] Installing SDK: subpath=AppData/Local/Packages/Claude_pzs8sxrjxfjjc/LocalCache/Roaming/Claude/claude-code-vm, version=2.1.34
2026-02-11 16:22:25 [info] [VM] Network status: CONNECTED
2026-02-11 16:22:29 [info] [VM:steps] sdk_install completed (4117ms)
2026-02-11 16:22:29 [info] [VM:start] Startup complete, total time: 97343ms
2026-02-11 16:22:29 [info] [Keepalive] Starting (interval=2000ms)
2026-02-11 16:22:30 [info] [VM] API reachability: PROBABLY_UNREACHABLE
2026-02-11 16:22:56 [info] [VM] API reachability: UNREACHABLE
2026-02-11 16:22:56 [warn] [VM:network] API is unreachable
DesignMike · 6 months ago

Same error here

jarandmoen · 6 months ago

Same issue.
Worked around this by disabling the Ethernet adapter (I am using a docking station, so Ethernet #2 is the active), delete the cowork-vm-nat adapter, and then uninstall and install a fresh copy of Claude Dekstop. Then reenable the Ethernet adapter.

  • Disable the problematic Ethernet adapter

Disable-NetAdapter -Name "Ethernet" -Confirm:$false

  • Remove the cowork HNS network

Get-HnsNetwork | Where-Object { $_.Name -like "cowork*" } | Remove-HnsNetwork

  • Reenable the problematic adapter

Enable-NetAdapter -Name "Ethernet" -Confirm:$false

antx0o0 · 6 months ago

Same mistake here

tg2k · 6 months ago

The DNS config tweak at https://github.com/anthropics/claude-code/issues/24918#issuecomment-3888977751 fixed this for me. It definitely should be addressed in setup though.

amtaaaa · 6 months ago

Hi.

I had the same issue on Cowork.

I somehow bypassed by enabling developper options

MichalAftanas · 6 months ago

Same issue here on Windows 11 (Build 10.0.26200), Intel Core Ultra 7 155H.
After extensive debugging, I've identified the root cause more precisely:
The MITM proxy never starts. The VM boots successfully, gets network connectivity, and the HNS cowork-vm-nat network is correctly configured (172.16.0.0/24), but no proxy process ever binds to any port on the host. Without the proxy, the VM cannot inject OAuth tokens, so API reachability stays UNREACHABLE.
Evidence: netstat -ano | findstr "LISTENING" shows nothing on any expected proxy port (8877, 8888, 3128, 9090) after Cowork starts.
This appears caused by MSIX sandbox restrictions ([MSIX] Filesystem virtualization active confirmed in main.log) blocking the proxy from binding to the Hyper-V network interface.
Environment:

Windows 11 Build 26200
Hyper-V: Enabled
WSL2 Ubuntu 24.04: Working fine, curl -I https://api.anthropic.com returns HTTP/2 404 (reachable) from WSL2
HNS cowork-vm-nat network: Present and correctly configured
Installed via MSIX (Windows Store package)

Workaround request: Is there a non-MSIX direct .exe installer available that bypasses the sandbox restrictions?

krisSG23 · 6 months ago

Also the same for me:

CSP Issue:
2026-02-19 19:17:49 [error] Connecting to 'https://a-api.anthropic.com/v1/m' violates the following Content Security Policy directive: "connect-src 'self' https://api.segment.io https://.segment.io
https://.segment.com https://a-cdn.anthropic.com https://.google.com https://.facebook.com https://.facebook.net https://.doubleclick.net". The action has been blocked.
2026-02-19 19:17:49 [error] Fetch API cannot load https://a-api.anthropic.com/v1/m. Refused to connect because it violates the document's Content Security Policy.
2026-02-19 19:17:49 [error] Error sending segment performance metrics TypeError: Failed to fetch
2026-02-19 19:19:29 [error] Uncaught Error: Minified React error #418; visit https://react.dev/errors/418?args[]=HTML&args[]= for the full message or use the non-minified dev environment for full errors and
additional helpful warnings.

API Connection Issue
2026-02-19 20:15:28 [info] [VM:steps] load_swift_api started
2026-02-19 20:15:28 [info] [VM:steps] load_swift_api completed (0ms)
2026-02-19 20:15:36 [info] [VM:network] Not connected, will show error in 30000ms if not resolved
2026-02-19 20:15:41 [info] [VM] API reachability: PROBABLY_UNREACHABLE
2026-02-19 20:16:07 [info] [VM] API reachability: UNREACHABLE
2026-02-19 20:16:07 [warn] [VM:network] API is unreachable

My current setup
App Version 1.1.3647 on Windows 11 Pro (24H2)
Hyper-V and Virtual Machine Platform enabled
ICS networking confirmed working correctly
DNS resolving correctly through 172.16.0.1
Routes and firewall confirmed not blocking traffic
(also tried disabling disconnected network adapters, enabling IP forwarding, and set DNS on the vEthernet (cowork-vm-vnet) adapter to 1.1.1.1/8.8.8.8)

What Claude said
Notice it's a-api.anthropic.com, not api.anthropic.com. The Electron app's Content Security Policy is missing a-api.anthropic.com from its connect-src whitelist, so the app itself is blocking the VM's API calls before they even hit the network. This has nothing to do with your network configuration — everything you've set up is correct.
This is entirely on Anthropic's side to fix — the CSP header in the Windows Electron build needs to be updated to include https://a-api.anthropic.com. It was fixed on macOS previously but wasn't carried over to the Windows build.

krisSG23 · 6 months ago

Updating my status to the comment I made above. Cowork is now working in our environment after installing version 1.1.4328.0. We enabled:

-Virtual Machine Platform
-Hyper-V
-Windows Hypervisor Platform (we previously just had the first two enabled, but cowork was still failing until we enabled this)

We have tried on three Windows 11 Pro machines so far that were having issues, and they're working now. We did not have to disable any disconnected network interfaces or enable IP forwarding this time around.

Note, when I first installed the app, Cowork was having the API connection issue. I disabled the disconnected network interface that the VM was seeing and enabled IP forwarding (along with enabling VPM/Hyper-V features), and it worked for a day. However, cowork eventually stopped working and ran into the API connection issue again with the workarounds no longer working. It appeared that the app update broke it? The app went through at least five more updates until this version started working. We were checking and troubleshooting daily. Unfortunately, I didn't note what the original app version I was on. I just hope that this stays working and won't run into the API connection issue again with a future update.

We are using the Claude MSIX (x64) installer from the following and pushing the installation via Intune:
https://support.claude.com/en/articles/12622703-deploy-claude-desktop-for-windows

MarshallOfSound · 6 months ago

Hey folks, v1.1.4328 should contain a rather effective fix for these networking issues some users were facing. Please update and you should be able to use Cowork 🥳

github-actions[bot] · 5 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.