I'm using 2-factor authentication via Token as first authentication server. For authorisation I use a LDAP as secondary Server. This works pretty well most of the time but 1 out 5 times I have to following problem.
Normally its like that:
But sporadically its like that:
When I decrease the timeout to 10 seconds then it takes 10 seconds, so its exactly that timeout.
No I have no more ideas what could be causing that, I found out the following so far:
Would be great if someone has advice!
Sorry for the delay, I still couldnt find the reason for this. I made a workaround by decreasing the timeout value to 5 seconds. So after 5 seconds it works definitely. I still guess the reason most somewhere at the DNS Servers or maybe that one of them is not working properly and when the request reaches that one it failes.
To your questions: No I cannot replicate it on-demand. It just happens 1 out of 5 times or so.
The tcpdump didnt really help, I will make some further research when I find the time and let you know!