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

com/sun/jndi/ldap/DeadSSLLdapTimeoutTest.java failed with "Read timed out"

    XMLWordPrintable

    Details

      Backports

        Description

        java.lang.RuntimeException: Test failed
        at DeadServerTimeoutSSLTest.fail(DeadSSLLdapTimeoutTest.java:94)
        at DeadServerTimeoutSSLTest.handleNamingException(DeadSSLLdapTimeoutTest.java:81)
        at DeadServerTimeoutSSLTest.call(DeadSSLLdapTimeoutTest.java:127)
        at DeadSSLLdapTimeoutTest.main(DeadSSLLdapTimeoutTest.java:201)
        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:564)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
        at java.base/java.lang.Thread.run(Thread.java:844)
        Caused by: javax.naming.CommunicationException: localhost:12092 [Root exception is javax.net.ssl.SSLException: Read timed out]
        at java.naming/com.sun.jndi.ldap.Connection.<init>(Connection.java:223)
        at java.naming/com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:137)
        at java.naming/com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1616)
        at java.naming/com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2752)
        at java.naming/com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:320)
        at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192)
        at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:210)
        at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:153)
        at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:83)
        at java.naming/javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:730)
        at java.naming/javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:305)
        at java.naming/javax.naming.InitialContext.init(InitialContext.java:236)
        at java.naming/javax.naming.InitialContext.<init>(InitialContext.java:208)
        at java.naming/javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:101)
        at DeadServerTimeoutSSLTest.call(DeadSSLLdapTimeoutTest.java:120)
        ... 7 more
        Caused by: javax.net.ssl.SSLException: Read timed out
        at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:124)
        at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:316)
        at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:259)
        at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:254)
        at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:133)
        at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:851)
        at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:796)
        at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:387)
        at java.naming/com.sun.jndi.ldap.Connection.createSocket(Connection.java:329)
        at java.naming/com.sun.jndi.ldap.Connection.<init>(Connection.java:202)
        ... 21 more
        Caused by: java.net.SocketTimeoutException: Read timed out
        at java.base/java.net.SocketInputStream.socketRead0(Native Method)
        at java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
        at java.base/java.net.SocketInputStream.read(SocketInputStream.java:171)
        at java.base/java.net.SocketInputStream.read(SocketInputStream.java:141)
        at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:473)
        at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160)
        at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:107)
        ... 26 more

          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

                  Created:
                  Updated:
                  Resolved: