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

javax/net/ssl/DTLS/ClientAuth.java faile with "Too much loops to produce handshake packets"

    Details

      Description

      Client: New handshake status is NEED_UNWRAP
      Exception in ClientCallable.call():
      java.lang.RuntimeException: Too much loops to produce handshake packets
      at DTLSOverDatagram.handshake(DTLSOverDatagram.java:154)
      at DTLSOverDatagram.doClientSide(DTLSOverDatagram.java:117)
      at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:685)
      at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:668)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1161)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at java.base/java.lang.Thread.run(Thread.java:844)
      Exception on client side:
      java.util.concurrent.ExecutionException: java.lang.RuntimeException: Too much loops to produce handshake packets
      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:606)
      at ClientAuth.main(ClientAuth.java:45)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:538)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.base/java.lang.Thread.run(Thread.java:844)
      Caused by: java.lang.RuntimeException: Too much loops to produce handshake packets
      at DTLSOverDatagram.handshake(DTLSOverDatagram.java:154)
      at DTLSOverDatagram.doClientSide(DTLSOverDatagram.java:117)
      at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:685)
      at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:668)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1161)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      ... 1 more
      Server: Warning: java.net.SocketTimeoutException: Receive timed out
      Server: Reproduced 0 packets
      Server: New handshake status is NEED_UNWRAP
      Server: Handshake finished, status is NEED_UNWRAP
      Server: Negotiated protocol is NONE
      Server: Negotiated cipher suite is SSL_NULL_WITH_NULL_NULL
      Exception in ServerCallable.call():
      java.lang.Exception: Unexpected handshake status NEED_UNWRAP
      at DTLSOverDatagram.handshake(DTLSOverDatagram.java:289)
      at DTLSOverDatagram.doServerSide(DTLSOverDatagram.java:98)
      at DTLSOverDatagram$ServerCallable.call(DTLSOverDatagram.java:647)
      at DTLSOverDatagram$ServerCallable.call(DTLSOverDatagram.java:630)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1161)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at java.base/java.lang.Thread.run(Thread.java:844)
      Exception on server side:
      java.util.concurrent.ExecutionException: java.lang.Exception: Unexpected handshake status NEED_UNWRAP
      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:616)
      at ClientAuth.main(ClientAuth.java:45)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:538)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.base/java.lang.Thread.run(Thread.java:844)
      Caused by: java.lang.Exception: Unexpected handshake status NEED_UNWRAP
      at DTLSOverDatagram.handshake(DTLSOverDatagram.java:289)
      at DTLSOverDatagram.doServerSide(DTLSOverDatagram.java:98)
      at DTLSOverDatagram$ServerCallable.call(DTLSOverDatagram.java:647)
      at DTLSOverDatagram$ServerCallable.call(DTLSOverDatagram.java:630)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1161)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      ... 1 more
      ----------System.err:(14/825)----------
      java.lang.RuntimeException: Test failed
      at DTLSOverDatagram.runTest(DTLSOverDatagram.java:625)
      at ClientAuth.main(ClientAuth.java:45)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:538)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.base/java.lang.Thread.run(Thread.java:844)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jjiang John Jiang
                Reporter:
                jjiang John Jiang
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: