VSTS,NuGet无法下载包(GatewayTimeout)?

时间:2017-07-14 09:15:22

标签: azure-pipelines

我有一个VS2017解决方案,我想用VSTS构建,但NuGet恢复步骤失败了:

2017-07-14T07:25:30.8403126Z Installing System.Net.WebSockets.Client 4.0.0.
2017-07-14T07:25:40.0651944Z   GatewayTimeout https://api.nuget.org/v3-flatcontainer/system.runtime.interopservices.windowsruntime/4.3.0/system.runtime.interopservices.windowsruntime.4.3.0.nupkg 11993ms
2017-07-14T07:25:40.0662422Z Failed to download package 'System.Runtime.InteropServices.WindowsRuntime.4.3.0' from 'https://api.nuget.org/v3-flatcontainer/system.runtime.interopservices.windowsruntime/4.3.0/system.runtime.interopservices.windowsruntime.4.3.0.nupkg'.
2017-07-14T07:25:40.0662422Z Response status code does not indicate success: 504 (Gateway Timeout).
2017-07-14T07:25:40.0662422Z   GET https://api.nuget.org/v3-flatcontainer/system.runtime.interopservices.windowsruntime/4.3.0/system.runtime.interopservices.windowsruntime.4.3.0.nupkg
2017-07-14T07:25:43.3028714Z Installing System.Numerics.Vectors.WindowsRuntime 4.0.1.
2017-07-14T07:25:52.0318944Z   GatewayTimeout https://api.nuget.org/v3-flatcontainer/system.runtime.interopservices.windowsruntime/4.3.0/system.runtime.interopservices.windowsruntime.4.3.0.nupkg 11964ms
2017-07-14T07:25:52.0338545Z Failed to download package 'System.Runtime.InteropServices.WindowsRuntime.4.3.0' from 'https://api.nuget.org/v3-flatcontainer/system.runtime.interopservices.windowsruntime/4.3.0/system.runtime.interopservices.windowsruntime.4.3.0.nupkg'.
2017-07-14T07:25:52.0338545Z Response status code does not indicate success: 504 (Gateway Timeout).
2017-07-14T07:25:52.0379675Z Unable to load package 'System.Runtime.InteropServices.WindowsRuntime'.
2017-07-14T07:25:52.9150812Z ##[error]Error: d:\a\_tasks\NuGetInstaller_333b11bd-d341-40d9-afcf-b32d5ce6f23b\0.2.31\node_modules\nuget-task-common\NuGet\4.0.0\NuGet.exe failed with return code: 1
2017-07-14T07:25:52.9150812Z ##[error]Packages failed to install

我已经尝试过几次运行构建,但它很容易下载相同的软件包。我可以使用Web浏览器将这些软件包下载到我自己的计算机上。我正在使用" Hosted VS2017"建立代理人。

0 个答案:

没有答案