SSH not working after Bitbucket Server upgrade

Still need help?

The Atlassian Community is here for you.

Ask the community


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( ~[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.

(info) This is likely located at JAVA_HOME/jre/lib/ext/bcprov-jdk*.jar

Last modified on Mar 30, 2016

Was this helpful?

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