Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8269887

javax/net/ssl/DTLS/PacketLossRetransmission.java failed: SocketTimeoutException: Receive timed out

XMLWordPrintable

      Client: Handshake finished, status is NEED_UNWRAP_AGAIN
      Exception in ClientCallable.call():
      java.lang.Exception: Handshake finished, but handshake session is not null
      at DTLSOverDatagram.handshake(DTLSOverDatagram.java:253)
      at DTLSOverDatagram.doClientSide(DTLSOverDatagram.java:120)
      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.lang.Exception: Handshake finished, but handshake session is not null
      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.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      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.lang.Exception: Handshake finished, but handshake session is not null
      at DTLSOverDatagram.handshake(DTLSOverDatagram.java:253)
      at DTLSOverDatagram.doClientSide(DTLSOverDatagram.java:120)
      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
      Exception on server 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:570)
      at PacketLossRetransmission.main(PacketLossRetransmission.java:90)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      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:700)
      at DTLSOverDatagram.receiveAppData(DTLSOverDatagram.java:325)
      at DTLSOverDatagram.doServerSide(DTLSOverDatagram.java:103)
      at DTLSOverDatagram$ServerCallable.call(DTLSOverDatagram.java:590)
      at DTLSOverDatagram$ServerCallable.call(DTLSOverDatagram.java:584)
      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

            rhalade Rajan Halade
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: