Bamboo remote agent hangs when trying to register with server

I had a bamboo remote agent hanging when trying to register with bamboo server.

I already tried Atlassian trouble shoot/debug/install, etc... with no luck. I also disabled the firewall on both bamboo agent, and server machines. I also ping from and to both machines.

However, the agent is still hanging with the (error) "Broker URI... is invalid.

Any suggestion would be much appreciated !

- startup command:

$ java -jar atlassian-bamboo-agent-installer-5.4.1.jar http://my_host_name:8085/agentServer/

- the last line of output (error):

INFO | jvm 1 | 2014/03/13 16:56:29 | 2014-03-13 15:56:29,135 WARN [Thread-1] [BambooActiveMQConnectionFactory] Broker URI: tcp://my_host_name:54663?wireFormat.maxInactivityDuration=300000 is invalid: java.net.UnknownHostException: my_host_name

Please note that I replaced my real host name with "my_host_name" in this post.

3 answers

1 accepted

1 vote
Accepted answer
Daniel Wester Community Champion Mar 13, 2014

So a couple of things to try:

1. Telnet to :8085 on 21bamboo.zebra.lan from z21srlmwnode01.zebra.lan and see if you get the typical http responses.

2. From 21bamboo.zebra.lan see if you can do #1 to 21bamboo.zebra.lan .

3. Repeat from #1 and #2 for 54663. That will help to check the firewall or routers etc.

4. Have you tried to install a remote agent on z21srlwnode01.zebra.lan (I'm assuming that's where you have the bamboo webapp running) and see if that's running.

Are you seeing anything on the agent page?

After enabling debug (https://confluence.atlassian.com/display/BAMKB/Troubleshooting+Remote+Agents)

and after restart both server and remote agent, I had this error: "Read timed out"

INFO | jvm 1 | 2014/03/13 18:04:55 | 2014-03-13 17:04:55,613 INFO [WrapperSimpleAppMain] [AgentContext] Requesting fingerprint, url: http://21bamboo.zebra.lan:8085/agentServer/GetFingerprint.action?hostName=z21srlmwnode01.zebra.lan&version=3&agentUuid=49052225-7f43-4f35-8129-d24054270acc

INFO | jvm 1 | 2014/03/13 18:05:25 | 2014-03-13 17:05:25,703 INFO [WrapperSimpleAppMain] [HttpMethodDirector] I/O exception (java.net.SocketTimeoutException) caught when processing request: Read timed out

My admistrator said both machines do not have issues with neither firewall (already open for http and tcp) nor network throughput.

Thank you, Daniel

My administrator said he already opened the firewall on both machines. On the remote agent machine I had the download jar file, and already executed "java -jar ...", and there was an exception java.net.UnknownHostException, and it just hung there.

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

2,120 views 8 7
View question

Atlassian User Groups

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!

Find my local user group

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

Groups near you