azure - Azure DevOps 中的 NuGet 源不再可访问 (TF246017 / TF30040)
问题描述
我最近在 Azure DevOps 中激活了新 URL,从
https://xxx.visualstudio.com/
至
https://dev.azure.com/xxx
因此,我的 NuGet 提要的地址也发生了变化:
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)。我最终得到以下错误:
试图收集与项目“iOS”相关的多个包的依赖关系信息,目标是“Xamarin.iOS,Version=v1.0” 无法加载源 https://pkgs.dev.azure.com/xxx/的服务索引_packaging/feed.xxx.ca/nuget/v3/index.json。
如果我在浏览器中输入地址,我会收到以下错误:
{"$id":"1","innerException":null,"message":"TF246017: Azure DevOps 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: 数据库配置不正确。请联系您的 Azure DevOps Server 管理员。","typeName":"Microsoft.TeamFoundation.Framework。 Server.AzureClientIPRestrictedException, Microsoft.TeamFoundation.Framework.Server","typeKey":"AzureClientIPRestrictedException","errorCode":0,"eventId":3007}
解决方案
我发布了同样的问题 developercommunity.visualstudio.com并得到了修复。如dev.azure 的状态页面所示,这是由于 Microsoft 方面的问题。
推荐阅读
- plantuml - 有没有办法在 PlantUML 组件图中拥有一列元素?
- android - Android 上的通知操作文本颜色
- r - 一次标准化(z 分数)多个变量
- python - Google Cloud Function 无法安装 python 包
- html - 如何正确居中和旋转 SVG 圆并将多边形居中在圆的中心?
- sql-server - 将 Int 数据类型转换为日期
- python - 有效地将大型 Pandas DataFrame 列从 float 转换为 int
- css - 仅在一个反应组件中覆盖引导 css
- javascript - 未捕获的 ReferenceError:未定义 videojs
- flutter - Flutter Codemagic IOS 签名失败