我最近在 Azure DevOps 中激活了新 URL,从
https://xxx.visualstudio.com/
到
https://dev.azure.com/xxx
因此,我的 NuGet feed 的地址也发生了变化:
https://{xxx.pkgs.visualstudio.com/_packaging/feed.xxx.ca/nuget/v3/index.json
至
https://pkgs.dev.azure.com/xxx/_packaging/feed.xxx.ca/nuget/v3/index.json
除了一件事之外,一切正常。现在,我无法访问我的 NuGet 源(使用 Visual Studio、Visual Studio for Mac 和 Rider)。我最终遇到以下错误:
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.
如果我在浏览器中输入地址,则会收到以下错误:
{"$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}
问题
如何修复它?
<小时/>更新#1
此 SO question 中描述了类似的错误。我没有使用代理服务器。
<小时/>更新#2
访问 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}
最佳答案
我发布了同样的question developercommunity.visualstudio.com并把它修好了。这是由于 Microsoft 方面出现问题,如 dev.azure's status page 所示。 。
关于azure - Azure DevOps 中的 NuGet 源不再可访问 (TF246017/TF30040),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56099273/