Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set values for Nuget.Client EXPERIMENTAL_HTTP_RETRY #58386

Merged
merged 2 commits into from
Aug 31, 2021

Conversation

MattGal
Copy link
Member

@MattGal MattGal commented Aug 30, 2021

Changes to try out experimental retry feature introduced in newer Nuget.Client. Environmental values enable longer delays, configurable number of retries, and special understanding of TCP hang-up. See NuGet/Home#11027 for details

Pipelines that had retry-inducing issues with restore, but did not fail from the previous PR build

Mono Product Build windows x86 debug <-- HTTP Client timeout

  Failed to download package 'System.IO.FileSystem.Primitives.4.0.1' from 'https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.io.filesystem.primitives/4.0.1/system.io.filesystem.primitives.4.0.1.nupkg'.
  An error occurred while sending the request.
    Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond..
    A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

Build Browser wasm Release AllSubsets_Mono_WasmBuildTests <-- TCP Socket hangup

  Retrying 'FindPackagesByIdAsync' for source 'https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/c9f8ac11-6bd8-4926-8306-f075241547f7/nuget/v3/flat2/system.collections.concurrent/index.json'.
  An error occurred while sending the request.
    Unable to read data from the transport connection: Connection reset by peer.
    Connection reset by peer
  Retrying 'FindPackagesByIdAsync' for source 'https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/58ca65bb-e6c1-4210-88ac-fa55c1cd7877/nuget/v3/flat2/system.net.http/index.json'.
  An error occurred while sending the request.
    Unable to read data from the transport connection: Connection reset by peer.
    Connection reset by peer

Libraries Build Linux x64 Debug <-- different kind of HTTP client timeout

  Retrying 'FindPackagesByIdAsync' for source 'https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/c9f8ac11-6bd8-4926-8306-f075241547f7/nuget/v3/flat2/microsoft.win32.registry/index.json'.
  The HTTP request to 'GET https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/c9f8ac11-6bd8-4926-8306-f075241547f7/nuget/v3/flat2/microsoft.win32.registry/index.json' has timed out after 100000ms.

CoreCLR Product Build windows arm checked <-- DNS failure

  Failed to download package 'System.Security.Cryptography.Csp.4.3.0' from 'https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.security.cryptography.csp/4.3.0/system.security.cryptography.csp.4.3.0.nupkg'.
  No such host is known. (7devsblobprodcus323.vsblob.vsassets.io:443)
    No such host is known.

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@MattGal MattGal changed the title DO NOT MERGE: Trying out Nuget.Client EXPERIMENTAL_HTTP_RETRY Set values for Nuget.Client EXPERIMENTAL_HTTP_RETRY Aug 30, 2021
@MattGal MattGal marked this pull request as ready for review August 30, 2021 20:14
@MattGal MattGal self-assigned this Aug 30, 2021
@ghost
Copy link

ghost commented Aug 30, 2021

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

Issue Details

Changes to try out experimental retry feature introduced in newer Nuget.Client. Environmental values enable longer delays, configurable number of retries, and special understanding of TCP hang-up. See NuGet/Home#11027 for details

Pipelines that had retry-inducing issues with restore, but did not fail from the previous PR build

Mono Product Build windows x86 debug <-- HTTP Client timeout

  Failed to download package 'System.IO.FileSystem.Primitives.4.0.1' from 'https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.io.filesystem.primitives/4.0.1/system.io.filesystem.primitives.4.0.1.nupkg'.
  An error occurred while sending the request.
    Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond..
    A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

Build Browser wasm Release AllSubsets_Mono_WasmBuildTests <-- TCP Socket hangup

  Retrying 'FindPackagesByIdAsync' for source 'https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/c9f8ac11-6bd8-4926-8306-f075241547f7/nuget/v3/flat2/system.collections.concurrent/index.json'.
  An error occurred while sending the request.
    Unable to read data from the transport connection: Connection reset by peer.
    Connection reset by peer
  Retrying 'FindPackagesByIdAsync' for source 'https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/58ca65bb-e6c1-4210-88ac-fa55c1cd7877/nuget/v3/flat2/system.net.http/index.json'.
  An error occurred while sending the request.
    Unable to read data from the transport connection: Connection reset by peer.
    Connection reset by peer

Libraries Build Linux x64 Debug <-- different kind of HTTP client timeout

  Retrying 'FindPackagesByIdAsync' for source 'https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/c9f8ac11-6bd8-4926-8306-f075241547f7/nuget/v3/flat2/microsoft.win32.registry/index.json'.
  The HTTP request to 'GET https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/c9f8ac11-6bd8-4926-8306-f075241547f7/nuget/v3/flat2/microsoft.win32.registry/index.json' has timed out after 100000ms.

CoreCLR Product Build windows arm checked <-- DNS failure

  Failed to download package 'System.Security.Cryptography.Csp.4.3.0' from 'https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.security.cryptography.csp/4.3.0/system.security.cryptography.csp.4.3.0.nupkg'.
  No such host is known. (7devsblobprodcus323.vsblob.vsassets.io:443)
    No such host is known.
Author: MattGal
Assignees: MattGal
Labels:

area-Infrastructure

Milestone: -

@ViktorHofer ViktorHofer merged commit 3827b7f into dotnet:main Aug 31, 2021
@MattGal MattGal deleted the try-experimental-nuget-retry branch August 31, 2021 18:12
@ghost ghost locked as resolved and limited conversation to collaborators Sep 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants