RE: TFS 2008 Team Build: Error connecting to remote build agent
- From: Guru Pratap <Guru Pratap@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 17 Apr 2009 05:25:01 -0700
I got it resolved by
- Disable Firewall if the operating system is windows server 2003
- If the operating system is Windows server 2008, try following steps
1. Open Server Manager -> Configuration -> Windows Firewall with Advanced
Security -> InBound Rules.
2. Right Click InBound Rules and select New Rule.
3. Click on "Port" radio button and press Next button.
4. Enter 9191 in Specific local ports text box.
5. Click Next until you finish.
"Dan Sloan" wrote:
Hi everyone,.
I am trying to get a remote build agent to work in a TFS 2008 environment
and I'm having some difficulty. If anyone has any guidance for
troubleshooting this, I'd really appreciate it.
Issue:
* When I queue builds from Team Explorer, I get the following error:
TF215085: An error occurred while connecting to agent
\[MyTeamProjectName]\BUILD_AGENT_BOX: TF215076: Team Foundation Build on
computer BUILD_AGENT_BOX (port 9191) is not responding. (Detail Message: HTTP
code 403: Forbidden)
Here's the situation:
******* Build Agent Machine *******
TFSBuildService.exe is running - and I've run it both under
NTAUTHORITY\Network Service, as well as a domain account that has
administrative rights on the box. For the latter configuration, I added that
domain account to the team project's [Build Services] TFS group. Neither
configuration seems to resolve the issue.
I have reviewed TFSBuildService.exe.config for all of the normal
configuration settings and everything looks good, including:
<add key="port" value="9191" />
...
<add key="AuthenticationScheme" value="Ntlm" />
...
<add key="AllowedTeamServer" value="http://TFS_APP_TIER_BOX:8080" />
...
******* TFS App Tier Machine *********
To try and troubleshoot the issue, I remoted to the app tier box and was
able to perform the "telnet test" to port 9191 successfully, so I know that
this box can talk to the build agent box and it recognizes that port 9191 is
in use. I am not aware of any firewalls between the two machines.
******* Common Stuff **************
-- Both the app tier box and build agent box are on the same domain.
-- There are no errors in the build agent's event log.
-- I have started a build agent on the app tier box and can queue builds up
to that machine successfully. This only appears to be a problem when the
build agent is running remotely.
Any insight would be greatly appreciated!
Dan
- Prev by Date: EHAB and LAB to SQL Server
- Previous by thread: EHAB and LAB to SQL Server
- Index(es):
Relevant Pages
|