Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29714

Fix LDAP query timeout property not taken into account for the user directory

    Details

      Description

      The LDAP default configuration doesn't take into account the nuxeo.ldap.query.timeLimit property for the queryTimeLimit parameter of the ldapUserDirectory directoy.

      Indeed, traces such as the one below have been observed:

      2020-09-25T22:50:10,551 ERROR [http-nio-0.0.0.0-8080-exec-3] [nuxeo-error-log] org.nuxeo.ecm.directory.DirectoryException: getEntry failed: LDAP response read timed out, timeout used:-1ms.
              at org.nuxeo.ecm.directory.ldap.LDAPSession.getEntryFromSource(LDAPSession.java:434)
      ...
      Caused by: javax.naming.NamingException: LDAP response read timed out, timeout used:-1ms.; remaining name 'dc=engees,dc=fr'
      

      while the nuxeo.ldap.query.timeLimit property was set to 1s in nuxeo.conf.

      See NXP-14413 and the the original commit.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.