[BUG] Claude Code on the Web .NET SDK binary downloads blocked by proxy even with "All domains" network access enabled
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?
Claude Code on the Web.
When network egress is configured with "All domains" allowed, the Claude Code sandbox proxy still blocks downloads of .NET SDK binaries from Microsoft's CDN servers, returning "Access denied" (403 Forbidden).
This prevents compilation of .NET 9.x projects within Claude Code sessions, requiring users to manually compile code on their end and report errors back to Claude.
Environment
Platform: Ubuntu 24.04.3 LTS (x86_64)
Network Setting: "All domains" enabled
.NET 8.0 available via apt (works)
.NET 9.0 requires binary download (blocked)
Blocked Domains
All Microsoft .NET binary download servers return 403:
builds.dotnet.microsoft.com
ci.dot.net
dotnetcli.azureedge.net
download.visualstudio.microsoft.com
dotnet.microsoft.com
aka.ms (redirects to above)
Reproduction Steps
This works - GitHub raw content
curl -sSL https://raw.githubusercontent.com/dotnet/install-scripts/main/src/dotnet-install.sh -o /tmp/install.sh
Returns: valid 1888-line shell script
Workaround
None currently. Users must:
Have Claude write code
Pull and compile locally
Report errors back to Claude
Repeat until code compiles
This significantly reduces productivity for .NET development.
Impact
Cannot compile .NET 9.x projects
Cannot run tests
Cannot validate syntax before committing
Increased back-and-forth between user and Claude
What Should Happen?
Claude should allow installation of the .NET 9.x SDK. Ideally it should be installed by default.
Error Messages/Logs
Steps to Reproduce
This fails - Microsoft CDN
curl -sSL https://dotnetcli.azureedge.net/dotnet/Sdk/9.0.101/dotnet-sdk-9.0.101-linux-x64.tar.gz
Returns: "Access denied" (13 bytes)
Install script fails
/tmp/install.sh --channel 9.0 --install-dir $HOME/.dotnet
Error: 403 Unable to download
Expected Behavior
With "All domains" network access enabled, .NET SDK binaries should be downloadable from Microsoft CDN servers.
Claude Model
Sonnet (default)
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
Claude Code on the Web
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Other
Additional Information
_No response_
16 Comments
Maybe related:
git pushis failing for me on Claude Code web as of about an hour ago and will not work for any sessions. Similar proxy errors are printed.This also affects
dotnet restoreas NuGet package endpoints are blocked, making Claude Code unusable for Dotnet coding.The build environment has network restrictions that prevent local build/test verification: when attempting to restore NuGet packages, requests to
api.nuget.orgare routed through a proxy server athttp://21.0.0.139:15004/which returns401 Unauthorized(missing proxy credentials), and when attempting to bypass the proxy entirely by clearing proxy environment variables, direct HTTPS connections to NuGet fail with "Resource temporarily unavailable" indicating outbound HTTPS is blocked without the proxy.This creates a catch-22 where NuGet package restoration is impossible locally - the proxy requires authentication credentials we don't have, and direct access is blocked by network policy.
Raw log example:
Seems obsolete url used, the CDN used already moved to new url
builds.dotnet.microsoft.comhttps://devblogs.microsoft.com/dotnet/critical-dotnet-install-links-are-changing/
This makes grade/maven unusable in Java builds as well. This would be a huge fix to allow unit tests to run in Claude Code before digging in manually.
I'm sure there are better options than this workaround but it gets dotnet restore to work for me. I'll try to circle back and look into this more if I get a chance—in the meantime:
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
Still happening, still a blocker for .net development
I also have a similar issue:
Google Drive and Sheets APIs return 403 Forbidden from Claude Code web environment.
but authorization is OK..
Evidence
https://www.googleapis.com/discovery/v1/apis → 200 OK
https://oauth2.googleapis.com/tokeninfo → 200 OK
https://sheets.googleapis.com/v4/spreadsheets/...→ 403 Forbidden
https://www.googleapis.com/drive/v3/files/... → 403 Forbidden
403 occurs with AND without authentication
Response is HTML error page, not JSON API error
No X-Proxy-Error header - request reaches Google, so not a proxy error
OAuth token validation works, credentials are valid
Google blocks Drive/Sheets API access from Anthropic's egress IP range. Public APIs (Discovery, OAuth) work; user-data APIs (Drive,Sheets) are blocked, is what I tihnk it is the prioblem
Codex and Github copilot supports this, why cant claude? I need this.
I've packaged up a plugin that will allow easy installation of a workaround for the nuget issue here: https://github.com/logiclabs/dotnet-nuget-proxy-skill
This performs a .NET SDK install and starts a proxy bridge, which is then used by a nuget authentication provider to workaround the current authentication issues with nuget and claude code web environment. Once added to a repo, it will run at the start of every Claude Code web session, to ensure the .NET environment is working.
This is similar to the python relay solution above: https://github.com/anthropics/claude-code/issues/11897#issuecomment-3621337027
I'm also seeing this in Cowork. Adding specific domains to the "Additional allowed domains" list on the Capabilities settings page doesn't work. The domains show as saved, but requests to those domains still return
EGRESS_BLOCKED.https://github.com/anthropics/claude-code/issues/30112 was also reported. Seems pervasive.
Still seeing this.
ALL network egress is blocked in Cowork, not just .net related domains and Allow network egress allow list is being ignored.
This is with a fresh MacOS install, Fresh Claude.app install, and ALL DOMAINS selected as the allow list. No VPN. Claude Pro subscription.
Verified and reproducible bug on: Claude 1.2.234 (2d1855) 2026-04-01T07:58:22.000Z
It seems the Egress settings are ignored in the desktop app at least on MacOS in Claude 1.2.234.
I just managed to step around this bug by setting the domain allow list setting to 'All Domains' within network egress, then starting a new conversation thread (in Claude Code on the Web)—hoping there's a fix soon, though, since this doesn't feel very safe.
Same issue, macOS, All domains setting has no effect