gpt4 book ai didi

proxy - Nuget 包源提示输入凭据

转载 作者:行者123 更新时间:2023-12-04 12:49:14 25 4
gpt4 key购买 nike

我正在尝试在 VS2010 中使用 NuGet (1.5),但是每当我尝试“管理 NuGet 包”-或-使用包管理器控制台安装包(使用默认包源)时,我都会收到一个对话框,提示我输入凭据。

NuGet credentials prompt

我支持公司代理,但我的代理凭据不起作用。取消对话框会出现“(401) Unauthorized”错误。

我也使用 TFS 2010,但我不知道这是否是问题的一部分。我在这里尝试了解决方案:Installing a package with NuGet connects to TFS and gives a 401 error但我什至无法列出包裹。

我已经按照此处的建议尝试了不同的包源:NuGet Package Manager error: The remote name could not be resolved没有变化。

我在这里尝试了所有解决方案:Cannot connect to any online resource无济于事,这个问题TF30063: You are not authorized to access Collection. Nuget and Tfs conflicting相似但不相同。

有什么建议?

(编辑)更多信息:

当我运行 Fiddler2 时,这是我输入凭据时得到的结果。 FW-1 是公司代理/防火墙名称,所以我很确定这是凭据未通过的问题。

HTTP/1.0 401 Unauthorized
WWW-Authenticate: Basic realm="FW-1. Reason: no user Server "
Content-Type: text/html
Content-Length: 166

<TITLE>Error</TITLE>
<BODY>
<H1>Error 401</H1>

FW-1 at firewall2: Unauthorized to access the document.<BR><BR><LI>Authorization is needed for FW-1.<BR><BR>
</BODY>

(编辑 2):这是当我尝试重复登录时 Fiddler2 向我展示的图像。我对这个工具不太熟悉,不知道我可以做什么来获取更多信息。
Fiddler2 image

最佳答案

关于proxy - Nuget 包源提示输入凭据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8085075/

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