For TFS 2010 Beta 1, Resolving TF31001 "The ServicePointManager does not support proxies with the https scheme."


Recently, we’ve noticed a number of Team Explorer 2010 Beta 1 users are encountering the following error while attempting to connect to a HTTPS TFS server:



TF31001: Cannot connect to Team Foundation Server at xxx.com. The server returned the following error: The ServicePointManager does not support proxies with the https scheme.


This problem appears to be related to our decision to switch the default behavior of the BypassProxyOnLocal setting.  The BypassProxyOnLocal setting indiciates whether the proxy server should be bypassed for local addresses. (Local requests are identified by either the lack of a period [such as http://webserver] or those that are talking to the local server [such as http://localhost or http://127.0.0.1]). If true, the local requests bypass the proxy; otherwise, if false, all Internet requests are made through the proxy server.


In TFS 2008, the default value for BypassProxyOnLocal was false. This changed in 2010. Setting BypassProxyOnLocal to true improves the performance of the initial connection and resolves a performance problem experienced by some customers. So, unless you are reciving this error, you should not change the value of BypassProxyOnLocal.


If you are receiving the TF31001 error, you should be able to resolve this issue by running the following commands:


On all machine:



reg add hklm\SOFTWARE\Microsoft\VisualStudio\10.0\TeamFoundation\RequestSettings /v BypassProxyOnLocal /t REG_SZ /d False



reg add hklm\SOFTWARE\Microsoft\TeamFoundationServer\10.0\RequestSettings /v BypassProxyOnLocal /t REG_SZ /d False


Additionally on a 64-bit machine:



reg add hklm\SOFTWARE\Wow6432Node\Microsoft\TeamFoundationServer\10.0\RequestSettings /v BypassProxyOnLocal /t REG_SZ /d False



reg add hklm\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\TeamFoundation\RequestSettings /v BypassProxyOnLocal /t REG_SZ /d False


 


 –Aaron


 

Comments (7)

  1. First of all, see my last post Visual Studio Team System 2010 Beta 1 Download Links for all the download

  2. Not a lot of new traffic on the forums today but they are good ones!   Q: Is the checking of contracts

  3. Avec la beta 1 de TFS 2010, il n’est pas possible d’y connecter des clients TE 2005 et 2008… mais cela

  4. BillKrat says:

    VS2010 – The ServicePointManager does not support proxies with the https scheme

  5. Blog says:

    Some users have tried to connect to TFS 2008 using VS2010 Beta1, and they have got the following error

  6. bayrak says:

    This is very good news was well informed that the followers of the issue I am. Thanks…