11

Nuget package manager suddenly stopped working in my VS 2015 environment. It shows me the following error:

[nuget.org] Unable to load the service index for source https://api.nuget.org/v3/index.json. An error occurred while sending the request. The server committed a protocol violation. Section=ResponseStatusLine

Any ideas how to get rid and make Nuget working in my box?

4
  • Try to run VS as administrator. Looks like VS haven't access to internet.
    – andrew
    Oct 1, 2017 at 23:49
  • I have the same issue. Did you ever resolve it? Oct 24, 2018 at 4:55
  • Same problem here, appeared spontaneously, it seems a network problem, but no solution so far.
    – Carlos ABS
    Dec 18, 2018 at 19:09
  • In case it happens again, install Fiddler if you can, to see what the HTTP response is for the request for index.json, and make sure it's valid JSON. If you can't install fiddler, you can just try opening the index.json file in a web browser on the same machine, running as the same user.
    – zivkan
    Jan 22, 2019 at 15:51

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy