Ldap connector DAP_TIMELIMIT_EXCEEDED
Daniel Fisher
dfisher at vt.edu
Thu Apr 11 14:43:00 EDT 2019
On Wed, Apr 10, 2019 at 11:16 AM cneberg <cneberg at gmail.com> wrote:
> >If you're seeing timeLimitExceeded then you're likely processing an empty
> result set. Check your logs to confirm.
>
> Yes, I believe that is what is happening. Since there was an error
> I'd like it to retry, preferably to a different ldap server in the
> list and if that fails - return an error to the user. If there
> is an ldap error I don't think it makes sense to treat it the same as
> the user not being in ldap.
>
A time limit exceeded result is not treated as an error on a search
operation. Whatever results are returned are processed. I'll file an issue
to look at that behavior. Whether or not it's an "error", it's probably
violating the principal of least surprise.
Retries are built around connection issues. The connection is closed,
reopened, and the operation is tried again. In the scenario you've
described you may reconnect to the "overburdened" directory again. There's
no strategy for guaranteeing it will try a specific host. I think
specifying a Failover connector is your best bet. That and fixing the
problematic directory.
--Daniel Fisher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20190411/f9b40623/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6317 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://shibboleth.net/pipermail/users/attachments/20190411/f9b40623/attachment.p7s>
More information about the users
mailing list