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.
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 :
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
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs