-
Bug
-
Resolution: Duplicate
-
P4
-
18, 19
-
x86_64
-
windows
log extract for failure
Client: =======handshake(179, NEED_UNWRAP_AGAIN)=======
Client: Receive DTLS records, handshake status is NEED_UNWRAP_AGAIN
Client: SSLEngineResult status OK
Client: Handshake status is FINISHED, finish the loop
Client: Handshake finished, status is NOT_HANDSHAKING
Client: Negotiated protocol is DTLSv1.2
Client: Negotiated cipher suite is TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
Client: SSLEngineResult status OK
Received application data
0000: 48 69 20 53 65 72 76 65 72 2c 20 49 27 6d 20 43 // Hi Server, I'm C
0010: 6c 69 65 6e 74 // lient
Exception in ClientCallable.call():
Server: SSLEngineResult status OK
java.net.SocketTimeoutException: Receive timed out
at java.base/sun.nio.ch.DatagramChannelImpl.trustedBlockingReceive(DatagramChannelImpl.java:703)
at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:633)
at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:240)
at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:701)
at DTLSOverDatagram.receiveAppData(DTLSOverDatagram.java:325)
at DTLSOverDatagram.doClientSide(DTLSOverDatagram.java:126)
at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:617)
at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:611)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Exception on client side:
java.util.concurrent.ExecutionException: java.net.SocketTimeoutException: Receive timed out
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
at DTLSOverDatagram.runTest(DTLSOverDatagram.java:560)
at PacketLossRetransmission.main(PacketLossRetransmission.java:90)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.net.SocketTimeoutException: Receive timed out
at java.base/sun.nio.ch.DatagramChannelImpl.trustedBlockingReceive(DatagramChannelImpl.java:703)
at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:633)
at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:240)
at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:701)
at DTLSOverDatagram.receiveAppData(DTLSOverDatagram.java:325)
at DTLSOverDatagram.doClientSide(DTLSOverDatagram.java:126)
at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:617)
at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:611)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
... 1 more
Client finished: Well done, server!
Client: =======handshake(179, NEED_UNWRAP_AGAIN)=======
Client: Receive DTLS records, handshake status is NEED_UNWRAP_AGAIN
Client: SSLEngineResult status OK
Client: Handshake status is FINISHED, finish the loop
Client: Handshake finished, status is NOT_HANDSHAKING
Client: Negotiated protocol is DTLSv1.2
Client: Negotiated cipher suite is TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
Client: SSLEngineResult status OK
Received application data
0000: 48 69 20 53 65 72 76 65 72 2c 20 49 27 6d 20 43 // Hi Server, I'm C
0010: 6c 69 65 6e 74 // lient
Exception in ClientCallable.call():
Server: SSLEngineResult status OK
java.net.SocketTimeoutException: Receive timed out
at java.base/sun.nio.ch.DatagramChannelImpl.trustedBlockingReceive(DatagramChannelImpl.java:703)
at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:633)
at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:240)
at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:701)
at DTLSOverDatagram.receiveAppData(DTLSOverDatagram.java:325)
at DTLSOverDatagram.doClientSide(DTLSOverDatagram.java:126)
at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:617)
at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:611)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Exception on client side:
java.util.concurrent.ExecutionException: java.net.SocketTimeoutException: Receive timed out
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
at DTLSOverDatagram.runTest(DTLSOverDatagram.java:560)
at PacketLossRetransmission.main(PacketLossRetransmission.java:90)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.net.SocketTimeoutException: Receive timed out
at java.base/sun.nio.ch.DatagramChannelImpl.trustedBlockingReceive(DatagramChannelImpl.java:703)
at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:633)
at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:240)
at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:701)
at DTLSOverDatagram.receiveAppData(DTLSOverDatagram.java:325)
at DTLSOverDatagram.doClientSide(DTLSOverDatagram.java:126)
at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:617)
at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:611)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
... 1 more
Client finished: Well done, server!
- duplicates
-
JDK-8297798 Timeout with DTLSOverDatagram test template
- Resolved