-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
failed to connect: LDAP Result Code 200 \"Network Error\": dial tcp :389: connect: connection refused #3671
Comments
I have the same problem with the Docker container since the update to In my case, the error message is:
(I don't have the option Regardless of the I rolled back to container tag |
Same issue for me. LDAPS with port 636, no |
It seems our integrations tests do not cover different ssl option combinations… I will try to investigate, thank you all for reporting. For now, I’m thinking about returning deprecated methods. |
Ok, I found the problem, and it is with the scheme. Funny one. The fix will be in v2.41.1 |
Preflight Checklist
Version
v2.40.0 - v2.41.0 (master)
Storage Type
Postgres
Installation Type
Official container image
Expected Behavior
The LDAP connector should be able to connect to the LDAP in a cluster environment.
Actual Behavior
I use currently the latest image from master (last time built was last Friday) which includes many updates and changes as a preparation for the next release. I tried the image in a cluster setup and I ran into this issue:
After a closer look, it seems that the connector can't dial up the LDAP server.
An example of dex config:
The LDAP server is pingable from within the dex container.
I first suspected that it could have to do with replacing
Dial
withDialURL
. However, the documentation of the new method doesn't give me a clear hint of anything causing this behavior. I couldn't find something that could be the reason behind it in the release notes of other updated dependcies like gomplate.When switching to older dex versions, i.e. v2.38.0, the dex was then able to communicate with the LDAP!!
In short, it seems that the dex is not able to communicate with LDAP in a cluster setup in the first place. Are there new changes in the dex config that I need to consider in a cluster setup?
Steps To Reproduce
I also tried to reproduce it locally but I only got the same error when I turned off LDAP. Sending any request to dex even with wrong credentials would throw this:
Additional Information
No response
Configuration
No response
Logs
Turning on the debug didn't give more information.
The text was updated successfully, but these errors were encountered: