Open ooooolivia opened 4 years ago
//cc @nkolev92 @zivkan
@ooooolivia
The first thing that stands out is that the stack trace is coming from the SDK resolver. How long did this run for?
Have you attempted to run restore for different projects/solutions on your VM?
@nkolev92 Yes the restore works for empty dotnet console template. For [my project](), it just hangs at the end of the log (waited for at least an hour)
Restoring packages for .NETStandard,Version=v0.0...
GET https://api.nuget.org/v3-flatcontainer/microsoft.dotnet.arcade.sdk/index.json
NotFound https://api.nuget.org/v3-flatcontainer/microsoft.dotnet.arcade.sdk/index.json 68ms
and it has to be manually terminated. Checked a couple of nuget caches and the packages were not found there, so it might be a NuGet issue instead of SDK issue?
@ooooolivia can you generate a dump please? See: https://docs.microsoft.com/en-us/dotnet/core/diagnostics/dotnet-dump
@nkolev92 Thanks for your reply! The dump has been sent to you by email.
@heng-liu, there's an internal thread with the dump, ping me if you can't find it.
Same here.. Ubuntu 22.04 and my dotnet restore hangs forever..
The problem is not with the repository because I can restore it inside a container like this:
docker run -it -v ~/.nuget:/root/.nuget -v /repo:/repo mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim bash
# dotnet restore <path-to-sln>
The diganostic logs from -v diag
it stuck here and nothinig else is printed
Task Parameter:RestoreRecursive=True (TaskId:742)
Task Parameter:HideWarningsAndErrors=False (TaskId:742)
It also makes one CPU usage to be in 100% indefinitely.
I also tried to let this run for 7 hours, no success and the CPU continue with high usage.
Tried reinstalling everything, nothing works.. Don't know what else I can do to fix this.
EDIT: Just saw this issue is from 2020 :( Probably a entire different issue and I may consider opening a new issue.
I'm trying to do
dotnet restore
in my Ubuntu VM but it seems hanging forever ... Here's diagnostic log.NuGet.Config
for the repo:It seems unable to download packages from the feeds. The network connection in my VM works properly.