Timeout has expired for waiting for tunnel to instance
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
The elastic agents are not coming up and the Bamboo server logs register the following log message:
1
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:
Run the following from the Bamboo host:
telnet elastic-agent-ip-here 26224
nmap -p 26224 elastic-agent-ip-here
netstat -nat | grep LISTEN
Are there any security settings in EC2 that may have blocked that port?
Open the ports as needed depending on the output of the above.
Contact the Atlassian Support sharing your findings if this issue persists.
Was this helpful?