Getting the following error when trying to run the builds on a remote agent
Agent workspace failed to initialise in the specified time : The server repository cache at ssh://Server:9010// is missing
I am running beta version 1.0.0.1250 and have the current license file installed. I have tried opening ports in the firewall both on the server as well as the agent.
I just tested remote agents today since we made some changes to the repository sync code recently. I installed an agent on one of our servers in Dallas Tx, opened port 9002 inbound, and opened ports 9000 (to connect to the server) and 9010 (to connect to the ssh/sftp server). In our Canberra Australia office, I opened ports 9000 and 9010 and redirected them to my dev machine. The information on the ports can be found here :
The remote agent showed up, and after installing the beta license (needed to authorise remote agents), I authorised the remote agent and de-authorised my local agent. Then I started a build and it worked fine (albeit slowly, due to our crappy Internet connection).
I had a look at where that error occurs, and it happens when the agent check that the repository cache on the server exists. The repository cache is a mercurial repository, and we run the hg id command against the server cache to check that it actually exists before trying to pull it to the agent. For remote agents, that is done over ssh (on port 9010) using plink.exe (which is installed with the agent). I guess the hg id command must be failing for this error to occur.