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

Server crashes with unhandled ECONNRESET error #9

Open
marohrdanz opened this issue Feb 26, 2024 · 1 comment
Open

Server crashes with unhandled ECONNRESET error #9

marohrdanz opened this issue Feb 26, 2024 · 1 comment
Assignees

Comments

@marohrdanz
Copy link

The server regularly crashes with an unhandled error event. This error stems from the ldapauth-fork dependency: vesse/node-ldapauth-fork#23.

@marohrdanz marohrdanz self-assigned this Feb 26, 2024
marohrdanz added a commit that referenced this issue Feb 28, 2024
This is to address the ECONNRESET issue from ldapauth-fork. This
solution is to bind and unbind from the ldap server for each
authentication. Note: the /verify endpoint does NOT require any
connection to ldap, only the /authenticate endpoint.

Addresses issue #9
@marohrdanz marohrdanz added this to the v1.3.0 milestone Mar 7, 2024
@marohrdanz marohrdanz reopened this May 3, 2024
@marohrdanz
Copy link
Author

Binding and unbinding each authenticate does not resolve this issue. In practice, we simply set the restart policy to 'always'.

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

1 participant