Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] SSL broken - NoSuchMethodError: sun.security.ssl.EngineInputRecord.decrypt

Sorry, I just joined the list so I can't post to the correct thread but I am getting the exact error as Arjan Peddemors.

After upgrading from Oracle Java version 1.7.0_10 to 1.7.0_17 on Debian 6 (Squeeze), SSL has stopped working with HTTPS requests simply hanging and the following exception is being thrown:

java.lang.NoSuchMethodError: sun.security.ssl.EngineInputRecord.decrypt(Lsun/security/ssl/CipherBox;Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
        at sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:957)
        at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:888)
        at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:762)
        at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
        at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.fill(SslConnection.java:487)


Sorry, my logs truncate stack traces at 5 level deep.


I am using an embedded Jetty server built with libraries from the Maven repositories -- both versions 9.0.0.v20130308 and 9.0.0.RC2 before that. I don't have any code to show at the moment but it appears that the Netty project also encountered this issue about a month ago: https://github.com/netty/netty/issues/1045


--
karl | karl@xxxxxxxxxxxxx | https://ostendorf.com/



Back to the top