Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[xaprepare] skip download progress for
dotnet-install
script (#9053)
We are getting the error pretty early on during the build: Downloading dotnet-install script... Warning: Failed to obtain dotnet-install script size from URL 'https://dot.net/v1/dotnet-install.sh'. HTTP status code: InternalServerError (500)a -> https://dot.net/v1/dotnet-install.sh downloading dotnet-install.sh It seems the code is timing out on the call: await httpClient.GetAsync (url, HttpCompletionOption.ResponseHeadersRead); And then the code has some retry logic that eventually returns: return (false, 0, HttpStatusCode.InternalServerError); I am unable to reproduce this locally on either Mac or Windows. Reworking this code to just download the file with no progress appears to solve the problem on Azure DevOps build agents.
- Loading branch information