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

javax/net/ssl/TLS/TestJSSE.java fails intermittently: Unsupported or unrecognized SSL message

XMLWordPrintable

      javax/net/ssl/TLS/TestJSSE.java fails intermittently:

      --- SSL Socket Info ---
       SupportedProtocols : 5 : SSLv2Hello,SSLv3,TLSv1,TLSv1.1,TLSv1.2,
       EnabledProtocols : TLSv1
       SupportedCipherSuites : 1 : SSL_RSA_WITH_RC4_128_MD5,
       EnabledCipherSuites : SSL_RSA_WITH_RC4_128_MD5
       NeedClientAuth : false
       WantClientAuth : false
      -----------------------
      ERROR in server Trust manger
      Got IOException:
      Got IOException:

      --- Response ---
      HTTP/1.0 200 OK

      Tested Scenario: SSL_RSA_WITH_RC4_128_MD5 in SSLv3,TLSv1 mode Test PASSED.
      ----------------
      Passed SSL_RSA_WITH_RC4_128_MD5 in TLSv1 mode
      ----------System.err:(43/3034)----------
      javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
      at sun.security.ssl.SSLSocketInputRecord.handleUnknownRecord(SSLSocketInputRecord.java:416)
      at sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:173)
      at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1012)
      at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:966)
      at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1381)
      at sun.security.ssl.SSLSocketImpl.bytesInCompletePacket(SSLSocketImpl.java:900)
      at sun.security.ssl.AppInputStream.read(AppInputStream.java:144)
      at sun.security.ssl.AppInputStream.read(AppInputStream.java:84)
      at CipherTestUtils$Server.handleRequest(CipherTestUtils.java:210)
      at JSSEServer.run(JSSEServer.java:66)
      at java.lang.Thread.run(Thread.java:804)
      javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
      at sun.security.ssl.SSLSocketInputRecord.handleUnknownRecord(SSLSocketInputRecord.java:416)
      at sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:173)
      at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1012)
      at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:966)
      at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1381)
      at sun.security.ssl.SSLSocketImpl.bytesInCompletePacket(SSLSocketImpl.java:900)
      at sun.security.ssl.AppInputStream.read(AppInputStream.java:144)
      at sun.security.ssl.AppInputStream.read(AppInputStream.java:84)
      at CipherTestUtils$Server.handleRequest(CipherTestUtils.java:210)
      at JSSEServer.run(JSSEServer.java:66)
      at java.lang.Thread.run(Thread.java:804)
      java.lang.RuntimeException: java.lang.RuntimeException: FAILED: got unexpected exception: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
      at TestJSSE.client(TestJSSE.java:120)
      at TestJSSE.main(TestJSSE.java:101)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:520)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:804)
      Caused by: java.lang.RuntimeException: FAILED: got unexpected exception: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
      at CipherTestUtils.checkResult(CipherTestUtils.java:364)
      at CipherTestUtils.main(CipherTestUtils.java:549)
      at TestJSSE.client(TestJSSE.java:115)
      ... 7 more

            asmotrak Artem Smotrakov
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: