Proxy Authorization Required
This error generally occurs when users are connected to Visual Studio Online through a proxy server, and the proxy server blocks the calls. Visual Studio Online is used to keep the user signed in to the IDE.
-
Restart Visual Studio. A proxy authentication dialog box should appear. Enter your credentials in the dialog.
-
If the above step does not solve the problem, this may be because your proxy server does not prompt for credentials for http://go.microsoft.com addresses but does so for *.visualStudio.com addresses. For these servers, you need to whitelist the vspss endpoint, or remove the http://go.microsoft.com address from the whitelist so that the proxy authentication dialog shows up for both addresses when Visual Studio is restarted.
-
OR
-
If you want to use your default credentials with your proxy, you can do the following:
-
Find devenv.exe.config (the devenv.exe configuration file) in: %ProgramFiles%\Microsoft Visual Studio 12.0\Common7\IDE (or %ProgramFiles(x86)%\Microsoft Visual Studio 12.0\Common7\IDE).
-
In the configuration file, find the <system.net> block, and add this code:
<defaultProxy enabled="true" useDefaultCredentials="true"> <proxy bypassonlocal="True" proxyaddress="http://<yourproxy:port#>"/> </defaultProxy>You must insert the correct proxy address for your network in proxyaddress="<http://<yourproxy:port#>.
-
-
OR
-
You can also follow the instructions in this post to add code that will allow you to use the proxy.