Open Closed

Issue with nuget.abp.io #8610


User avatar
0
leeneshk created

Hello,

Are there any issues/bugs with nuget.abp.io? As I have seen in previous logged tickets that this seems to be a common occurrence, is there anything we can do on our end to prevent this from happening? As we have now lost almost a full day of our deployments and this is extremely concerning!

We are unable to deploy via Azure CI/CD Build Pipelines as the nuget restore keeps giving a 403 Forbidden error the same is happening locally, below are the list of packages it keeps complaining about:

Retrying 'FindPackagesByIdAsync' for source 'https://nuget.abp.io/xxx/v3/package/volo.abp.aspnetcore.abstractions/index.json'. Response status code does not indicate success: 403 (Forbidden).

  • ABP Framework version: v9.0.3
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace: C:\a\1\s\xxx\src\xxx.HttpApi\xxx.HttpApi.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.DistributedLocking.Abstractions' from remote source 'https://nuget.abp.io/[xxx]/v3/package/volo.abp.distributedlocking.abstractions/index.json'. [C:\a\1\s\xxx\xxx.sln]
  • Steps to reproduce the issue: Issue occurring when performing dotnet restore using Azure CI/CD Classic Build Pipeline

22 Answer(s)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi, the package you are mentioned is an open-source package, which can be seen at https://www.nuget.org/packages/Volo.Abp.DistributedLocking.Abstractions.

    So, it's normal that this package can't be found in the nuget.abp.io. If you got this error when you build/restore your solution, your NuGet.Config file might be wrong. Can you share it please?

  • User Avatar
    0
    leeneshk created

    Hi, the package you are mentioned is an open-source package, which can be seen at https://www.nuget.org/packages/Volo.Abp.DistributedLocking.Abstractions.

    So, it's normal that this package can't be found in the nuget.abp.io. If you got this error when you build/restore your solution, your NuGet.Config file might be wrong. Can you share it please?

    Hi @EngincanV

    Thank you for your response,

    This is my Nuget.Config:

    <?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="nuget.org" value="https://api.nuget.org/v3/index.json" /> <add key="nuget.abp.io" value="https://nuget.abp.io/xxx/v3/index.json" /> </packageSources> <packageSourceMapping> <packageSource key="nuget.org"> <package pattern="" /> <package pattern="Microsoft." /> <package pattern="Volo." /> </packageSource> <packageSource key="nuget.abp.io"> <package pattern="Volo." /> </packageSource> </packageSourceMapping> </configuration>

  • User Avatar
    0
    leeneshk created

    Do I need to add each package per class library and web project individually?

    Because there are a lot more errors on packages that I received

    2025-01-08T14:07:57.2990725Z        (Restore target) -> 
    2025-01-08T14:07:57.2992228Z          C:\a\1\s\xxx\src\xxx.HttpApi\xxx.HttpApi.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.Users.Abstractions' from remote source 'https://nuget.abp.io/***/v3/package/volo.abp.users.abstractions/index.json'. [C:\a\1\s\xxx\xxx.sln]
    2025-01-08T14:07:57.2993230Z        C:\a\1\s\xxx\src\xxx.HttpApi\xxx.HttpApi.csproj : error NU1301:   Response status code does not indicate success: 403 (Forbidden). [C:\a\1\s\xxx\xxx.sln]
    2025-01-08T14:07:57.2994754Z          C:\a\1\s\xxx\src\xxx.Domain\xxx.Domain.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.Users.Abstractions' from remote source 'https://nuget.abp.io/***/v3/package/volo.abp.users.abstractions/index.json'. [C:\a\1\s\xxx\xxx.sln]
    2025-01-08T14:07:57.2995723Z        C:\a\1\s\xxx\src\xxx.Domain\xxx.Domain.csproj : error NU1301:   Response status code does not indicate success: 403 (Forbidden). [C:\a\1\s\xxx\xxx.sln]
    2025-01-08T14:07:57.2997245Z          C:\a\1\s\xxx\src\xxx.Domain\xxx.Domain.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.Users.Abstractions' from remote source 'https://nuget.abp.io/***/v3/package/volo.abp.users.abstractions/index.json'. [C:\a\1\s\xxx\xxx.sln]
    2025-01-08T14:07:57.2998182Z        C:\a\1\s\xxx\src\xxx.Domain\xxx.Domain.csproj : error NU1301:   Response status code does not indicate success: 403 (Forbidden). [C:\a\1\s\xxx\xxx.sln]
    2025-01-08T14:07:57.2999600Z          C:\a\1\s\xxx\src\xxx.HttpApi\xxx.HttpApi.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.Users.Abstractions' from remote source 'https://nuget.abp.io/***/v3/package/volo.abp.users.abstractions/index.json'. [C:\a\1\s\xxx\xxx.sln]
    2025-01-08T14:07:57.3000854Z        C:\a\1\s\xxx\src\xxx.HttpApi\xxx.HttpApi.csproj : error NU1301:   Response status code does not indicate success: 403 (Forbidden). [C:\a\1\s\xxx\xxx.sln]
    2025-01-08T14:07:57.3002199Z          C:\a\1\s\xxx\src\xxx.HttpApi\xxx.HttpApi.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.AspNetCore.Abstractions' from remote source 'https://nuget.abp.io/***/v3/package/volo.abp.aspnetcore.abstractions/index.json'. [C:\a\1\s\xxx\xxx.sln]
    2025-01-08T14:07:57.3003187Z        C:\a\1\s\xxx\src\xxx.HttpApi\xxx.HttpApi.csproj : error NU1301:   Response status code does not indicate success: 403 (Forbidden). [C:\a\1\s\xxx\xxx.sln]
    2025-01-08T14:07:57.3004731Z          C:\a\1\s\xxx\src\xxx.Domain\xxx.Domain.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.AspNetCore.Abstractions' from remote source 'https://nuget.abp.io/***/v3/package/volo.abp.aspnetcore.abstractions/index.json'. [C:\a\1\s\xxx\xxx.sln]
    2025-01-08T14:07:57.3005714Z        C:\a\1\s\xxx\src\xxx.Domain\xxx.Domain.csproj : error NU1301:   Response status code does not indicate success: 403 (Forbidden). [C:\a\1\s\xxx\xxx.sln]
    2025-01-08T14:07:57.3007005Z          C:\a\1\s\xxx\src\xxx.HttpApi\xxx.HttpApi.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.AspNetCore.Abstractions' from remote source 'https://nuget.abp.io/***/v3/package/volo.abp.aspnetcore.abstractions/index.json'. [C:\a\1\s\xxx\xxx.sln]
    2025-01-08T14:07:57.3007947Z        C:\a\1\s\xxx\src\xxx.HttpApi\xxx.HttpApi.csproj : error NU1301:   Response status code does not indicate success: 403 (Forbidden). [C:\a\1\s\xxx\xxx.sln]
    2025-01-08T14:07:57.3009410Z          C:\a\1\s\xxx\src\xxx.Domain\xxx.Domain.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.AspNetCore.Abstractions' from remote source 'https://nuget.abp.io/***/v3/package/volo.abp.aspnetcore.abstractions/index.json'. [C:\a\1\s\xxx\xxx.sln]
    2025-01-08T14:07:57.3010378Z        C:\a\1\s\xxx\src\xxx.Domain\xxx.Domain.csproj : error NU1301:   Response status code does not indicate success: 403 (Forbidden). [C:\a\1\s\xxx\xxx.sln]
    2025-01-08T14:07:57.3011732Z          C:\a\1\s\xxx\src\xxx.HttpApi\xxx.HttpApi.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.TextTemplating.Scriban' from remote source 'https://nuget.abp.io/***/v3/package/volo.abp.texttemplating.scriban/index.json'. [C:\a\1\s\xxx\xxx.sln]
    2025-01-08T14:07:57.3012683Z        C:\a\1\s\xxx\src\xxx.HttpApi\xxx.HttpApi.csproj : error NU1301:   Response status code does not indicate success: 403 (Forbidden). [C:\a\1\s\xxx\xxx.sln]
    2025-01-08T14:07:57.3014161Z          C:\a\1\s\xxx\src\xxx.Domain\xxx.Domain.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.TextTemplating.Scriban' from remote source
    
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi, the package you are mentioned is an open-source package, which can be seen at https://www.nuget.org/packages/Volo.Abp.DistributedLocking.Abstractions.

    So, it's normal that this package can't be found in the nuget.abp.io. If you got this error when you build/restore your solution, your NuGet.Config file might be wrong. Can you share it please?

    Hi @EngincanV

    Thank you for your response,

    This is my Nuget.Config:

    <?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="nuget.org" value="https://api.nuget.org/v3/index.json" /> <add key="nuget.abp.io" value="https://nuget.abp.io/xxx/v3/index.json" /> </packageSources> <packageSourceMapping> <packageSource key="nuget.org"> <package pattern="" /> <package pattern="Microsoft." /> <package pattern="Volo." /> </packageSource> <packageSource key="nuget.abp.io"> <package pattern="Volo." /> </packageSource> </packageSourceMapping> </configuration>

    We added packageSourceMapping to the NuGet.config for faster restoring Volo.* packages, however, it seems it might created an issue in your case. So, can you please update this file as follows:

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
      <packageSources>
        <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
        <add key="ABP Commercial NuGet Source" value="https://nuget.abp.io/xxx/v3/index.json" />
      </packageSources>
    </configuration>
    

    Then, retry to restore/build your project. Please, don't forget to replace the xxx part with your api-key and let me know if it works.

  • User Avatar
    0
    leeneshk created

    Hi, the package you are mentioned is an open-source package, which can be seen at https://www.nuget.org/packages/Volo.Abp.DistributedLocking.Abstractions.

    So, it's normal that this package can't be found in the nuget.abp.io. If you got this error when you build/restore your solution, your NuGet.Config file might be wrong. Can you share it please?

    Hi @EngincanV

    Thank you for your response,

    This is my Nuget.Config:

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
    <packageSources>
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
    <add key="nuget.abp.io" value="https://nuget.abp.io/xxx/v3/index.json" />
    </packageSources>
    <packageSourceMapping>
    <packageSource key="nuget.org">
    <package pattern="" />
    <package pattern="Microsoft.
    " />
    <package pattern="Volo." />
    </packageSource>
    <packageSource key="nuget.abp.io">
    <package pattern="Volo.
    " />
    </packageSource>
    </packageSourceMapping>
    </configuration>

    We added packageSourceMapping to the NuGet.config for faster restoring Volo.* packages, however, it seems it might created an issue in your case. So, can you please update this file as follows:

    <?xml version="1.0" encoding="utf-8"?> 
    <configuration> 
      <packageSources> 
        <add key="nuget.org" value="https://api.nuget.org/v3/index.json" /> 
        <add key="ABP Commercial NuGet Source" value="https://nuget.abp.io/xxx/v3/index.json" /> 
      </packageSources> 
    </configuration> 
    

    Then, retry to restore/build your project. Please, don't forget to replace the xxx part with your api-key and let me know if it works.

    Thank you very much, I am busy testing, I should give feedback shortly

  • User Avatar
    0
    abodur created

    We are also experiencing the same issue. Our pipeline cannot restore the Volo.* packages, even though I provided the correct key. I tried your solution, but unfortunately, it did not resolve the problem.

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    We are also experiencing the same issue. Our pipeline cannot restore the Volo.* packages, even though I provided the correct key. I tried your solution, but unfortunately, it did not resolve the problem.

    Normally, NuGet tries to find a package from all nuget-sources (global or defined in the NuGet.config file), so one of the nuget-source that you provided (it might be global nuget source) probably is wrong. Can you please check that? Because, this problem should not be related to nuget.abp.io, because these packages are open-source packages and they are hosted in the nuget.org.

    You can list nuget-sources with the following command, btw:

    dotnet nuget list source
    
  • User Avatar
    0
    leeneshk created

    @EngincanV

    I tested locally, and I have a successful build but the issue still persists on the build pipeline, I can concur with @abodur as well.

    This issue occurred from today, we had successful builds the entire time.

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    @EngincanV

    I tested locally, and I have a successful build but the issue still persists on the build pipeline, I can concur with @abodur as well.

    This issue occurred from today, we had successful builds the entire time.

    Can you please also see my comment and check it if all of the nuget sources are valid or not?

  • User Avatar
    0
    leeneshk created

    So I am seeing three sources.

    1. nuget.org [Enabled] https://api.nuget.org/v3/index.json
    2. ABP Commercial NuGet Source [Enabled] https://nuget.abp.io/xxx/v3/index.json
    3. Microsoft Visual Studio Offline Packages [Enabled] C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\
  • User Avatar
    0
    abodur created

    The Azure pipeline uses the NuGet.config file provided in our project, which only includes api.nuget.org and nuget.abp.io. This issue starts to occur after midday. On my local development machine, when I try to list nuget.abp.io packages, the IDE asks for a username and password.

  • User Avatar
    0
    leeneshk created

    The Azure pipeline uses the NuGet.config file provided in our project, which only includes api.nuget.org and nuget.abp.io. This issue starts to occur after midday. On my local development machine, when I try to list nuget.abp.io packages, the IDE asks for a username and password.

    @abodur, the same happened on our side, it randomly occurred, and we cannot be the only people experiencing this issue though, there must be more, because the 403 Forbidden error only occurs on the @Volo packages

    I have a longer list but just adding one here for context:

    C:\a\1\s\xxx\src\xxx.HttpApi\xxx.HttpApi.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.TextTemplating.Scriban' from remote source 'https://nuget.abp.io/***/v3/package/volo.abp.texttemplating.scriban/index.json'. [C:\a\1\s\xxx\xxx.sln]

  • User Avatar
    0
    castcrewit created

    Its happening to us as well

  • User Avatar
    0
    leeneshk created

    Hello everyone,

    I hope that we can get a speedy resolution on this issue, clearly its an issue on your side abp.io because we had successful builds the entire time without any issues.

    We have deployments that need to be executed and this is causing a delay within our sprints.

    Please see the urgency in this issue.

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hello everyone,

    I hope that we can get a speedy resolution on this issue, clearly its an issue on your side abp.io because we had successful builds the entire time without any issues.

    We have deployments that need to be executed and this is causing a delay within our sprints.

    Please see the urgency in this issue.

    Hi, we are currently working on that, I'll update you soon.

  • User Avatar
    0
    leeneshk created

    Hello everyone,

    I hope that we can get a speedy resolution on this issue, clearly its an issue on your side abp.io because we had successful builds the entire time without any issues.

    We have deployments that need to be executed and this is causing a delay within our sprints.

    Please see the urgency in this issue.

    Hi, we are currently working on that, I'll update you soon.

    Hello @EngincanV

    Thank you very much, I appreciate that

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    We have rollbacked the nuget.abp.io, can any of you please check whether it is fixed or not for now?

  • User Avatar
    0
    abodur created

    The issue has been resolved for now. I’m able to build on our pipeline again.

  • User Avatar
    0
    leeneshk created

    Thank you, I am busy building our pipeline again, I will let you guys know shortly

  • User Avatar
    0
    leeneshk created

    Thank you @EngincanV, we have a successful build on our side

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Great to hear that! Sorry for the temporary inconvenience and thanks for your understanding. Regards.

  • User Avatar
    0
    leeneshk created

    Great to hear that! Sorry for the temporary inconvenience and thanks for your understanding. Regards.

    Hello EngincanV,

    I hope you are doing well, I would like to ask, in terms of this very same issue,

    Is there some sort of SLA that we can get from abp.io that safe guards both parties from any downtime or any issues down the line?

    The reason why I am asking this, is that we have a set SLA with our clients that stipulates a certain timeframe for a major issue to be resolved, and let's say that if we needed to get a hotfix out when the downtime occurred, we would've been in breach of our SLA in any case.

    How sure are we that there would not be any issues like this in the future? Also I remember around a month ago, abp.io has the Cloudfare attack which affected the domains and sub-domains, how can we resolve that?

    So I need to provide some proof of an SLA to my security council regarding this, would you guys be able to provide me with some documentation in the form of an SLA or something?

    Thank you

Made with ❤️ on ABP v9.2.0-preview. Updated on January 20, 2025, 07:44