DEVTEST-IAM Error: KC-SERVICES0055: Error when authenticating to LDAP: LDAP response read timed out
search cancel

DEVTEST-IAM Error: KC-SERVICES0055: Error when authenticating to LDAP: LDAP response read timed out

book

Article ID: 186422

calendar_today

Updated On:

Products

CA Cloud Test Mobile CA Application Test

Issue/Introduction

We are seeing issues with IAM when configuring LDAP.


2020-03-09 16:04:45,539 ERROR [org.keycloak.services] (default task-32) KC-SERVICES0055: Error when authenticating to LDAP: LDAP response read timed out, timeout used:-1ms.: javax.naming.NamingException: LDAP response read timed out, timeout used:-1ms.

        at com.sun.jndi.ldap.Connection.readReply(Connection.java:471)

        at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:365)

        at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:214)

        at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2791)

        at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:319)

       

        at org.jboss.as.naming.InitialContext.<init>(InitialContext.java:91)

        at org.jboss.as.naming.InitialContextFactory.getInitialContext(InitialContextFactory.java:43)

      

Environment

Release : 10.6

Component : CA Service Virtualization

Cause

The port used in Ldap configuration  was a secured (SSL) port.   LDAP  and not LDAPS

Resolution

When connecting to LDAP server, make sure you use the non-secure port.