Remote Agent workspace failed

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.

Any help will be appreciated.

Thanks

Hi

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 :

http://wiki.finalbuilder.com/display/continua/Networking+and+Security

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.

What reposistory type are you using?

Here’s some things to check :

On your server :

check that the Continua SSH service is running.
check the eventlog to see if the ssh service is reporting any errors.

On the Agent machine :

Run telnet and see if it can connect to the ssh service :

telnet yourserver 9010
you should see : SSH-2.0-WeOnlyDo 2.2.9

telnet yourserver 9010
the server won’t report anything but you will at least be able to see if it connects.

That will at least tell you if you can connect to the server.