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 https://webserver] or those that are talking to the local server [such as https://localhost or https://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

  • Anonymous
    May 20, 2009
    PingBack from http://microsoft-sharepoint.simplynetdev.com/for-tfs-2010-beta-1-resolving-tf31001-the-servicepointmanager-does-not-support-proxies-with-the-https-scheme/
  • Anonymous
    May 20, 2009
    First of all, see my last post Visual Studio Team System 2010 Beta 1 Download Links for all the download
  • Anonymous
    May 20, 2009
    Not a lot of new traffic on the forums today but they are good ones!   Q: Is the checking of contracts
  • Anonymous
    June 02, 2009
    Avec la beta 1 de TFS 2010, il n’est pas possible d’y connecter des clients TE 2005 et 2008… mais cela
  • Anonymous
    June 18, 2009
    VS2010 - The ServicePointManager does not support proxies with the https scheme
  • Anonymous
    June 23, 2009
    Some users have tried to connect to TFS 2008 using VS2010 Beta1, and they have got the following error
  • Anonymous
    July 21, 2009
    This is very good news was well informed that the followers of the issue I am. Thanks...