elecharny commented on PR #55:
URL: https://github.com/apache/directory-server/pull/55#issuecomment-1506606957

   Wow, not very helpful stack trace :/
   The code is:
   
   `            boolean isSecured = handshakeFuture.get( connectTimeout, 
TimeUnit.MILLISECONDS );
   
               if ( !isSecured )
               {
                   // check for a specific cause
                   Throwable cause = connectionFuture.getException();
                   
                   if ( cause == null && connectionFuture.getSession() != null )
                   {
                       cause = ( Throwable ) 
connectionFuture.getSession().getAttribute( EXCEPTION_KEY );
                   }
                   
                   // Cancel the latch
                   connectionCloseFuture.complete( 0 );
   
                   // if there is no cause assume timeout
                   if ( cause == null )
                   {
                       throw new LdapException( TIME_OUT_ERROR );
                   }
   
                   throw new LdapTlsHandshakeException( I18n.err( 
I18n.ERR_04120_TLS_HANDSHAKE_ERROR ), cause );
               }
   `
   We have to find out what 'cause' is, and that requires some modification in 
the LDAP API. Working on that.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to