-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dotnet restore
never completes
#17481
Comments
The timeout is likely NuGet. @CollinAlpert We haven't seen too many of these issues. If you enable normal verbosity, you'd get more details about potential http calls being made. |
It happened again and I managed to create a Sample and a Spindump (using the Mac's Activity Monitor) of the |
Unfortunately the problem still persists even after installing .NET 8. So it seems it has nothing to do with the preview versions. |
same issue here |
For me the issue was I needed to put my project name before the feedname.. like: another big indicator is if you look at the url that the app is trying to connect to, it might not be right. Try navigating to it and then comparing it to the one that you get if you click "connect to feed" in azure artifacts. |
This one is a bit difficult to reproduce and to explain. Once in a while, when I execute
dotnet restore
on the command line, I get the "Determining projects to restore..." output, followed by "error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json" after a few minutes, but after that nothing happens and the command never completes. Restarting the computer always solves the issue anddotnet restore
completes without any problems, however a restart is the only solution I have found so far.As far as I can tell this happens at random times and I haven't been able to correlate to any certain event reliably. Here are a few of my observations, however please take my confirmation bias into account:
I am just dumping this here in the hopes that someone a lot smarter than me will be able to make sense of it. Please let me know if you need more information or if you want me to try anything, I am desperate to get this resolved since it is very annoying.
dotnet --info
output:I am running macOS Ventura 13.6 with an M1 Pro chip.
The text was updated successfully, but these errors were encountered: