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

Cannot connect Remote Agents

Josh Moore July 5, 2017

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 votes
Josh Moore July 7, 2017

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.

0 votes
Cristiano Mariano
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.
July 6, 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

Josh Moore July 7, 2017

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?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events