Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Remote agent fails to connect ActiveMQ [FailoverTransport] to unknown host

Glen Geisen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 7, 2025

trying to start a remote agent on the same machine as the Bamboo instance is running with the command:

c:\OpenJDK\jdk-17.0.1-full\bin\java -Dbamboo.home=e:\CI_build_home\remote-agent-home -jar ./atlassian-bamboo-agent-installer-8.1.1.jar http://10.172.0.15:8085/agentServer

I was able to authenticate the agent from Bamboo>Configure>Agents and Bamboo sees the remote agent loading:

May 7, 2025, 12:26:42 PM A remote agent is loading on BUILD-SERVER (10.172.0.15).

As the agent starts it times out trying to connect to with ActiveMQ to an unknown host, "SHARE_PC". Why is it trying to connect to this host? "SHARE_PC" is an actual host on the network, but I don't know where or why the remote agent is using this hostname.

 

INFO | jvm 4 | 2025/05/07 12:48:30 | 2025-05-07 12:46:25,530 INFO [AgentRunnerThread] [lifecycle] *******************************
INFO | jvm 4 | 2025/05/07 12:48:30 | 2025-05-07 12:46:25,530 INFO [AgentRunnerThread] [lifecycle] * System information *
INFO | jvm 4 | 2025/05/07 12:48:30 | 2025-05-07 12:46:25,530 INFO [AgentRunnerThread] [lifecycle] *******************************
INFO | jvm 4 | 2025/05/07 12:48:30 | 2025-05-07 12:46:25,545 INFO [AgentRunnerThread] [lifecycle] com.atlassian.bamboo.configuration.SystemInfoImpl@36ecd419[
INFO | jvm 4 | 2025/05/07 12:48:30 | applicationHome=e:\CI_build_home\remote-agent-home
INFO | jvm 4 | 2025/05/07 12:48:30 | availableProcessors=6
INFO | jvm 4 | 2025/05/07 12:48:30 | buildWorkingDirectory=E:\CI_build_home\remote-agent-home\xml-data\build-dir
INFO | jvm 4 | 2025/05/07 12:48:30 | currentDate=Wed May 07 12:46:25 EDT 2025
INFO | jvm 4 | 2025/05/07 12:48:30 | currentDirectory=e:\CI_build_home\remote-agent-home\bin
INFO | jvm 4 | 2025/05/07 12:48:30 | freeDiskSpace=197943480
INFO | jvm 4 | 2025/05/07 12:48:30 | freeMemory=123
INFO | jvm 4 | 2025/05/07 12:48:30 | hostName=BUILD-SERVER
INFO | jvm 4 | 2025/05/07 12:48:30 | ipAddress=10.172.0.15
INFO | jvm 4 | 2025/05/07 12:48:30 | localHomeDirectory=e:\CI_build_home\remote-agent-home
INFO | jvm 4 | 2025/05/07 12:48:30 | operatingSystem=Windows 10 10.0
INFO | jvm 4 | 2025/05/07 12:48:30 | operatingSystemArchitecture=amd64
INFO | jvm 4 | 2025/05/07 12:48:30 | sharedHomeDirectory=e:\CI_build_home\remote-agent-home
INFO | jvm 4 | 2025/05/07 12:48:30 | splitHome=false
INFO | jvm 4 | 2025/05/07 12:48:30 | startupTimestamp=1746636385530
INFO | jvm 4 | 2025/05/07 12:48:30 | systemDate=Wednesday, 07 May 2025
INFO | jvm 4 | 2025/05/07 12:48:30 | systemEncoding=Cp1252
INFO | jvm 4 | 2025/05/07 12:48:30 | systemTime=12:46:25
INFO | jvm 4 | 2025/05/07 12:48:30 | tempDir=C:\Users\user\AppData\Local\Temp\
INFO | jvm 4 | 2025/05/07 12:48:30 | totalMemory=256
INFO | jvm 4 | 2025/05/07 12:48:30 | usedMemory=133
INFO | jvm 4 | 2025/05/07 12:48:30 | userHome=C:\Users\user
INFO | jvm 4 | 2025/05/07 12:48:30 | userLocale=English (United States)
INFO | jvm 4 | 2025/05/07 12:48:30 | userName=user
INFO | jvm 4 | 2025/05/07 12:48:30 | userTimezone=America/New_York
INFO | jvm 4 | 2025/05/07 12:48:30 | ]
INFO | jvm 4 | 2025/05/07 12:48:30 | 2025-05-07 12:46:25,577 INFO [AgentRunnerThread] [AgentRegistrationBean] Current agent remote definition: BUILD-SERVER Remote agent on host BUILD-SERVER
INFO | jvm 4 | 2025/05/07 12:48:30 | 2025-05-07 12:46:25,670 INFO [AgentRunnerThread] [PerforceManager] Could not find system variable. If you wish to use perforce please set the location as a capability.
INFO | jvm 4 | 2025/05/07 12:48:30 | 2025-05-07 12:46:27,155 INFO [AgentRunnerThread] [AgentRegistrationBean] Registering agent on the server,
INFO | jvm 4 | 2025/05/07 12:48:30 | 2025-05-07 12:46:27,311 WARN [ActiveMQ Task-1] [FailoverTransport] Failed to connect to [tcp://SHARE-PC:54663?wireFormat.maxInactivityDuration=300000] after: 1 attempt(s) with SHARE-PC, continuing to retry.

1 answer

0 votes
Shashank Kumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 8, 2025

Hello Glen,

Welcome to Atlassian community.

You can read https://confluence.atlassian.com/bamkb/troubleshooting-remote-agents-216957427.html this page which you give you understanding of how Bamboo Server and agent communicate.

From your Bamboo server in the bamboo home directory can you open the bamboo.cfg.xml file and check what is the value provided for the below param's

bamboo.jms.broker.client.uri

bamboo.jms.broker.uri

Possibly SHARE-PC is defined in bamboo.jms.broker.uri, you can replace this with IP or in the agent machine map the domain to this IP

Let me know if this helps!

Regards,

Shashank Kumar

**please don't forget to Accept the answer if your query was answered**

 

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events