gpt4 book ai didi

visual-studio - NuGet 无法加载源身份验证失败的服务索引

转载 作者:行者123 更新时间:2023-12-05 04:29:47 26 4
gpt4 key购买 nike

由于某种原因,今天我无法通过 Visual Studio 连接到 NuGet 包管理器。

[nuget.org] 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.

但我无法让它再次工作......我尝试过的事情。

TLS1.2 客户端设置: TLS1.2

TLS1.2 服务器设置: TLS1.2

规范:Windows Server 2012R2、Visual Studio 2019

还在不同的 Windows Server 2012R2 机器上试过,同样的问题

它仍在我装有 Windows 10 的笔记本电脑上运行。

希望有人有想法。

谢谢

最佳答案

我遇到了同样的问题。

解决方案是安装 microsoft/artifacts-credprovider如前所述here

Invoke-Expression "& { $(irm https://aka.ms/install-artifacts-credprovider.ps1) } -AddNetfx"

关于visual-studio - NuGet 无法加载源身份验证失败的服务索引,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72229547/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com