Repository navigation
Closed
Labels
area-setupIssues related to installing .NET Core
Description
The new builds.dotnet.microsoft.com and ci.dot.net domains seem to exhibiting flakiness when attempting to download the latest .NET SDK on multiple operating systems based on errors I'm getting in GitHub Actions workflows in multiple repositories.
Retrying the build will lead to success eventually, but clearly that's not a good experience for consumption.
dotnet-install: Downloading from "aka.ms" link has failed with error:
Uri: https://builds.dotnet.microsoft.com/dotnet/Sdk/8.0.407/dotnet-sdk-8.0.407-win-x64.zip
StatusCode:
Error: Error while copying content to a stream.
The response ended prematurely. (ResponseEnded)
Exception: D:\a\_actions\actions\setup-dotnet\3951f0dfe7a07e2313ec93c75700083e2005cbab\externals\install-dotnet.ps1:1350
Line |
1350 | throw "Could not find `"$assetName`" with version = $($DownloadLi …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Could not find ".NET Core SDK" with version = 8.0.407 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://builds.dotnet.microsoft.com/dotnet/Sdk/8.0.407/dotnet-sdk-8.0.407-win-x64.zip
StatusCode:
Error: Error while copying content to a stream.
The response ended prematurely. (ResponseEnded)
Exception: D:\a\_actions\actions\setup-dotnet\3951f0dfe7a07e2313ec93c75700083e2005cbab\externals\install-dotnet.ps1:1350
Line |
1350 | throw "Could not find `"$assetName`" with version = $($DownloadLi …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Could not find ".NET Core SDK" with version = 8.0.407 Refer to: https://aka.ms/dotnet-os-lifecycle for
| information on .NET support
/Users/runner/work/_actions/actions/setup-dotnet/3951f0dfe7a07e2313ec93c75700083e2005cbab/externals/install-dotnet.sh --skip-non-versioned-files --version 9.0.201
dotnet-install: Attempting to download using primary link https://builds.dotnet.microsoft.com/dotnet/Sdk/9.0.201/dotnet-sdk-9.0.201-osx-arm64.tar.gz
curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
dotnet-install: Download attempt #1 has failed: 200 Unable to download https://builds.dotnet.microsoft.com/dotnet/Sdk/9.0.201/dotnet-sdk-9.0.201-osx-arm64.tar.gz.
dotnet-install: Attempt #2 will start in 10 seconds.
curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
dotnet-install: Download attempt #2 has failed: 200 Unable to download https://builds.dotnet.microsoft.com/dotnet/Sdk/9.0.201/dotnet-sdk-9.0.201-osx-arm64.tar.gz.
dotnet-install: Attempt #3 will start in 20 seconds.
curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
dotnet-install: Failed to download primary link 'https://builds.dotnet.microsoft.com/dotnet/Sdk/9.0.201/dotnet-sdk-9.0.201-osx-arm64.tar.gz': 200 Unable to download https://builds.dotnet.microsoft.com/dotnet/Sdk/9.0.201/dotnet-sdk-9.0.201-osx-arm64.tar.gz.
dotnet-install: Attempting to download using legacy link https://builds.dotnet.microsoft.com/dotnet/Sdk/9.0.201/dotnet-dev-osx-arm64.9.0.201.tar.gz
curl: (56) The requested URL returned error: 404
dotnet-install: The resource at legacy link 'https://builds.dotnet.microsoft.com/dotnet/Sdk/9.0.201/dotnet-dev-osx-arm64.9.0.201.tar.gz' is not available.
dotnet-install: Attempting to download using primary link https://ci.dot.net/public/Sdk/9.0.201/dotnet-sdk-9.0.201-osx-arm64.tar.gz
curl: (56) The requested URL returned error: 404
dotnet-install: The resource at primary link 'https://ci.dot.net/public/Sdk/9.0.201/dotnet-sdk-9.0.201-osx-arm64.tar.gz' is not available.
dotnet-install: Attempting to download using legacy link https://ci.dot.net/public/Sdk/9.0.201/dotnet-dev-osx-arm64.9.0.201.tar.gz
curl: (56) The requested URL returned error: 404
dotnet-install: The resource at legacy link 'https://ci.dot.net/public/Sdk/9.0.201/dotnet-dev-osx-arm64.9.0.201.tar.gz' is not available.
dotnet_install: Error: Could not find `.NET Core SDK` with version = 9.0.201
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 = 9.0.201
dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
/home/runner/work/_actions/actions/setup-dotnet/3951f0dfe7a07e2313ec93c75700083e2005cbab/externals/install-dotnet.sh --skip-non-versioned-files --version 9.0.201
dotnet-install: Attempting to download using primary link https://builds.dotnet.microsoft.com/dotnet/Sdk/9.0.201/dotnet-sdk-9.0.201-linux-x64.tar.gz
curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
dotnet-install: Download attempt #1 has failed: 200 Unable to download https://builds.dotnet.microsoft.com/dotnet/Sdk/9.0.201/dotnet-sdk-9.0.201-linux-x64.tar.gz.
dotnet-install: Attempt #2 will start in 10 seconds.
curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
dotnet-install: Download attempt #2 has failed: 200 Unable to download https://builds.dotnet.microsoft.com/dotnet/Sdk/9.0.201/dotnet-sdk-9.0.201-linux-x64.tar.gz.
dotnet-install: Attempt #3 will start in 20 seconds.
curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
dotnet-install: Failed to download primary link 'https://builds.dotnet.microsoft.com/dotnet/Sdk/9.0.201/dotnet-sdk-9.0.201-linux-x64.tar.gz': 200 Unable to download https://builds.dotnet.microsoft.com/dotnet/Sdk/9.0.201/dotnet-sdk-9.0.201-linux-x64.tar.gz.
dotnet-install: Attempting to download using primary link https://ci.dot.net/public/Sdk/9.0.201/dotnet-sdk-9.0.201-linux-x64.tar.gz
curl: (22) The requested URL returned error: 404
dotnet-install: The resource at primary link 'https://ci.dot.net/public/Sdk/9.0.201/dotnet-sdk-9.0.201-linux-x64.tar.gz' is not available.
dotnet_install: Error: Could not find `.NET Core SDK` with version = 9.0.201
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 = 9.0.201
dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
Reacted by CodeCasterNL, Callum Gill and Rich Lander
Metadata
Metadata
Assignees
Labels
area-setupIssues related to installing .NET Core
Activity
[-].NET SDK install flakiness souring via installer scripts with internal errors[/-][+].NET SDK install flakiness sourcing via installer scripts with internal errors[/+]CodeCasterNL commentedon Mar 12, 2025
Thanks, I reported that here as well: actions/setup-dotnet#613
richlander commentedon Mar 13, 2025
Thanks @martincostello. We are working on this. Please continue to report if you see this again (and/or reach out to me directly).
martincostello commentedon May 2, 2025
Everything's been quiet on this front since March's Update Tuesday - I guess that means the CDN changes were successful and this is fixed?
richlander commentedon May 2, 2025
We are coming to the same conclusion.
krwq commentedon May 6, 2025
Should we close and wait if someone will report again?
krwq commentedon May 12, 2025
I'm closing this since there isn't any specific action which can be taken here. Please re-open or create a new issue if you're still seeing this.