Elastic Agent status stuck in Pending

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

When starting up an elastic agent, the elastic instance starts up but the agent gets stuck in the "Pending" state.

The following appears in bamboo-elastic-agent.out

1 2 3 4 5 6 7 8 2016-06-21 13:08:19,330 INFO [main] [RetryExec] I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {}->httpt://127.0.0.1:46593: The target server failed to respond 2016-06-21 13:08:19,330 INFO [main] [RetryExec] Retrying request to {}->httpt://127.0.0.1:46593 2016-06-21 13:08:19,331 INFO [tunnelserver:26224-1-thread-5] [LocalAcceptor] Accepted a local connection on port 46593, tunnel age: 23s 2016-06-21 13:08:52,117 INFO [main] [RetryExec] I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {}->httpt://127.0.0.1:46593: The target server failed to respond 2016-06-21 13:08:52,117 INFO [main] [RetryExec] Retrying request to {}->httpt://127.0.0.1:46593 2016-06-21 13:08:52,119 INFO [tunnelserver:26224-1-thread-3] [LocalAcceptor] Accepted a local connection on port 46593, tunnel age: 32s Exiting due to fatal exception. org.apache.http.NoHttpResponseException: 127.0.0.1:46593 failed to respond

Cause

The Bamboo Server is not able to resolve the hostname used in the base URL.

Resolution

Ensure that the Bamboo server is able to resolve the hostname used in the base URL.

If the base URL points to the reverse proxy, ensure that the Bamboo server has access to the reverse proxy.

Please visit Bamboo Elastic Agents remain in a Pending state and don't connect to the Server for an alternative solution

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.