SSH not working after Bitbucket Server upgrade

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

症状

SSH does not work and the following appears in atlassian-bitbucket.log:

2014-06-13 00:05:02,082 WARN [NioProcessor-6] o.a.m.c.f.DefaultIoFilterChain Unexpected exception from exceptionCaught handler. java.lang.IllegalStateException: No session available at org.apache.sshd.common.AbstractSessionIoHandler.exceptionCaught(AbstractSessionIoHandler.java:49) ~[bitbucket-ssh-2.12.3_1399867136000.jar:na] Caused by: java.lang.NoSuchMethodError: org.bouncycastle.asn1.ASN1InputStream.readObject()Lorg/bouncycastle/asn1/DERObject;
Caused by: java.lang.VerifyError: class org.bouncycastle.asn1.ASN1Primitive overrides final method equals.(Ljava/lang/Object;)Z

原因

There is incompatible version of Bouncy Castle in the JDK.

ソリューション

Search for the incompatible version of Bouncy Castle and remove it.

ℹ️ This is likely located at JAVA_HOME/jre/lib/ext/bcprov-jdk*.jar

更新日時: September 25, 2025

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。