Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] Jetty 9.3.6 SSL Connector not working on Jdk 1.8.0_74 / linux 2.6.32

Are you using the alpn-boot.jar ? or have HTTP/2 enabled?

Joakim Erdfelt / joakim@xxxxxxxxxxx

On Mon, Feb 8, 2016 at 6:32 AM, Michele Rossi <michele.rossi@xxxxxxxxx> wrote:
hi,

I am unable to run Jetty 9.3.6 on the latest JDK 1.8.0_74 on Linux "2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux".

The handshake phase of the TLS/SSL connection fails and the browser (Chrome) produces a ERR_TIMED_OUT error.

This is what I found in the logs:

14:09:37.259|DEBUG|e.j.u.s.SslContextFactory|| SNI matched MYHOST->X509@1b5c3e5f(1,h=[MYDOMAIN],w=[MYDOMAIN])
14:09:37.260|WARN |.e.j.u.t.QueuedThreadPool|| 
java.lang.NoSuchMethodError: sun.security.ssl.SignatureAndHashAlgorithm.getSupportedAlgorithms(Ljava/util/Collection;)Ljava/util/Collection;
at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:706) ~[na:na]
at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:225) ~[na:na]
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979) ~[na:na]
at sun.security.ssl.Handshaker$1.run(Handshaker.java:919) ~[na:na]
at sun.security.ssl.Handshaker$1.run(Handshaker.java:916) ~[na:na]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_74]
at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1369) ~[na:na]
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.fill(SslConnection.java:613) ~[jetty-io-9.3.6.v20151106.jar:9.3.6.v20151106]
at org.eclipse.jetty.server.NegotiatingServerConnection.fill(NegotiatingServerConnection.java:153) ~[jetty-server-9.3.6.v20151106.jar:9.3.6.v20151106]
at org.eclipse.jetty.server.NegotiatingServerConnection.onFillable(NegotiatingServerConnection.java:98) ~[jetty-server-9.3.6.v20151106.jar:9.3.6.v20151106]
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261) ~[jetty-io-9.3.6.v20151106.jar:9.3.6.v20151106]
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) ~[jetty-io-9.3.6.v20151106.jar:9.3.6.v20151106]
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:192) ~[jetty-io-9.3.6.v20151106.jar:9.3.6.v20151106]
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261) ~[jetty-io-9.3.6.v20151106.jar:9.3.6.v20151106]
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) ~[jetty-io-9.3.6.v20151106.jar:9.3.6.v20151106]
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75) ~[jetty-io-9.3.6.v20151106.jar:9.3.6.v20151106]
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213) ~[jetty-util-9.3.6.v20151106.jar:9.3.6.v20151106]
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147) ~[jetty-util-9.3.6.v20151106.jar:9.3.6.v20151106]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654) ~[jetty-util-9.3.6.v20151106.jar:9.3.6.v20151106]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572) ~[jetty-util-9.3.6.v20151106.jar:9.3.6.v20151106]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_74]

Followed by 

14:09:37.260|WARN |.e.j.u.t.QueuedThreadPool|| Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$3@31930127 in qtp1262822392{STARTED,10<=10<=200,i=7,q=0}


This does not occur on Windows and it doesn't occur when switching the JDK back to 1.8.0_66.

I can get you guys better logs if you think it could help.

To my jetty-codebase untrained eye it seems that "getSupportedAlgorithms" on sun.security.ssl.SignatureAndHashAlgorithm is no longer available :)

Is this fixed in a later version of Jetty (9.3.7.RC1?) ?

thanks,
Michele



_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-dev


Back to the top