Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-7513

LDAP connector cryptic errors

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.4
    • Fix Version/s: None
    • Component/s: Connectors
    • Labels:
    • Subscription:
      Active subscription
    • Backport Version:

      Description

      LDAP connector now throws cryptic error like

      org.identityconnectors.framework.common.exceptions.ConnectorIOException: Error reading LDAP entry for UID Attribute: {Name=_UID_, Value=[b1819a0c-beaa11ea-80ffa58a-9f29bff5], NameHint=Attribute: {Name=_NAME_, Value=[SOME_DN]}}: ERR_04170_TIMEOUT_OCCURED TimeOut occurred 

      which seems to be server or network error. However it looks like this error is caused by timeouts set in resource/connectorConfiguration, e.g.:

      <icfcldap:timeout>5000</icfcldap:timeout>
      <icfcldap:connectTimeout>500</icfcldap:connectTimeout>
      <icfcldap:writeOperationTimeout>5000</icfcldap:writeOperationTimeout>
      <icfcldap:readOperationTimeout>5000</icfcldap:readOperationTimeout>
      <icfcldap:closeTimeout>500</icfcldap:closeTimeout>
      <icfcldap:sendTimeout>500</icfcldap:sendTimeout>
      <icfcldap:tcpKeepAlive>true</icfcldap:tcpKeepAlive>

      Could connector rather wrap that cryptic error message also with something like "send timeout was reached (set to 500), details: whatever_cryptic_info_sent_earlier" to avoid looking for causes on network or server side.

       

      Another related: if TIMEOUT occurs, maybe connector doesn't have to throw such connector exception that it throws resource state to "down"?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              semancik Radovan Semancik
              Reporter:
              lazyman Viliam Repan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: