An LDAP synchronization fails to complete with the error, "LDAP response read timed out, timeout used:-1ms".

An LDAP synchronization fails to complete with the error, "LDAP response read timed out, timeout used:-1ms".

book

Article ID: KB0082506

calendar_today

Updated On:

Products Versions
Spotfire Server All Versions

Description

An LDAP synchronization fails to complete with the error, "LDAP response read timed out, timeout used:-1ms".

The following error is seen in the server.log.

[*LdapSynchronizer.RestartRunnable*] server.ldap.WrappedLdapContext: Error performing LDAP search operation, giving up since the error is permanentjavax.naming.NamingException: LDAP response read timed out, timeout used:-1ms
In the TIBCO Spotfire Server Configuration Tool > "Configuration" tab > "User Directory: LDAP" page, clicking the "Test Connection" button will attempt a connection to the resolved directory servers and will hang on one unresponsive server.
LDAP Server Connection Test
ldap://myDomain.com:3268
    Parsing URL ... OK!
    Testing connection to resolved IP addresses:
    ldap://123.123.123.123:3268 ... OK!
    ldap://123.123.123.124:3268 ... OK!
    ldap://123.123.123.125:3268 ...

Cause:
The TIBCO Spotfire Server LDAP configuration has the top level domain (for example: ldap://myDomain.com:3268) defined in the "LDAP server URL" setting and one of the resolved directory servers is unresponsive (ldap://123.123.123.125:3268 in the above example).

Issue/Introduction

An LDAP synchronization fails to complete with the error, "LDAP response read timed out, timeout used:-1ms".

Resolution

  1. In the TIBCO Spotfire Server LDAP configuration tool, remove the top level domain from the "LDAP server URL" setting and replace it with one or more of the directory servers which were available in testing connection (for example: ldap://123.123.123.123:3268 and/or ldap://123.123.123.124:3268).
  2. Click "Save Configuration" and save the configuration to the database.
  3. Restart the TIBCO Spotfire Server service.

Additional Information

Doc: Configuring LDAP: