fullstackproltd / AspNetCoreSpa

Asp.Net 7.0 & Angular 15 SPA Fullstack application with plenty of examples. Live demo:
https://aspnetcorespa.fullstackpro.co.uk
MIT License
1.48k stars 465 forks source link

Dotnet restore fails #112

Closed layinka closed 7 years ago

layinka commented 7 years ago

Hi,

Dotnet restore fails , it cannot connect to https://dotnetmyget.blob.core.windows.net/artifacts/aspnetcore-ci-dev/nuget/v3/flatcontainer/aspnet.security.openidconnect.extensions/index.json

An error occurred while sending the request. The connection with the server was terminated abnormally Retrying 'FindPackagesByIdAsync' for source 'https://dotnetmyget.blob.core.windows.net/artifacts/aspnetcore-ci-dev/nuget/v3/flatcontainer/aspnet.security.openidconnect.extensions/index.json'. An error occurred while sending the request. The connection with the server was terminated abnormally C:\Program Files\dotnet\sdk\1.0.4\NuGet.targets(97,5): error : Failed to retrieve information about 'AspNet.Security.OpenIdConnect.Extensions' from remote source 'https://dotnetmyget.blob.core.windows.net/artifacts/aspnetcore-ci-dev/nuget/v3/flatcontainer/aspnet.security.openidconnect.extensions/index.json'.\r [I:\Projects\AspNetCoreSpa.csproj] C:\Program Files\dotnet\sdk\1.0.4\NuGet.targets(97,5): error : An error occurred while sending the request.\r [I:\Projects\AspNetCoreSpa.csproj] C:\Program Files\dotnet\sdk\1.0.4\NuGet.targets(97,5): error : The connection with the server was terminated abnormally [I:\Projects\AspNetCoreSpa.csproj]

m2017atTR commented 7 years ago
  Are you behind corporate proxy/firewall ? 
layinka commented 7 years ago

No, It was the openiddict packages that were failing.

I managed to fix it by updating the myget references

Swift-T commented 7 years ago

I'm having the same issue.

Error occurred while restoring NuGet packages: Failed to retrieve information about 'OpenIddict.Mvc' from remote source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/openiddict.mvc/index.json'.

Stupid package manager won't even let me make any changes to other packages. Wasn't able to uninstall OpenIddict packages as well. I have to delete all OpenIddict reference from project and install some other package to get rid of the old OpenIddict packages.

layinka commented 7 years ago

I changed my Nuget.config file to the below

<?xml version="1.0" encoding="utf-8"?>

asadsahi commented 7 years ago

closing as it looks like no further action needed.