[ 
https://issues.apache.org/jira/browse/DIRAPI-339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16828804#comment-16828804
 ] 

Stefan Seelmann commented on DIRAPI-339:
----------------------------------------

Did some more changes:
* Moved the ldaps:// handling block down so that connection errors (unkown 
host, connection refused) are handled properly
* Throw timeout error if timeout occurs
* Code change: 
https://github.com/apache/directory-ldap-api/commit/c6989f3c2289477d26445f5a26268e200c502909
* Tests: 
https://github.com/apache/directory-server/commit/3b74a941103e775f758b0592f9d07792f26ff1dd
[~elecharny] Please review my change, especially moving the SSL handling code


> NPE - RR_04122_SSL_CONTEXT_INIT_FAILURE
> ---------------------------------------
>
>                 Key: DIRAPI-339
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-339
>             Project: Directory Client API
>          Issue Type: Bug
>         Environment: Apache Guacamole Tomcat .WAR Servlet attempts to 
> authenticate with Windows AD 2016 Active Directory LDAP services.
>            Reporter: Michael Barkdoll
>            Assignee: Emmanuel Lecharny
>            Priority: Major
>         Attachments: error6.txt
>
>
> I'm experiencing a Null Pointer Exception (NPE) from the Apache LDAP API.  
> I've tried using the latest code in the github repo [1] and the issue is 
> still present.
> Essentially, users are most the time able to authenticate, but some rare 
> times (1 in 20 to 50 times) this error shows up in the logs and the user has 
> to refresh the page and attempt to log in a second time.
> [1] https://github.com/apache/directory-ldap-api



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to