简体   繁体   English

无法再访问Azure DevOps中的NuGet提要(TF246017 / TF30040)

[英]NuGet feed in Azure DevOps is not accessible anymore (TF246017 / TF30040)

I recently activated the new URL in Azure DevOps, moving from 我最近在Azure DevOps中激活了新的URL,从

https://xxx.visualstudio.com/

to

https://dev.azure.com/xxx

Consequently, the address to my NuGet feed also changed: 因此,我的NuGet提要的地址也发生了变化:

https://{xxx.pkgs.visualstudio.com/_packaging/feed.xxx.ca/nuget/v3/index.json

to

https://pkgs.dev.azure.com/xxx/_packaging/feed.xxx.ca/nuget/v3/index.json

Everything works except for one thing. 一切正常,只有一件事。 Now, I am unable to access my NuGet feed (using Visual Studio, Visual Studio for Mac & Rider). 现在,我无法访问我的NuGet提要(使用Visual Studio,适用于Mac和Rider的Visual Studio)。 I end up with the following error: 我最终遇到以下错误:

Attempting to gather dependency information for multiple packages with respect to project 'iOS', targeting 'Xamarin.iOS,Version=v1.0' Unable to load the service index for source https://pkgs.dev.azure.com/xxx/_packaging/feed.xxx.ca/nuget/v3/index.json . 试图针对项目'iOS'收集多个软件包的依赖项信息,目标为'Xamarin.iOS,Version = v1.0'无法加载源https://pkgs.dev.azure.com/xxx/的服务索引_packaging / feed.xxx.ca / nuget / v3 / index.json

If I type the address in a browser, I get the following error: 如果在浏览器中键入地址,则会出现以下错误:

{"$id":"1","innerException":null,"message":"TF246017: Azure DevOps Server could not connect to the database. Verify that the instance is specified correctly, that the server that is hosting the database is operational, and that network problems are not blocking communication with the server.","typeName":"Microsoft.TeamFoundation.Framework.Server.DatabaseConnectionException, Microsoft.TeamFoundation.Framework.Server","typeKey":"DatabaseConnectionException","errorCode":0,"eventId":3008} {“ $ id”:“ 1”,“ innerException”:null,“消息”:“ TF246017:Azure DevOps服务器无法连接到数据库。验证是否正确指定了实例,并且承载数据库的服务器是运行,并且网络问题没有阻止与服务器的通信。“,” typeName“:” Microsoft.TeamFoundation.Framework.Server.DatabaseConnectionException,Microsoft.TeamFoundation.Framework.Server“,” typeKey“:” DatabaseConnectionException“,” errorCode “:0,” eventId“:3008}

Question

How do I fix it? 我如何解决它?


Update #1 更新#1

There is a similar error described in this SO question . 在此SO问题中描述了类似的错误。 I am not using a proxy server. 我没有使用代理服务器。


Update #2 更新#2

I am not seeing this error message when accessing the index.json : 访问index.json时未看到此错误消息:

{"$id":"1","innerException":null,"message":"TF30040: The database is not correctly configured. Contact your Azure DevOps Server administrator.","typeName":"Microsoft.TeamFoundation.Framework.Server.AzureClientIPRestrictedException, Microsoft.TeamFoundation.Framework.Server","typeKey":"AzureClientIPRestrictedException","errorCode":0,"eventId":3007} {“ $ id”:“ 1”,“ innerException”:null,“消息”:“ TF30040:数据库配置不正确。请与您的Azure DevOps Server管理员联系。”,“ typeName”:“ Microsoft.TeamFoundation.Framework。 Server.AzureClientIPRestrictedException,Microsoft.TeamFoundation.Framework.Server“,” typeKey“:” AzureClientIPRestrictedException“,” errorCode“:0,” eventId“:3007}

I posted the same question developercommunity.visualstudio.com and got it fixed. 我发布了相同的问题developercommunity.visualstudio.com,并进行了修复。 It was due a problem on Microsoft's side as shown on the dev.azure's status page . dev.azure的状态页所示,这是由于Microsoft方面的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM