[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jetty-users] SSL broken - NoSuchMethodError: sun.security.ssl.EngineInputRecord.decrypt
|
Karl,
On Wed, Mar 13, 2013 at 1:54 PM, Karl Ostendorf <karl@xxxxxxxxxxxxx> wrote:
> 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
>
See http://www.eclipse.org/jetty/documentation/current/npn-chapter.html#npn-versions.
Match the NPN boot jar version with the JDK version you're using.
--
Simone Bordet
----
http://cometd.org
http://webtide.com
http://intalio.com
Developer advice, training, services and support
from the Jetty & CometD experts.
Intalio, the modern way to build business applications.