VSTS dotnet restore命令无法获取nuget包

时间:2017-10-11 08:53:36

标签: .net-core azure-devops nuget-package-restore

我已成功运行针对dotnet核心Web应用程序的构建定义数月,但构建已开始失败。尝试在我的项目上运行dotnet restore命令时发生错误。

https://i.imgur.com/4EioYjr.png

恢复任务运行时出现以下错误:

  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-
  flatcontainer/netcore.mailkit/index.json'.
  Response status code does not indicate success: 504 (Gateway Timeout).
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-
  flatcontainer/netcore.mailkit/index.json'.
  Response status code does not indicate success: 504 (Gateway Timeout).

我已在本地计算机上手动运行dotnet restore命令,但没有收到错误。

有没有人在VSTS之前经历过类似的事情?

由于