Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: read ECONNRESET #54

Open
yongyct opened this issue Feb 9, 2021 · 2 comments
Open

Error: read ECONNRESET #54

yongyct opened this issue Feb 9, 2021 · 2 comments

Comments

@yongyct
Copy link

yongyct commented Feb 9, 2021

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:
image

Upon inspecting closer, it seems like the LDAP session could be closed every few moments, based on this link: ldapjs/node-ldapjs#318 (comment). (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.

@codingchili
Copy link
Owner

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

@codingchili
Copy link
Owner

codingchili commented Feb 28, 2021

Ah, the release is not available yet because of outdated credentials in the build pipeline. I'll be back later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants