【发布时间】:2021-02-17 05:57:05
【问题描述】:
我们在构建过程中得到的错误是:
Unable to load the service index for source https://api.nuget.org/v3/index.json.
An error occurred while sending the request.
The underlying connection was closed: An unexpected error occurred on a send.
Authentication failed because the remote party has closed the transport stream.
如果我远程进入构建机器并从源代码控制中提取源代码,我可以构建并让 VS 恢复 nuget 包而不会出现问题。
我也可以在机器上的浏览器中打开https://api.nuget.org/v3/index.json,所以我不认为这是网络/防火墙问题。
请注意,Jenkins 是在 SYSTEM LOCAL 下运行的
【问题讨论】:
标签: jenkins msbuild nuget nuget-package-restore