[
https://issues.apache.org/jira/browse/IGNITE-20759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Daschinsky updated IGNITE-20759:
-------------------------------------
Description:
This issue is reproduced in {{GridTcpCommunicationSpiSslSelfTest}}. All tests
hangs during tcp handshake process in infinite loop in
{{org.apache.ignite.spi.communication.tcp.internal.TcpHandshakeExecutor#tcpHandshake}}.
Seems that fixes in IGNITE-16622 are not enough
The main reason of this behaviour --
https://bugs.openjdk.org/browse/JDK-8277307. Post handshake message seems to be
too large for being written in one step, but we don't try to resend the rest in
{{org.apache.ignite.internal.util.nio.GridNioServer.DirectNioClientWorker#processWriteSsl}}
since the ssl handshake is considered to be finished.
WA -- set {{-Djdk.tls.server.enableSessionTicketExtension=false}}
was:
This issue is reproduced in {{GridTcpCommunicationSpiSslSelfTest}}. All tests
hangs during tcp handshake process in infinite loop in
{{org.apache.ignite.spi.communication.tcp.internal.TcpHandshakeExecutor#tcpHandshake}}.
Seems that fixes in IGNITE-16622 are not enough
The main reason of this behaviour --
https://bugs.openjdk.org/browse/JDK-8277307. Post handshake message seems to be
too large for being written in one step, but we don't try to resend the rest in
{{org.apache.ignite.internal.util.nio.GridNioServer.DirectNioClientWorker#processWriteSsl}}
since the ssl handshake is considered to be finished.
WA -- set {{-Ddk.tls.server.enableSessionTicketExtension=false}}
> Tcp handshake in communication spi hangs on JDK 12 and later
> ------------------------------------------------------------
>
> Key: IGNITE-20759
> URL: https://issues.apache.org/jira/browse/IGNITE-20759
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 2.15
> Reporter: Ivan Daschinsky
> Assignee: Ivan Daschinsky
> Priority: Major
> Labels: ise
> Time Spent: 10m
> Remaining Estimate: 0h
>
> This issue is reproduced in {{GridTcpCommunicationSpiSslSelfTest}}. All tests
> hangs during tcp handshake process in infinite loop in
> {{org.apache.ignite.spi.communication.tcp.internal.TcpHandshakeExecutor#tcpHandshake}}.
> Seems that fixes in IGNITE-16622 are not enough
> The main reason of this behaviour --
> https://bugs.openjdk.org/browse/JDK-8277307. Post handshake message seems to
> be too large for being written in one step, but we don't try to resend the
> rest in
> {{org.apache.ignite.internal.util.nio.GridNioServer.DirectNioClientWorker#processWriteSsl}}
> since the ssl handshake is considered to be finished.
> WA -- set {{-Djdk.tls.server.enableSessionTicketExtension=false}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)