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

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 Sign up to answer
Community showcase
Published 2 hours ago in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

35 views 0 1
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