Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bamboo remote agent hangs when trying to register with server

David Le March 13, 2014

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
Answer accepted
Daniel Wester
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 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?

0 votes
David Le March 19, 2014

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.

0 votes
David Le March 13, 2014

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events