TFS proxy not working
hi,
I have installed TFS proxy in a separate machine with windows server 2003.
I have also configured the proxy.config file as
<Servers>
<Server>
<Uri>http://tfsserver:8081/versioncontrol</Uri>
</Server>
</Servers>
where tfsserver is my server.
i have enabled my client machine to use proxy.
when i try to checkin or checkout in my client machine, it gives the message that
' source control proxy is not responding '
Also, there is no data available in "C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\VersionControlProxy\Data"
can i please have a solution for this?
Downloading files to an user’s workspace is one of the very common and bandwidth intensive operation. TFS Proxy is basically used to improve download experience over low bandwidth/high latency networks. All Version Control Operations that involves file download will go through proxy. Following are some examples : Get, Unshelve, Compare,Undo, View, Branch.
The port number specified on the proxy.config file is not correct (The port number should be 8080 instead of 8081)
Uri>http://tfsserver:8080/versioncontrol</Uri>
For more information on how TFS proxy works, refer to
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=299341&SiteID=1
thanks for your reply.
1)but even after changing the port number, the same problem is existing.
the client machine says :
"The source control proxy 'chnmct62378' is not responding, so the request will be sent to the main server. Please verify your settings."
here is my proxy.config contents
<?xml version="1.0"?>
<ProxyConfiguration
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Servers>
<Server>
<Uri>http://tfsserver:8080/VersionControl</Uri>
</Server>
</Servers>
<!-- Proxy file cache root folder -->
<CacheRoot>C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\VersionControlProxy\Data</CacheRoot>
<CacheLimitPolicy>
<!-- Cache limit expressed as percentage of disk space -->
<PercentageBasedPolicy>75</PercentageBasedPolicy>
<!-- Cache limit expressed as MB -->
<!-- <FixedSizeBasedPolicy></FixedSizeBasedPolicy> -->
</CacheLimitPolicy>
<!-- Percentage of cache size that needs to be freed up, on hitting cache limit -->
<CacheDeletionPercent>10</CacheDeletionPercent>
<!-- Indicates how often (number of hours) the proxy statistics information should be persisted to a file-->
<StatisticsPersistTime>1</StatisticsPersistTime>
<ReaderChunkSize>1048576</ReaderChunkSize>
<WriterChunkSize>1048576</WriterChunkSize>
</ProxyConfiguration>
2)one more thing, should i configure my tfs server by any means?
3)i am the administrator of the proxy server machine and is there anything i should do about the user accounts?
Can you check the proxy machine event log and post the proxy exception message ?
I'm assuming that you have installed proxy on a domain environment.
The following settings are required inorder for proxy to be in a different domain than the Application Tier.
- Establish a one way trust between Application Tier and Proxy (basically, Application Tier trusts Proxy)
- Run proxy as an account which resides in the same domain as the proxy. (for example DomainB\userA)
- For authorization purpose, proxy service account needs to be a member of the TFS Valid Users group.
here is the proxy machine event log:
TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff.
Technical Information (for the administrative staff):
Date (UTC): 6/22/2006 5:15:20 AM
Machine: CHNMCT62378
Application Domain: /LM/W3SVC/2/Root/VersionControlProxy-1-127954269113182467
Assembly: Microsoft.TeamFoundation.VersionControl.Server.Proxy, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
Process Details:
Process Name: w3wp
Process Id: 1828
Thread Id: 1168
Account name: ITLINFOSYS\sundararajan_s
Detailed Message: Unable to handle request without a valid action parameter. Please supply a valid soap action.
Web Request Details
Url: http://chnmct62378:8081/VersionControlProxy/V1.0/item.asmx?sfid=1089,0,0,0,0,0,0,0,0,0&ts=632866365072521003&s=Uh/lDYyvgQFv5LdGdY2YlE6cWMRxRV0Zw45Zc6mw8Fmnz7kr32s4oRntzMDLKkII7kSLM9uMZllsVrf2fVZnHaUk4ovkLegVKVzLi0c4UwlvttS8JRe1RoAIOFCD1LJTry4PU2KQ8jC3ik5oq0+zSEV9b+YwnmDzMEP2xWPFY4Y=&fid=1089&rid=0bd753cf-aed2-4272-9d9b-5c65f7e377bb [method: GET]
User Agent: Team Foundation (devenv.exe, 8.0.50727.43)
Headers: Accept-Language=en-US&Authorization=NTLM+TlRMTVNTUAADAAAAGAAYAI4AAAAYABgApgAAABQAFABIAAAAHAAcAFwAAAAWABYAeAAAABAAEAC%2bAAAANYKI4gUBKAoAAAAPSQBUAEwASQBOAEYATwBTAFkAUwBTAHUAbgBkAGEAcgBhAHIAYQBqAGEAbgBfAFMAQwBIAE4ATQBDAFQANgAzADQAMwA3AL4LpnLl5OwGAAAAAAAAAAAAAAAAAAAAAFBf%2f7GuS56RPooDbZLGyBra3EGpKZHNuduqRiXO3Tc49eIIURh6wns%3d&Host=chnmct62378%3a8081&User-Agent=Team+Foundation+(devenv.exe%2c+8.0.50727.43)&X-TFS-Version=1.0.0.0&X-VersionControl-Instance=2c453041-baba-42a8-b544-03e0428a2e43
Path: /VersionControlProxy/V1.0/item.asmx
Local Request: False
Host Address: 10.87.110.140
User: ITLINFOSYS\sundararajan_s [authentication type: NTLM]
Exception Message: Unable to handle request without a valid action parameter. Please supply a valid soap action. (type VersionControlException)
Exception Stack Trace: at Microsoft.TeamFoundation.VersionControl.Client.Repository.ProcessHttpResponse(HttpWebResponse response, Stream responseStream, WebException webException, XmlReader& xmlResponseReader)
at Microsoft.TeamFoundation.VersionControl.Client.Repository.ExecWebServiceRequest(HttpWebRequest request, XmlWriter requestXml, String methodName, HttpWebResponse& response)
at Microsoft.TeamFoundation.VersionControl.Client.Repository.GetRepositoryProperties()
at Microsoft.TeamFoundation.VersionControl.Client.Repository.RefreshGuid()
at Microsoft.TeamFoundation.VersionControl.Client.Repository..ctor(VersionControlServer sourceControl, Boolean refreshGuid)
at Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer.get_Repository()
at Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer.get_ServerGuid()
at Microsoft.TeamFoundation.VersionControl.Server.Proxy.ProxyProperties.LoadConfiguration(String filePath)
Inner Exception Details:
Exception Message: Unable to handle request without a valid action parameter. Please supply a valid soap action. (type SoapException)
Exception Stack Trace:
__
also we have installed the proxy in a domain environment.
the proxy service account is a member of the TFS Valid Users group.
the proxy is running in an account which resides in the same domain as the proxy.
Still the same problem persists.
__
Can you confirm the following?
- Are you able to download files directly from the TFS Server without using Proxy?
- Is the proxy in the same domain as the app tier?
- Can you check the TFS App tier for any errors in the event log?
Also, can you try turning on the diagnostic tracing in tf.exe.config. It's already there, but it's commented out. There are two sections commented out that need to be uncommented. If you needed to get the same information using VS, you can copy the settings from the tf.exe.config file to the devenv.exe.config file?
- Are you able to download files directly from the TFS Server without using Proxy?
1. Yes I am able to download files directly from the TFS server without proxy
- Is the proxy in the same domain as the app tier?
1. Yes Proxy is in the same domain as the apptier.
- Can you check the TFS App tier for any errors in the event log?
I attempted to download (Get version and check out) some files through proxy. The Visual studio says
‘The source control proxy 'chnmct62378' is not responding, so the request will be sent to the main server. Please verify your settings.’
TFS App Tier does not have any errors logged into it
This is really weird. Can you try turning on the diagnostic tracing in tf.exe.config and send me the log file. There are two sections commented out that need to be uncommented. If you needed to get the same information using VS, you can copy the settings from the tf.exe.config file to the devenv.exe.config file?