Timeout has expired for waiting for tunnel to instance

Still need help?

The Atlassian Community is here for you.

Ask the community


Problem

The elastic agents are not coming up and the Bamboo server logs register the following log message:

Timeout has expired for waiting for tunnel to instance [i-HASH], terminating [Tunnel ##.##.##.##:1234 - (##.##.##.##:26224) - 0.0.0.0:54663] Error: Connection refused

Resolution

Make sure the tunnel port 26224 is open and accessible.

Troubleshooting steps:

  1. Run the following from the Bamboo host:

    1. telnet elastic-agent-ip-here 26224

    2. nmap -p 26224 elastic-agent-ip-here

    3. netstat -nat | grep LISTEN

  2. Are there any security settings in EC2 that may have blocked that port?
  3. Open the ports as needed depending on the output of the above.
  4. Contact the Atlassian Support sharing your findings if this issue persists.

Last modified on Nov 30, 2017

Was this helpful?

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