When trying to get a visual studio extension from Extensions & Updates, I get the following error:-
An error occurred while making the HTTP request to visualstudiogallery.msdn.microsoft.com/Services/VStudio/Extension.svc
I can see that few others have faced this problem, but I can't see any solution anywhere. Also, a similar error occurs when trying to fetch nuget package.
PS: The message is a bit misleading as with svcutil, I can create a proxy using the same address:- svcutil https://visualstudiogallery.msdn.microsoft.com/Services/VStudio/Extension.svc
This usually happens when you are behind a proxy.
Try to close Visual Studio and update the devenv.exe.config
file located in
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE
and search for the system.net
node.
If it isn't there then add it, otherwise change it to look like this:
<system.net>
<defaultProxy enabled="true" useDefaultCredentials="true">
<proxy usesystemdefault="true" bypassonlocal="true" />
</defaultProxy>
</system.net>
This will cause Visual Studio to use the system defined proxy and use your credentials if the proxy requires you to logon.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With