Bamboo Data center throws error "We can't create the tunnel right now" when connecting with Jira Cloud
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
Summary
Bamboo Data Center is showing an error when trying to create an application tunnel with Jira Cloud: "We can't create the tunnel right now".
Environment
This only affects Bamboo Data Center running with:
Atlassian Secure Tunnel Plugin 2.0.0
The solution has been validated in Bamboo Data Center 9.6 but may be applicable to other versions.
Diagnosis
The <bamboo-home>/logs/atlassian-bamboo.log file contains the following error:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
2024-07-30 13:20:11,508 INFO [scheduler_Worker-1] [RemoteConnectionTester] Exception requesting status for remote host Jira (5f51b68d-80dd-325c-a0dc-e013b672f4fd) http://jira:8080 jira
com.atlassian.sal.api.net.ResponseException: java.net.SocketTimeoutException: Read timed out
at com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:122) ~[?:?]
at com.atlassian.plugins.rest.module.jersey.JerseyRequest.executeAndReturn(JerseyRequest.java:131) ~[?:?]
at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.executeAndReturn(ApplicationLinkRequestAdaptor.java:56) ~[?:?]
at com.atlassian.applinks.oauth.auth.OAuthRequest.executeAndReturn(OAuthRequest.java:84) ~[?:?]
at com.atlassian.applinks.core.auth.ApplicationLinkAnalyticsRequest.executeAndReturn(ApplicationLinkAnalyticsRequest.java:181) ~[?:?]
at com.atlassian.event.remote.impl.diagnostics.RemoteConnectionTester.sendAuthorizedRequest(RemoteConnectionTester.java:150) ~[?:?]
at com.atlassian.event.remote.impl.diagnostics.RemoteConnectionTester.getRemoteStatus(RemoteConnectionTester.java:105) ~[?:?]
at com.atlassian.event.remote.impl.diagnostics.DefaultRemoteEventConnectionStatus.getApplicationLinkStatus(DefaultRemoteEventConnectionStatus.java:160) ~[?:?]
at com.atlassian.event.remote.impl.diagnostics.DefaultRemoteEventConnectionStatus.getApplicationLinkStatus(DefaultRemoteEventConnectionStatus.java:143) ~[?:?]
at com.atlassian.event.remote.impl.diagnostics.DefaultRemoteEventConnectionStatus.access$000(DefaultRemoteEventConnectionStatus.java:41) ~[?:?]
at com.atlassian.event.remote.impl.diagnostics.DefaultRemoteEventConnectionStatus$1.load(DefaultRemoteEventConnectionStatus.java:79) ~[?:?]
at com.atlassian.event.remote.impl.diagnostics.DefaultRemoteEventConnectionStatus$1.load(DefaultRemoteEventConnectionStatus.java:76) ~[?:?]
at com.atlassian.cache.memory.MemoryCacheManager$2.load(MemoryCacheManager.java:205) ~[atlassian-cache-memory-6.1.0.jar:?]
at com.atlassian.cache.memory.DelegatingCache.lambda$get$0(DelegatingCache.java:165) ~[atlassian-cache-memory-6.1.0.jar:?]
at com.atlassian.cache.memory.DelegatingCache.lambda$get$1(DelegatingCache.java:193) ~[atlassian-cache-memory-6.1.0.jar:?]
...
Caused by: java.net.SocketTimeoutException: Read timed out
at sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:288) ~[?:?]
at sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:314) ~[?:?]
at sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:355) ~[?:?]
Upon verifying the version of the apps running in Bamboo, the Atlassian Secure Tunnel Plugin is on version 2.0.0.
Cause
The Atlassian Secure Tunnel Pluginplugin was manually downloaded and installed from Atlassian Marketplace page in version 2.0.0, which is not compatible with Bamboo. You can verify the version you have installed with these steps.
1
2
3
4
5
6
7
8
9
10
<plugin>
<key>com.atlassian.securetunnel.client.tunnel-client-plugin</key>
<name>Atlassian Secure Tunnel Plugin</name>
<version>2.0.0</version>
<vendor>Atlassian</vendor>
<status>ENABLED</status>
<vendor-url>https://www.atlassian.com/</vendor-url>
<framework-version>2</framework-version>
<bundled>User installed</bundled>
</plugin>
Solution
Uninstall the incompatible Atlassian Secure Tunnel Plugin 2.0.0 version
Manually download from the Atlassian Marketplace the Bamboo compatible version: Atlassian Secure Tunnel Plugin 1.2.0.
Manually Install an app from a file.
Was this helpful?