我正在尝试通过任务“ Nuget restore”从Azure Artifacts feed还原NuGet程序包,该程序给出错误-
2020-03-17T06:16:01.923910Z Resolved from tool cache: 4.1.0
2020-03-17T06:16:01.939365Z Using version: 4.1.0
2020-03-17T06:16:01.924520Z Found tool in cache: NuGet 4.1.0 x64
2020-03-17T06:16:02.080668Z [command]C:\Windows\system32\chcp.com 65001
2020-03-17T06:16:02.007116Z Active code page: 65001
2020-03-17T06:16:02.012223Z Detected NuGet version 4.1.0.2450 / 4.1.0
2020-03-17T06:16:02.081611Z SYSTEMVSSCONNECTION exists true
2020-03-17T06:16:04.157611Z ##[error]Error: Error: read ECONNRESET
2020-03-17T06:16:04.190260Z ##[error]Packages failed to restore
详细信息-
服务器-Azure DevOps服务器2019
Azure DevOps构建管道
Azure Artifacts Feed-离线
代理版本2.144.2
我注意到的事情 当我的构建计算机与azure DevOps服务器位于同一LAN中,并且在不同LAN的构建计算机上出现错误时,我的“ Nuget Restore”任务运行良好。
我用Google搜索,但没有找到任何东西。某些页面显示此错误是由于代理所致,某些页面显示NuGet的版本问题。
无法确切了解问题所在。有人可以帮忙吗?