dadarkwizard
✅ dotnet restore failed - unable to load service index
I'm not sure this is the right place to ask, but I am #suffering.
An issue I've been trying to solve for ~1 year.
The title says it all - no seriously, that's all I get. No certificate verification errors, no errors accessing target. I've read through the
dotnet restore -v diag
text and there's nothing indicating it was going to fail. I'll include an excerpt below.
I'm running on Zorin OS 16, built on Ubuntu 20.04. Both dotnet6.0, dotnet7.0 fail, installed from the apt source https://packages.microsoft.com/ubuntu/20.04/prod. Installing the nuget package and running nuget restore
fails with the same error.
Deleting the default nuget.config file so it regenerates doesn't work.
I'm able to access https://api.nuget.org/v3/index.json from my browser.
echo | openssl s_client -servername api.nuget.org -connect api.nuget.org:443 2>/dev/null
says Verification: OK
6 replies