Bamboo Data center throws error "We can't create the tunnel right now" when connecting with Jira Cloud
プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。
このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
要約
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".
環境
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.
診断
The <bamboo-home>/logs/atlassian-bamboo.log file contains the following error:
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.
原因
The Atlassian Secure Tunnel Plugin plugin 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.
<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>
ソリューション
- 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.