Skip to content

[BUG] Claude Code on the Web .NET SDK binary downloads blocked by proxy even with "All domains" network access enabled #11897

@BrentRector

Description

@BrentRector

Preflight Checklist

  • 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?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions