directory-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@apache.org>
Subject Re: NPE in ERR_04122_SSL_CONTEXT_INIT_FAILURE Failed to initialize the SSL context
Date Fri, 26 Apr 2019 05:09:02 GMT
Hi!

Le ven. 26 avr. 2019 à 02:40, Michael Barkdoll <mabarkdoll@gmail.com> a
écrit :

> Hopefully, I'm now posting this issue to the correct mailing list.  I
> previously sent this information to the dev@directory.apache.org list
> without a better understanding of the mailing list structure.
>
> I'm getting a Null Pointer Exception (NPE) in my Apache Guacamole Docker
> Container upon ldap authentication attempt maybe in 1 in 20 attempts, the
> project's PR [1] which I've built using github repo [2] which git clones
> the latest directory ldap api from their github repo [3].  Mina should be
> version 2.1.2, since the pom.xml [4] references 2.0.0.AM3-SNAPSHOT from the
> local m2 repo.  Here is what I see in the logs for the NPE:
>
> ERR_04122_SSL_CONTEXT_INIT_FAILURE Failed to initialize the SSL context
>
> java.lang.NullPointerException: null
> at
>
> org.apache.directory.ldap.client.api.LdapNetworkConnection.connect(LdapNetworkConnection.java:689)


It seems, from the code, that the connection times out. The NPE is
infortunate -and we will fix it- but it’s just masking the real cause: the
handshake never ends.

What is the scenario you are running?



>
> You can see complete output of the error log at:
> [5] [6] [7]
>
> Please let me know, if I can provide additional information, thank you for
> your help.
>
> [1] https://github.com/apache/guacamole-client/pull/345
> [2] https://github.com/michaelbarkdoll/guacamole-client/tree/jira/234
> [3] https://github.com/apache/directory-ldap-api
> [4]
>
> https://github.com/michaelbarkdoll/guacamole-client/blob/jira/234/extensions/guacamole-auth-ldap/pom.xml
>
> Error logs:
> [5] https://github.com/apache/guacamole-client/files/3115534/error2.txt
> [6] https://github.com/apache/guacamole-client/files/3115581/error3.txt
> [7] https://github.com/apache/guacamole-client/files/3115614/error4.txt
>
> Michael Barkdoll
>
-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message