azure - Azure DevOps 中的 NuGet 源不再可访问 (TF246017/TF30040)

标签 azure azure-devops nuget-package azure-devops-server-2019

我最近在 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/

相关文章:

azure - 我们需要多少 IIS 网站和 SSL 证书才能在 Azure VM 中托管我们的 5 个远程事件接收器插件

python - 如何使用 Azure 函数和 python 写入 blob 容器中的文本文件?

ssl - TFS 2017,HTTPS 绑定(bind)失去控制台权限?

visual-studio-2013 - nuget 未在 Visual Studio Team Services (visualstudio.com) 下下载包(自动包还原)

c# - 如何排除某些 View 和文件夹不包含在已部署的 ASP.NET MVC NuGet 包中?

nuget-package - NuGet 包忽略程序集信息

azure - Azure SQL DB 中针对非 dbo 架构的 Azure 搜索的更改跟踪

sonarqube - 使用 SonarQube 5.2 构建 Breaker 插件

nuget-package - 创建一个使用所有默认行为但添加一个附加文件的 nuspec 文件

azure - ADF数据流: invalid column name