Open Closed

Failed to retrieve information about nuget packages in dev,uat and prod pipelines. #9103


User avatar
0
consultant.ahmet.ulusoy created

Hi,

  • Template: microservice
  • Created ABP Studio Version: 0.9.11
  • Current ABP Studio Version: 0.9.25
  • Multi-Tenancy: Yes
  • UI Framework: mvc
  • Theme: leptonx
  • Theme Style: system
  • Database Provider: ef
  • Database Management System: postgresql
  • Mobile Framework: react-native
  • Public Website: Yes
  • Include Tests: Yes

We take below errors on pipeline when restore nuget packages for our solution.

#12 10.08 /src/TavTechnologies.Treva.ProfileService.Contracts/TavTechnologies.Treva.ProfileService.Contracts.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.Authorization.Abstractions' from remote source 'https://nuget.abp.io//v3/package/volo.abp.authorization.abstractions/index.json'. [/src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj] #12 10.08 /src/TavTechnologies.Treva.ProfileService.Contracts/TavTechnologies.Treva.ProfileService.Contracts.csproj : error NU1301: Response status code does not indicate success: 403 (Forbidden). [/src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj] #12 10.08 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.Authorization.Abstractions' from remote source 'https://nuget.abp.io//v3/package/volo.abp.authorization.abstractions/index.json'. #12 10.08 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Response status code does not indicate success: 403 (Forbidden). #12 10.08 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.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'. #12 10.08 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Response status code does not indicate success: 403 (Forbidden). #12 10.08 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.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'. #12 10.08 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Response status code does not indicate success: 403 (Forbidden). #12 10.09 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.Studio.Client' from remote source 'https://nuget.abp.io//v3/package/volo.abp.studio.client/index.json'. #12 10.09 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Response status code does not indicate success: 403 (Forbidden). #12 10.09 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.Studio.Client' from remote source 'https://nuget.abp.io//v3/package/volo.abp.studio.client/index.json'. #12 10.09 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Response status code does not indicate success: 403 (Forbidden). #12 11.03 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.Studio.Client.Contracts' from remote source 'https://nuget.abp.io//v3/package/volo.abp.studio.client.contracts/index.json'. #12 11.03 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Response status code does not indicate success: 403 (Forbidden). #12 11.04 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.Studio.Client.Contracts' from remote source 'https://nuget.abp.io//v3/package/volo.abp.studio.client.contracts/index.json'. #12 11.04 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Response status code does not indicate success: 403 (Forbidden). #12 11.32 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.Json.Abstractions' from remote source 'https://nuget.abp.io//v3/package/volo.abp.json.abstractions/index.json'. #12 11.32 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Response status code does not indicate success: 403 (Forbidden). #12 11.32 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.Json.Abstractions' from remote source 'https://nuget.abp.io//v3/package/volo.abp.json.abstractions/index.json'. #12 11.32 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Response status code does not indicate success: 403 (Forbidden). ##[debug]Agent environment resources - Disk: / Available 17273.81 MB out of 74244.74 MB, Memory: Used 1452.00 MB out of 6930.00 MB, CPU: Usage 80.50% ##[debug]Agent environment resources - Disk: / Available 17245.97 MB out of 74244.74 MB, Memory: Used 1599.00 MB out of 6930.00 MB, CPU: Usage 99.52% #12 21.50 Failed to restore /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj (in 19.88 sec). #12 ERROR: process "/bin/sh -c dotnet publish -c Release -o bin/Release/net9.0 /restore" did not complete successfully: exit code: 1

[builder 5/5] RUN dotnet publish -c Release -o bin/Release/net9.0 /restore: 10.09 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Response status code does not indicate success: 403 (Forbidden). 11.03 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.Studio.Client.Contracts' from remote source 'https://nuget.abp.io//v3/package/volo.abp.studio.client.contracts/index.json'. 11.03 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Response status code does not indicate success: 403 (Forbidden). 11.04 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.Studio.Client.Contracts' from remote source 'https://nuget.abp.io//v3/package/volo.abp.studio.client.contracts/index.json'. 11.04 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Response status code does not indicate success: 403 (Forbidden). /volo.abp.json.abstractions/index.json'. 11.32 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Response status code does not indicate success: 403 (Forbidden). 11.32 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.Json.Abstractions' from remote source 'https://nuget.abp.io/******/v3/package/volo.abp.json.abstractions/index.json'. 11.32 /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj : error NU1301: Response status code does not indicate success: 403 (Forbidden). 21.50 Failed to restore /src/TavTechnologies.Treva.ProfileService/TavTechnologies.Treva.ProfileService.csproj (in 19.88 sec).


8 Answer(s)
  • User Avatar
    0
    consultant.ahmet.ulusoy created

    It's too urgent because we are on production and can't continue to development.

  • User Avatar
    0
    consultant.ahmet.ulusoy created

    I removed organization id which is guid because of abp rules.

  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    Hi,

    Is the content of your NuGet.config file as follows?

    Because there seems to be an extra slash in the place where he requests to get the packages.

    Also, the packages mentioned are already open-source, that is, they are not hosted on nuget.abp.io but on nuget.org. See:

  • User Avatar
    0
    consultant.ahmet.ulusoy created

    Hi,

    It's like that

    <?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/*****/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
    consultant.ahmet.ulusoy created

    And it's occuring now, again.

  • User Avatar
    0
    consultant.ahmet.ulusoy created

    The nuget command failed with exit code(1) and error(NU1301: Unable to load the service index for source https://nuget.abp.io//v3/index.json. The content at 'https://nuget.abp.io//v3/index.json' is not a valid JSON object. Unexpected character encountered while parsing value: <. Path '', line 0, position 0. Errors in /home/vsts/work/1/s/TavTechnologies.Treva.SettingService.Contracts/TavTechnologies.Treva.SettingService.Contracts.csproj NU1301: Unable to load the service index for source https://nuget.abp.io//v3/index.json. The content at 'https://nuget.abp.io//v3/index.json' is not a valid JSON object. Unexpected character encountered while parsing value: <. Path '', line 0, position 0.)

  • User Avatar
    0
    salih created
    Support Team .NET Developer

    Hello, a while ago there was an issue with our server, it has been fixed now. Could you please check again?

  • User Avatar
    0
    consultant.ahmet.ulusoy created

    Now, it's working again. Thank you.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 16, 2025, 12:13