Wednesday, May 20, 2009

Have VS2010 Beta 1, trying to connect to CodePlex (or other HTTPS) TFS server and getting a “… The ServicePointManager does not support proxies with the https scheme.” error?

Martin Hinshelwood's Blog - Solution to connecting to TFS using HTTPS over the Internet from behind ISA

“This problem it seams is to do with the way Visual Studio 2010 connects to your TFS server over HTTPS. The default value for “BypassProxyOnLocal” in Visual Studio 2008 was “False”, but it has been changed to “True” for Visual Studio 2010 Beta 1. It should be noted that this is currently a Beta 1 workaround and this behaviour may be updated for Beta 2 and RTM.

You can fix this by adding the following registry keys and restarting Visual Studio 2010:

You need to add a “RequestSettings” key to both of the following location that contains a string value pair of “BypassProxyOnLocal=’False’”.

…” [GD: Please click through for the actual x86/x64 registry settings… I don’t want to leach all his traffic…]

I ran into this just now while trying to connect my VS2010 B1 install to my CodePlex projects. Twitter came through with the word (thanks Dave) that there’s a reg hack to fix this. So with that info in hand, I was able to hunt down the above post. And while I’m not sure how ISA fits into the mix (because CodePlex is behind ISA probably?) Martin’s reg hack worked like a charm for me…

So from here…

VS2010B1-CodePlex-01 VS2010B1-CodePlex-02

Then after applying Martin’s reg hack (insert standard don’t mess with your registry unless you know what you are doing disclaimer here) and restarting VS2010, I now get this… Yeah! Fixed! :)

VS2010B1-CodePlex-03

VS2010B1-CodePlex-04

Update #1 5/20/2008 @ 6:35PM (PDT):
Aaron Block just posted a little more information and details (and the same reg hacks that Martin did) on this here, For TFS 2010 Beta 1, Resolving TF31001 "The ServicePointManager does not support proxies with the https scheme."

No comments: