Cannot connect Remote Agents Edited

I am trying to connect a remote agent to bamboo version 6.0.2.  I have downloaded the agent jar from bamboo and run the installation.  But, when I start it hangs on this line: 

 

INFO [AgentRunnerThread] [AgentRegistrationBean] Registering agent on the server

 

When I turn on debugging I get constantly repeated:

send a packet PING : ping
Received a packet PING : ping
Send a packet PING : ok
read a packet PING : ok
Got ping response from JVM
send a packet PING : ping
Received a packet PING : ping
Send a packet PING : ok
read a packet PING : ok
Got ping response from JVM

 

On the bamboo server I see these log messages:

 

Agent with fingerprint '7449997491164312190' has started loading
Agent with fingerprint '7449997491164312190' is now receiving its classpath
Sending 0 jars, asking to remove 0 jars
Agent with fingerprint '7449997491164312190' has finished loading
About to checkOfflineAgents...
Grace period of around 0s
Finished checkOfflineAgents took 809.0 μs

 

 

Any ideas on what the problem might be?

2 answers

0 vote
Cristiano Oliveira Community Champion Jul 06, 2017

Hi Josh! How are you doing?

In my installation, when agents don't start, I usually check:

- Lack of permission for user running agent in agent home directory

- Firewall block on ports 8085 or 54663

A full list of troubleshooting tips is here: https://confluence.atlassian.com/bamkb/troubleshooting-remote-agents-216957427.html

Hope this helps!

Thanks,

Cristiano

Hi Cristiano, thanks for the response.  I have tried those things run as root and removed the firewall with no luck.  I have gone thorugh the troubleshooting as well with no luck.  Is there a particular log file that I can post that might be more helpful?

I figured it out.  the problem was the address in the broker url had /// instead of // after tcp.  Thanks to Cristiano and everybody else who thought about it.

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,090 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