-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
[1.1.0] Secure LDAP connection issues - Error: socket hang up - again #14707
Comments
This issue is probably related to nodejs/node#16196 |
The bug seems to exist since 1.0.0: #14354 |
@rodrigok not sure if you have seen this one or not |
It looks like the line from the old and merged PR #9343 got lost in the current code base, I can't find this code anywhere anymore and it looks like it's an important line to fix this issue:
Probably just putting these lines back in the correct file solves this issue, but as I'm not familiar with nodejs and the Rocket.Chat codebase I'm unable to contribute a PR. |
@rodrigok @geekgonecrazy can you provide an estimate on when this issue will be fixed? At the moment it's not possible to use the latest version of Rocket.Chat with a secure connection to LDAP. I think the file with the fix #9343 was moved (and changed) to /app/cors/server/cors.js |
@anothertobi You can use stunnel to securely connect to LDAP. Section RocketChat to configure LDAP, please use localhost to connect LDAP and insecure default settings. It will be safe :) |
@spanchy we are now using HAProxy (https://github.com/appuio/charts/tree/master/haproxy), but it would be nice to have this feature back in Rocket.Chat :) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Description:
The same issue as in #9316, which was fixed in #9343 appears again. No TLS connections to the LDAP server are possible anymore.
Steps to reproduce:
See #9316
Expected behavior:
TLS connections to the LDAP server
Actual behavior:
Server Setup Information:
Additional context
See #9316 and #9343.
Relevant logs:
Rocket.Chat: See above.
LDAP Server:
The text was updated successfully, but these errors were encountered: