I'm setting up some new remote agents in a distant location from the main Bamboo server and I'm running into errors when the agent starts like this:
INFO | jvm 1 | 2013/02/19 11:32:55 | 2013-02-19 11:32:55,275 INFO [WrapperSimpleAppMain] [AgentContext] Requesting fingerprint, url: http://bamboo.mycompany.com:8080/agentServer/GetFingerprint.action?hostName=foo.remotedomain.com&version=3&agentUuid=2918f14c-9f69-484a-a05d-5c00c3a5a14c INFO | jvm 1 | 2013/02/19 11:33:25 | Exiting due to fatal exception. INFO | jvm 1 | 2013/02/19 11:33:25 | org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 30000 ms
Perhaps there are some firewall issues or something. But I would like to first test whether all I need is longer time to connect. Is there a configuration file somewhere where I can increase the connection timeout to something more than 30 seconds? I grep'd around and didn't find anything, but perhaps there is a key I don't know about that I can set in the wrapper.conf file.
Suggestions?
Brent - try looking in the bamboo.cfg.xml file.
There is a field "bamboo.jms.broker.client.uri" and "bamboo.jms.broker.uri". They both have URLs with parameters that affect the agents, especially the first parameter which has the URL parameter :
initialReconnectDelay=30000
and
maxReconnectAttempts=1000
You can tweak these to get the desired timing. Obviously, after changing the values you need to restart Bamboo before attempting to restart the agents.
THere is also some Atlassian docs here that can affect agent performance and timings : https://confluence.atlassian.com/display/BAMBOO/Changing+the+remote+agent+heartbeat+interval
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.