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

ETIMEDOUT Error #43

Closed
whittssg opened this issue May 16, 2016 · 1 comment
Closed

ETIMEDOUT Error #43

whittssg opened this issue May 16, 2016 · 1 comment

Comments

@whittssg
Copy link

whittssg commented May 16, 2016

Hello, I just implemented this into my node app. It all seems to work fine for a while but then all of a sudden i get:

Error: connect ETIMEDOUT (IP of the LDAP server)

at Objects.exports._errnoException (util.js:874:11)

I also tried using just the LDAP fork that this uses and i eventually get the same error.

I have to wait a while and then it starts working again.

I have another project where i didnt use ldapauth that authenticates against the same server and that doesnt have these issues.

Thanks

EDIT.. I used edge for node (C# in node) in the end to do LDAP auth and it doesnt have the ETIMEDOUT issue.. So i am not sure if its an issue with this library or an issue with our LDAP server and this libary.

@vesse
Copy link
Owner

vesse commented Aug 22, 2016

This library opens new connections on every authentication request (new ldapauth-fork instance) so I don't know how timeouts could be the library's fault. If you use ldapauth-fork directly then you would reuse the ldapjs clients and there is an open issue vesse/node-ldapauth-fork#23 related to connections dying.

@vesse vesse closed this as completed Jan 2, 2017
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