ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

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

book

Article ID: 186422

calendar_today

Updated On:

Products

CLOUDTEST CA Application Test CA Cloud Test Mobile MOBILECLOUD Service Virtualization

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)

      

Cause

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

Environment

Release : 10.6

Component : CA Service Virtualization

Resolution

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