From cad59664ecab00cd8dcf5e82de56743b95389b7a Mon Sep 17 00:00:00 2001 From: Nick Gerleman <ngerlem@microsoft.com> Date: Wed, 30 Sep 2020 18:36:04 -0700 Subject: [PATCH] Increase NuGet Credential Provider Timeout We've been seeing intermittent errors doing a NuGet restore due to the credential provider timing out. Reccomendations online are to increase the default 5s timeout to something longer. See - https://developercommunity.visualstudio.com/content/problem/1014284/nuget-restore-fails-due-to-credentialprovidermicro.html - https://github.com/microsoft/artifacts-credprovider/issues/192 Hopefully fixes #6131 --- .ado/variables/vs2019.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.ado/variables/vs2019.yml b/.ado/variables/vs2019.yml index 3b23491150a..8cb0d9ac236 100644 --- a/.ado/variables/vs2019.yml +++ b/.ado/variables/vs2019.yml @@ -4,3 +4,5 @@ variables: GoogleTestAdapterPathExpression: '(Get-ChildItem "${env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\Extensions\" -Directory | Where-Object -FilterScript { Test-Path $_\GoogleTestAdapter.Core.dll}).FullName' BaseIntDir: $(Agent.HomeDirectory)\BaseIntDir # redirect to C: runCodesignValidationInjection: false + NUGET_PLUGIN_HANDSHAKE_TIMEOUT_IN_SECONDS: 60 + NUGET_PLUGIN_REQUEST_TIMEOUT_IN_SECONDS: 60