简体   繁体   English

无法为私有 Azure DevOps NuGet 源的源错误加载服务索引

[英]Unable to load the service index for source error for a private Azure DevOps NuGet feed

I'm having an issue getting access to our private NuGet packages hosted on Azure DevOps for a new developer:我在为新开发人员访问 Azure DevOps 上托管的私有 NuGet 包时遇到问题:

error : Unable to load the service index for source https://pkgs.dev.azure.com/company/_packaging/CompanyPackages/nuget/v3/index.json

I have generated a PAT from DevOps and modified the NuGet.config file.我已经从 DevOps 生成了一个 PAT 并修改了 NuGet.config 文件。 We have been using private NuGet feeds from DevOps for a year or two and I noticed Microsoft recently changed their billing model for Azure Artifacts so I'm wondering if this is part of the issue.我们已经使用 DevOps 的私有 NuGet 提要一两年了,我注意到 Microsoft 最近更改了他们的 Azure Artifacts 计费模型,所以我想知道这是否是问题的一部分。

在此处输入图片说明

Do I need to opt in the new storage model for this new developer to be able to access the private NuGet feed or is there a way to attach a "Package Management" license to this new user?我是否需要为这个新开发人员选择新的存储模型才能访问私有 NuGet 提要,或者是否有办法将“包管理”许可证附加到这个新用户?

This doesn't sound license-related.这听起来与许可证无关。 We've removed all license checks in Artifacts (so, no need to assign one to your new developer) and you're under the free tier limit of 2 GB (so, anyone in your organization with permissions to a feed should be able to access it).我们已经删除了 Artifacts 中的所有许可证检查(因此,无需为您的新开发人员分配一个)并且您处于 2 GB 的免费层限制(因此,您组织中有权访问源的任何人都应该能够访问它)。

Since it's a brand-new PAT, it shouldn't be expired (my first thought).因为它是一个全新的 PAT,它不应该过期(我的第一个想法)。 But, some other things to try:但是,还可以尝试其他一些事情:

  • Check that the user for whom you generated a PAT has permissions to the feed they want to use检查您为其生成 PAT 的用户是否有权访问他们想要使用的提要
  • Ensure that the PAT you generated is either all-scopes or includes either the Package (Read) or Package (Read, Write) scopes确保您生成的 PAT 是所有范围或包括包(读取)或包(读取、写入)范围

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

相关问题 无法加载源 https://pkgs.dev.azure.com/xxxxx/_packaging/yyyyy/nuget/v3/index.Z466DEEC76ECDF246D38571FZ6 的服务索引 - Unable to load the service index for source https://pkgs.dev.azure.com/xxxxx/_packaging/yyyyy/nuget/v3/index.json Azure DevOps:无法从 Azure Pipeline 中的提要加载 nuget 包 - Azure DevOps: Can not load nuget package from feed in Azure Pipeline Azure Devops nuget 工件提要和 docker - Azure Devops nuget artifact feed and docker 依赖项被复制到 Azure DevOps 中的私有源 - Dependencies getting copied to private feed in Azure DevOps 从 Azure Devops 管道访问私有源 - Access to private feed from Azure Devops pipeline Azure Devops 工件提要作为单独 Azure Devops 服务器中提要的上游源 - Azure Devops artifacts feed as upstream source for feed in separate Azure Devops server 如何向Azure功能提供私有NuGet提要凭据? - How do I provide private NuGet feed credentials to an Azure Function? 无法下载 Azure DevOps Release 中的源代码 - Unable to download the source code in Azure DevOps Release 无法再访问Azure DevOps中的NuGet提要(TF246017 / TF30040) - NuGet feed in Azure DevOps is not accessible anymore (TF246017 / TF30040) 如何从 Azure DevOps Feed 中删除 nuget 的所有版本? - How do I delete all versions of a nuget from a Azure DevOps Feed?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM