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 votes

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 Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

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...

1,066 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot