Elastic Agent status stuck in Pending

Still need help?

The Atlassian Community is here for you.

Ask the community

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

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.

(plus) Please visit Elastic agents remain in Pending and do not connect for an alternative solution


Last modified on May 18, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.