Timeout has expired for waiting for tunnel to instance

Still need help?

The Atlassian Community is here for you.

Ask the community

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

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles 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

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 Jan 29, 2025

Was this helpful?

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