Home > Uncategorized > The source at nuget.org [https://www.nuget.org/api/v2/] is unreachable. [FIXED]

The source at nuget.org [https://www.nuget.org/api/v2/] is unreachable. [FIXED]

If you are still using Visual Studio 2013, you may notice that today, the Package Manager Console will have stopped working, any attempt to install a new package will give an error like

The source at nuget.org [https://www.nuget.org/api/v2/] is unreachable. Falling back to NuGet Local Cache at C:\Users\you\AppData\Local\NuGet\Cache

This is because NUGET has withdrawn support for TLS 1.1, and VS 2013 will use TLS 1.1 by default.

To Fix this, type this into the PM console:

[Net.ServicePointManager]::SecurityProtocol=[Net.ServicePointManager]::SecurityProtocol-bOR [Net.SecurityProtocolType]::Tls12
Categories: Uncategorized
  1. R's avatar
    R
    December 29, 2021 at 10:36 am

    This solution resolved my problem

    Like

  1. No trackbacks yet.

Leave a comment