[ 
https://issues.apache.org/jira/browse/IGNITE-9781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aleksey Plekhanov updated IGNITE-9781:
--------------------------------------
    Fix Version/s:     (was: 2.9)

> JDK11: SSL handshake is failed
> ------------------------------
>
>                 Key: IGNITE-9781
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9781
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.6
>         Environment: JDK11
>            Reporter: Taras Ledkov
>            Priority: Major
>              Labels: jdk11
>
> The problem is reproduced on JDK11 by the test 
> {{GridNioSslSelfTest.testSimpleMessages}}
> Error on the Ignite node
> {code}
> [2018-10-03 14:35:08,033][ERROR][grid-nio-worker-0-#42%nio-test-grid%][root] 
> Closing NIO session because of unhandled exception.
> class org.apache.ignite.internal.util.nio.GridNioException: No value present
>       at 
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeysOptimized(GridNioServer.java:2412)
>       at 
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:2153)
>       at 
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1797)
>       at 
> org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
>       at java.base/java.lang.Thread.run(Thread.java:834)
> Caused by: java.util.NoSuchElementException: No value present
>       at java.base/java.util.Optional.get(Optional.java:148)
>       at 
> java.base/sun.security.ssl.ServerHello$T13ServerHelloProducer.produce(ServerHello.java:551)
>       at 
> java.base/sun.security.ssl.SSLHandshake.produce(SSLHandshake.java:436)
>       at 
> java.base/sun.security.ssl.ClientHello$T13ClientHelloConsumer.goServerHello(ClientHello.java:1189)
>       at 
> java.base/sun.security.ssl.ClientHello$T13ClientHelloConsumer.consume(ClientHello.java:1125)
>       at 
> java.base/sun.security.ssl.ClientHello$ClientHelloConsumer.onClientHello(ClientHello.java:831)
>       at 
> java.base/sun.security.ssl.ClientHello$ClientHelloConsumer.consume(ClientHello.java:792)
>       at 
> java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392)
>       at 
> java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:444)
>       at 
> java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1065)
>       at 
> java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1052)
>       at java.base/java.security.AccessController.doPrivileged(Native Method)
>       at 
> java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask.run(SSLEngineImpl.java:999)
>       at 
> org.apache.ignite.internal.util.nio.ssl.GridNioSslHandler.runTasks(GridNioSslHandler.java:624)
>       at 
> org.apache.ignite.internal.util.nio.ssl.GridNioSslHandler.handshake(GridNioSslHandler.java:243)
>       at 
> org.apache.ignite.internal.util.nio.ssl.GridNioSslHandler.messageReceived(GridNioSslHandler.java:321)
>       at 
> org.apache.ignite.internal.util.nio.ssl.GridNioSslFilter.onMessageReceived(GridNioSslFilter.java:330)
>       at 
> org.apache.ignite.internal.util.nio.GridNioFilterAdapter.proceedMessageReceived(GridNioFilterAdapter.java:109)
>       at 
> org.apache.ignite.internal.util.nio.GridNioServer$HeadFilter.onMessageReceived(GridNioServer.java:3547)
>       at 
> org.apache.ignite.internal.util.nio.GridNioFilterChain.onMessageReceived(GridNioFilterChain.java:175)
>       at 
> org.apache.ignite.internal.util.nio.GridNioServer$ByteBufferNioClientWorker.processRead(GridNioServer.java:1132)
>       at 
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeysOptimized(GridNioServer.java:2386)
>       ... 4 more
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to