0

I am getting the following error while trying to connect to NuGET.

wtf.

[nuget.org] Unable to load the service index for source https://api.nuget.org/v3/index.json. An error occurred while sending the request. Unable to connect to the remote server A socket operation was attempted to an unreachable network [2606:2800:133:f17:19e8:2356:251b:2a9]:443

why is this happening? and why is it using ipv6?

help help

10
  • What happens when you open the URL in a browser? If you don't see any json, you probably have some firewall issues with TLS. Commented Dec 15, 2016 at 5:52
  • definitely a routing problem. Commented Dec 15, 2016 at 6:00
  • Which version of NuGet and Visual Studio do you use? Please tell us where and how do you connect to your NuGet. Commented Dec 15, 2016 at 9:06
  • Yes I am able to open the URL with my browser. Commented Dec 15, 2016 at 20:17
  • @ DarthVader, you can try to set ipv6 enabled to be false in the file C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe.config like "<ipv6 enabled="false"/>", and then check it again. Commented Dec 16, 2016 at 5:33

1 Answer 1

0

It would be related to your Proxy, you can add proxy settings in your Nuget.Config file.

You could get useful information from the NuGet.Config Reference and Nuget Proxy Settings.

Update:

So you have resolved this issue here:

Nuget connection attempt failed "Unable to load the service index for source"

Am I right? If so, you could close the two cases:)

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.