[BUG] Claude Cowork stuck on 'sending request'
Status Fixed / completed
Maintainer reply None cached
Workaround ✓ Mentioned in thread ↓
Activity 12 comments · opened Jan 16, 2026 · closed Jan 27, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report
- [x] I am using the latest version of Claude Code
What's Wrong?
Claude Cowork gets permanently stuck on "sending request" after the Statsig client encounters network connectivity issues. Even after network is restored, the Statsig client remains in a broken state and cannot recover without manually clearing app cache.
Key symptoms:
- Regular Claude chat works fine
- Cowork specifically stuck on "sending request"
- Network connections are established but requests hang
Environment
- Platform: macOS (Tahoe)
- Claude Desktop Version: Latest (January 2026)
- Subscription: Claude Max
Root Cause Analysis
From ~/Library/Logs/Claude/claude.ai-web.log:
WARN [Statsig] useFeatureGate hook failed to find a valid StatsigClient for gate 'asset_prefetch_enabled'.
ERROR [Statsig] Failed to parse EvaluationResponse
ERROR [REACT_QUERY_CLIENT] QueryClient error: Error: Invalid authorization
The Statsig client (feature flag system) gets into a corrupted state when statsig.anthropic.com is temporarily unreachable. Once corrupted, the client cannot recover even after connectivity is restored.
Steps to Reproduce
- Use Claude Desktop with a VPN that blocks or interferes with
statsig.anthropic.com(e.g., Mullvad VPN via Tailscale exit node) - Attempt to use Cowork - it will fail/hang
- Fix network connectivity (disable VPN or add split tunnel routes)
- Attempt Cowork again - still stuck on "sending request"
- Regular chat continues to work fine
Expected Behavior
- Statsig client should gracefully handle network failures
- Statsig client should automatically retry/recover when network is restored
- Cowork should not permanently break due to transient network issues
Actual Behavior
- Statsig client fails to parse response and enters permanent error state
- Cached state becomes corrupted
- Only fix is to manually delete cache directories:
~/Library/HTTPStorages/com.anthropic.claudefordesktop/~/Library/Caches/com.anthropic.claudefordesktop/
Suggested Fix
- Add retry logic with exponential backoff to Statsig client initialization
- Implement cache invalidation when Statsig responses fail to parse
- Add a "reset" or "clear cache" option in the app UI for users
- Consider graceful degradation - allow Cowork to function with cached/default feature flags if Statsig is unreachable
Workaround
Clear the cache directories and restart the app:
rm -rf ~/Library/HTTPStorages/com.anthropic.claudefordesktop/
rm -rf ~/Library/Caches/com.anthropic.claudefordesktop/
Then relaunch Claude Desktop.
12 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Update: Additional Bug Found - CSP Blocking API Endpoint
After further investigation (with VPN completely disabled and all traffic going direct), we found a second bug that is also blocking Cowork:
Content Security Policy Violation
From
~/Library/Logs/Claude/claude.ai-web.log:Issue
The app is trying to connect to
a-api.anthropic.combut this domain is not included in the app's own CSP connect-src directive.The CSP only allows:
a-cdn.anthropic.com(CDN)But NOT:
a-api.anthropic.com(the API endpoint the app is actually trying to use)Environment
This appears to be a separate bug from the Statsig issue
Even after:
Cowork remains stuck because the app cannot connect to its own API endpoint due to CSP restrictions.
Not a duplicate - distinct issues identified
This issue is not a duplicate of the linked issues:
| Linked Issue | Their Problem | Our Problem |
|-------------|---------------|-------------|
| #12792 | Web interface stuck loading | Desktop app Cowork stuck |
| #16590 | CLI randomly freezes 5 min | Cowork permanently stuck |
| #11220 | Statsig proxy settings | Related but different - we found Statsig client corruption + CSP bug |
Our issue identifies TWO distinct bugs:
Bug 1: Statsig client doesn't recover from network issues
EvaluationResponsefails to parseBug 2: CSP blocks
a-api.anthropic.com(NEW - not in any linked issue)Refused to connect to 'https://a-api.anthropic.com/v1/m' because it violates the following Content Security Policy directiveWhile #11220 is tangentially related (Statsig + network), our findings provide:
Please keep this issue open for proper triage.
This is also reported here: https://github.com/anthropics/claude-code/issues/18006#issuecomment-3746808098
I've encountered the same, preventing Claude Cowork from working entirely.
I've had claude code itself analyze my debug logs and extract what it thinks are the relevant logs:
Environment:
Issue: "Sending request" hangs, then eventually displays "API Error: Connection error"
Root cause appears to be VM networking:
SDK debug logs show (e.g. sdk-debug-01-local_b3a041d1-8394-4593-81ca-6c0be9e6ed00.txt):
VM can connect to host but cannot make outbound HTTP requests to Anthropic API.
No VPN/proxy in use. Network bridges visible: en0, bridge100-102
It also noted:
Fix: dnsmasq interfering with Cowork VM networking
I had dnsmasq running on my Mac (likely from an old local dev setup I no longer use or remember why).
My config was minimal:
The problem: without listen-address and bind-interfaces specified, dnsmasq binds to all interfaces — including the bridge interfaces that Cowork's VM uses for networking. This was intercepting DNS queries from the VM.
Solution:
Cowork immediately started working after that.
If you need to keep dnsmasq running for local dev, restrict it to localhost only:
You can check if dnsmasq is running with
sudo lsof -i :53.Thank you to https://github.com/anthropics/claude-code/issues/18854#issuecomment-3793691280 for saying
dnsmasqand immediately a lightbulb went off!I am on Claude Desktop 1.1.886 and Mac M3 version 26.2.0. Having this issue without dnsmasq.
Same symptoms: Cowork stuck on "sending request", regular chat works fine.
But for me clearing caches and even a complete reinstall doesn't fix it.
Additional findings:
Environment: macOS 26.2, M3 Pro
This might be a more severe variant, possibly specific to macOS 26.2's Virtualization framework
changes affecting VM networking.
Confirmed: Same issue on macOS 26.2 + v1.1.886
Environment:
Symptoms:
Root Cause Confirmed:
Hit all three bugs mentioned in this thread:
Refused to connect to 'https://a-api.anthropic.com/v1/m' because it violates
the following Content Security Policy directive
ERROR [Statsig] Failed to parse EvaluationResponse
path.conversation_uuid: Input should be a valid UUID, invalid character:
expected an optional prefix of urn:uuid: followed by [0-9a-fA-F-], found l at 1
Session ID generated:
local_6936b625-7a7b-4025-a62d-c4e2e6b70c0d
Workaround Attempted:
```bash
rm -rf ~/Library/HTTPStorages/com.anthropic.claudefordesktop/
rm -rf ~/Library/Caches/com.anthropic.claudefordesktop/
This fixed CSP + Statsig bugs, but Cowork still fails due to the UUID validation issue.
Additional Context:
Chiming in to say that I had this error and fixed it by removing Mullvad VPN from my computer. It wasn't even running, but I guess something in Mullvad's config broke the Claude Cowork setup.
Merging into #18006, fix should be coming soon for these fun networking configurations 😄
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.