Open Closed

The nuget source for Pro packages is broken #584


User avatar
1
XavierRM created

Hello,

  • ABP Framework version: v3.3.1
  • UI type: MVC
  • Tiered (MVC) or Identity Server Seperated (Angular): no

Since this morning, we have been unable to build our ABP based solution, either on our CI (DevOps) server or our local computers. Package restore always fails (tested on two developer computers, and the CI server). This is very problematic as it has become impossible for us to build and deploy new versions of our application.

On our CI server, our master branch, which successfully built last thursday and have not changed since, cannot be built today.

We suspect the ABP Commercial nuget server to be the source of this problem. If I remove the ABP Commercial source from our NuGet.config, then NuGet can start restoring the packages that come from other sources (but then fails to find the commercial packages of course). I have double checked our NuGet source URL, which seems to be correct (and has not changed since the last successful build anyway). When the commercial source is here, NuGet crashes before starting restoring the packages ; it crashes as it reads the first project file that contains Pro package references.

  • Steps to reproduce the issue:

    • Clear your local NuGet cache
    • Rebuild an ABP commercial solution
  • Exception message and stack trace: This is the output from package restore on our CI server

Running restore with 4 concurrent jobs.
Reading project file D:\a\1\s\src\MyProject.Domain.Shared\MyProject.Domain.Shared.csproj.
Reading project file D:\a\1\s\src\MyProject.EntityFrameworkCore.DbMigrations\MyProject.EntityFrameworkCore.DbMigrations.csproj.
Reading project file D:\a\1\s\src\MyProject.Web\MyProject.Web.csproj.
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.Commands.SourceRepositoryDependencyProvider.<FindLibraryAsync>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.DependencyResolver.ResolverUtility.<>c__DisplayClass9_1.<<FindLibraryFromSourcesAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at NuGet.DependencyResolver.ResolverUtility.<FindLibraryFromSourcesAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.DependencyResolver.ResolverUtility.<FindLibraryByVersionAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.DependencyResolver.ResolverUtility.<FindPackageLibraryMatchAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.DependencyResolver.ResolverUtility.<FindLibraryMatchAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at NuGet.DependencyResolver.ResolverUtility.<FindLibraryEntryAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.DependencyResolver.RemoteDependencyWalker.<CreateGraphNode>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at NuGet.DependencyResolver.RemoteDependencyWalker.<CreateGraphNode>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at NuGet.DependencyResolver.RemoteDependencyWalker.<CreateGraphNode>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at NuGet.DependencyResolver.RemoteDependencyWalker.<CreateGraphNode>d__3.MoveNext())
##[error]Packages failed to restore

Our NuGet.config file is basically the default one (our private key has been removed) :

<?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/<key>/v3/index.json" />
    </packageSources>
</configuration>

3 Answer(s)
  • User Avatar
    0
    rbarbosa created

    We have the same issue over here, build machine no longer is able to restore from ABP Commercial NuGet

  • User Avatar
    0
    alper created
    Support Team Director

    thanks for your feedback. our team has addressed the issue and fixing it..

  • User Avatar
    0
    alper created
    Support Team Director

    it's fixed!

Made with ❤️ on ABP v9.1.0-preview. Updated on December 26, 2024, 06:07