Open yongyct opened 3 years ago
Hello,
Thanks for the links and the report.
I added the reconnect option and error handler and released 1.2.2.
Let me know if this fixes your issue, I don't have the time to test with a real AD right now.
The implementation is in src/authentication/ldap.js if you want to experiment on your own.
BR // Robin
Ah, the release is not available yet because of outdated credentials in the build pipeline. I'll be back later.
Hi,
Seems to be facing this intermittent issue, where the Kibana service stops every ~20mins.
My team is seeing the below logs when Kibana service faces an error:
Upon inspecting closer, it seems like the LDAP session could be closed every few moments, based on this link: https://github.com/ldapjs/node-ldapjs/issues/318#issuecomment-165769581. (it was mentioned that setting a "reconnect: true" option when creating the LDAP client could help address the issue).
Wanted to check if this item can be handled? Not sure if adding the "reconnect: true" option here helps: https://github.com/codingchili/kibana-mithril/blob/master/src/authentication/ldap.js#L62
Thanks.