Elastic Agent status stuck in Pending
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.
Please visit Bamboo Elastic Agents remain in a Pending state and don't connect to the Server for an alternative solution