Setup fails with `Unable to download` (HTTP status code: 409), PublicAccessNotPermitted on storage account
Description:
Installation of the .NET SDK fails altogether, see e.g. https://github.com/allodia-eu/mail-calendar/actions/runs/40225495830/job/121265900053?pr=432:
dotnet-install: Downloading from "aka.ms" link has failed with error:
Uri: https://dotnetorigin.blob.core.windows.net/dotnet/Runtime/10.0.14/dotnet-runtime-10.0.14-win-x64.zip
StatusCode: 409
Error: Unable to download https://dotnetorigin.blob.core.windows.net/dotnet/Runtime/10.0.14/dotnet-runtime-10.0.14-win-x64.zip. Returned HTTP status code: 409
Exception: D:\a\_actions\actions\setup-dotnet\a98b56852c35b8e3190ac28c8c2271da59106c68\externals\install-dotnet.ps1:1443
Line |
1443 | throw "Could not find `"$assetName`" with version = $($DownloadLi …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Could not find ".NET Core Runtime" with version = 10.0.14 Refer to: https://aka.ms/dotnet-os-lifecycle for
| information on .NET support
Warning: Failed to install dotnet runtime + cli, exit code: 1. dotnet-install: Downloading from "aka.ms" link has failed with error:
Uri: https://dotnetorigin.blob.core.windows.net/dotnet/Runtime/10.0.14/dotnet-runtime-10.0.14-win-x64.zip
StatusCode: 409
Error: Unable to download https://dotnetorigin.blob.core.windows.net/dotnet/Runtime/10.0.14/dotnet-runtime-10.0.14-win-x64.zip. Returned HTTP status code: 409
Exception: D:\a\_actions\actions\setup-dotnet\a98b56852c35b8e3190ac28c8c2271da59106c68\externals\install-dotnet.ps1:1443
Line |
1443 | throw "Could not find `"$assetName`" with version = $($DownloadLi …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Could not find ".NET Core Runtime" with version = 10.0.14 Refer to: https://aka.ms/dotnet-os-lifecycle for
| information on .NET support
"C:\Program Files\PowerShell\7\pwsh.exe" -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command & 'D:\a\_actions\actions\setup-dotnet\a98b56852c35b8e3190ac28c8c2271da59106c68\externals\install-dotnet.ps1' -SkipNonVersionedFiles -Channel 10.0
dotnet-install: Downloading from "aka.ms" link has failed with error:
Uri: https://dotnetorigin.blob.core.windows.net/dotnet/Sdk/10.0.403/dotnet-sdk-10.0.403-win-x64.zip
StatusCode: 409
Error: Unable to download https://dotnetorigin.blob.core.windows.net/dotnet/Sdk/10.0.403/dotnet-sdk-10.0.403-win-x64.zip. Returned HTTP status code: 409
Exception: D:\a\_actions\actions\setup-dotnet\a98b56852c35b8e3190ac28c8c2271da59106c68\externals\install-dotnet.ps1:1443
Line |
1443 | throw "Could not find `"$assetName`" with version = $($DownloadLi …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Could not find ".NET Core SDK" with version = 10.0.403 Refer to: https://aka.ms/dotnet-os-lifecycle for
| information on .NET support
Error: Failed to install dotnet, exit code: 1. dotnet-install: Downloading from "aka.ms" link has failed with error:
Uri: https://dotnetorigin.blob.core.windows.net/dotnet/Sdk/10.0.403/dotnet-sdk-10.0.403-win-x64.zip
StatusCode: 409
Error: Unable to download https://dotnetorigin.blob.core.windows.net/dotnet/Sdk/10.0.403/dotnet-sdk-10.0.403-win-x64.zip. Returned HTTP status code: 409
Exception: D:\a\_actions\actions\setup-dotnet\a98b56852c35b8e3190ac28c8c2271da59106c68\externals\install-dotnet.ps1:1443
Line |
1443 | throw "Could not find `"$assetName`" with version = $($DownloadLi …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Could not find ".NET Core SDK" with version = 10.0.403 Refer to: https://aka.ms/dotnet-os-lifecycle for
| information on .NET support
When visiting https://dotnetorigin.blob.core.windows.net/dotnet/Sdk/10.0.403/dotnet-sdk-10.0.403-win-x64.zip, it returns the following:
<Error>
<Code>PublicAccessNotPermitted</Code>
<Message>
Public access is not permitted on this storage account. RequestId:4f9f239a-001e-002b-20b8-64d7ce000000 Time:2026-10-25T19:37:49.2652841Z
</Message>
</Error>
Task version: v6.0.0
Platform:
- [ ] Ubuntu
- [ ] macOS
- [x] Windows
Runner type:
- [x] Hosted
- [ ] Self-hosted
Repro steps:
A description with steps to reproduce the issue. If your have a public example or repo to share, please provide the link.
See https://github.com/allodia-eu/mail-calendar/actions/runs/40225495830/job/121265900053?pr=432 for a failing run.
CI pipeline config: https://github.com/allodia-eu/mail-calendar/blob/main/.github/workflows/ci.yml#L761
Expected behavior: Installation succeeds
Actual behavior:
Installation fails with Unable to download as shown above.
Seeing the same thing: https://github.com/eaftan/safere/actions/runs/40226497379/job/121269134899
Same here. Happens with v5 and v6 of the action. All my jobs are failing...
Same. My pipelines suddenly started failing. Looks like 8.0.33 is being released today.
Run actions/setup-dotnet@v6
/home/runner/work/_actions/actions/setup-dotnet/v6/externals/install-dotnet.sh --skip-non-versioned-files --runtime dotnet --channel LTS
dotnet-install: Attempting to download using aka.ms link https://dotnetorigin.blob.core.windows.net/dotnet/Runtime/10.0.14/dotnet-runtime-10.0.14-linux-x64.tar.gz
dotnet-install: Download attempt #1 has failed: 409 Unable to download https://dotnetorigin.blob.core.windows.net/dotnet/Runtime/10.0.14/dotnet-runtime-10.0.14-linux-x64.tar.gz. Returned HTTP status code: 409.
dotnet-install: Attempt #2 will start in 10 seconds.
dotnet-install: Download attempt #2 has failed: 409 Unable to download https://dotnetorigin.blob.core.windows.net/dotnet/Runtime/10.0.14/dotnet-runtime-10.0.14-linux-x64.tar.gz. Returned HTTP status code: 409.
dotnet-install: Attempt #3 will start in 20 seconds.
dotnet-install: Failed to download aka.ms link 'https://dotnetorigin.blob.core.windows.net/dotnet/Runtime/10.0.14/dotnet-runtime-10.0.14-linux-x64.tar.gz': 409 Unable to download https://dotnetorigin.blob.core.windows.net/dotnet/Runtime/10.0.14/dotnet-runtime-10.0.14-linux-x64.tar.gz. Returned HTTP status code: 409.
dotnet_install: Error: Could not find .NET Core Runtime with version = 10.0.14
dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
Warning: Failed to install dotnet runtime + cli, exit code: 1. dotnet_install: Error: Could not find .NET Core Runtime with version = 10.0.14
dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
/home/runner/work/_actions/actions/setup-dotnet/v6/externals/install-dotnet.sh --skip-non-versioned-files --channel 10.0
dotnet-install: Attempting to download using aka.ms link https://dotnetorigin.blob.core.windows.net/dotnet/Sdk/10.0.403/dotnet-sdk-10.0.403-linux-x64.tar.gz
dotnet-install: Download attempt #1 has failed: 409 Unable to download https://dotnetorigin.blob.core.windows.net/dotnet/Sdk/10.0.403/dotnet-sdk-10.0.403-linux-x64.tar.gz. Returned HTTP status code: 409.
dotnet-install: Attempt #2 will start in 10 seconds.
dotnet-install: Download attempt #2 has failed: 409 Unable to download https://dotnetorigin.blob.core.windows.net/dotnet/Sdk/10.0.403/dotnet-sdk-10.0.403-linux-x64.tar.gz. Returned HTTP status code: 409.
dotnet-install: Attempt #3 will start in 20 seconds.
dotnet-install: Failed to download aka.ms link 'https://dotnetorigin.blob.core.windows.net/dotnet/Sdk/10.0.403/dotnet-sdk-10.0.403-linux-x64.tar.gz': 409 Unable to download https://dotnetorigin.blob.core.windows.net/dotnet/Sdk/10.0.403/dotnet-sdk-10.0.403-linux-x64.tar.gz. Returned HTTP status code: 409.
dotnet_install: Error: Could not find .NET Core SDK with version = 10.0.403
dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
Error: Failed to install dotnet, exit code: 1. dotnet_install: Error: Could not find .NET Core SDK with version = 10.0.403
dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
I'm experiencing the same!
The root cause is with the .Net release earlier today, they are fixing it. More details in this issue: https://github.com/dotnet/core/issues/10660#issuecomment-6402091471
Look like it's working now.
Looks fixed to me too.
Confirming it's working again for me too. Closing this issue 👍🏼