Skip to content

OmniSharp download fails with 403 #10010

Done

Description

@ThomasKes

Environment data

VS Code version: 1.147.0
C# Extension version: 11.9.41 (prerelease); 2.160.4 (stable) is affected the same way

C# logs

C# output window contents:

Installing C# dependencies...
Platform: win32, x86_64
Downloading package 'OmniSharp for Windows (.NET 6 / x64)'
Failed to download from https://roslynomnisharp.blob.core.windows.net/releases/1.39.14/omnisharp-win-x64-net6.0.zip. Error code '403')
Failed at stage: downloadPackage
403

OmniSharp Log ends with:

[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).

The URL returns this to any client:

$ curl -s https://roslynomnisharp.blob.core.windows.net/releases/1.39.14/omnisharp-win-x64-net6.0.zip
<?xml version="1.0" encoding="utf-8"?><Error><Code>AuthorizationFailure</Code><Message>This request is not authorized by network security perimeter to perform this operation.
RequestId:667b6ef0-d01e-0030-3462-7b743c000000
Time:2026-11-23T15:54:08.4905287Z</Message></Error>

Steps to reproduce

  1. Install the C# extension 2.160.4 or 11.9.41-prerelease fresh, so that OmniSharp has not been downloaded for this version yet.
  2. Set "dotnet.server.useOmnisharp": true.
  3. Open a folder that contains a C# project and open a .cs file.
  4. See the 403 in the C# output window and the timeout in the OmniSharp Log. The download is retried on every window load.
  5. See that there is no IntelliSense for C# files.

Expected behavior

Expected one of the following behaviors:

Actual behavior

Since about 2026-11-20, all OmniSharp packages on roslynomnisharp.blob.core.windows.net return 403. OmniSharp is not installed and C# has no language server. This affects every user who has not downloaded OmniSharp for their current extension version yet: fresh installs, every extension update, and remote or WSL hosts.

Analysis

It seems like the removal of OmniSharp is a deliberate change (#9991). However, the download package became inaccessible before publishing the removal of the OmniSharp download from the extension.

Activity

  1. JoeRobich commented on Nov 23, 2026

    @JoeRobich
    Member

    @ThomasKes I am not able to reproduce as the link from your example is working for me. It is possible that it was simply a point in time issue. Can you try again and let me know if it is still failing for you?

  2. ThomasKes commented on Nov 24, 2026

    @ThomasKes
    Author

    @JoeRobich Thanks for checking. It is still failing, and not only from my network. I ran an independent check from 10 locations worldwide, and all of them get the same 403: https://check-host.net/check-report/5a54d188ke4d

    Maybe it only works from inside the Microsoft network?

  3. JoeRobich commented on Nov 24, 2026

    @JoeRobich
    Member

    @ThomasKes Thanks for trying again. I verified what you are seeing and reached out to the team responsible for the storage. Will update when I get a response but that likely won't be this week because of the holiday.

    You can "force" the extension into pulling OmniSharp from GitHub Releases by setting dotnet.server.path to 1.39.15.

  4. JoeRobich commented on Nov 25, 2026

    @JoeRobich
    Member

    @ThomasKes Thank you again for bringing this to my attention. Public access to the OmniSharp packages has been restored. Please let me know if you are still having issues.

  5. ThomasKes commented on Nov 26, 2026

    @ThomasKes
    Author

    @JoeRobich Great, thanks for the fix!

    Could you share anything about the future plans for OmniSharp? Am I right in assuming it will be removed (#9991)? If so, do you know roughly when that change will land in the pre-release and release versions of the C# extension?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions