-
Notifications
You must be signed in to change notification settings - Fork 251
Strange error undefined method 'result_code'
#269
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
Comments
Hi there Will try to reproduce this with ruby-ldap. (I'm using ActiveLDAP) |
This error I also encounter it with ruby 2.1, but I'm unable to reproduce it with 2.3. |
Hello, I am also hit with this result_code nilClass bug, Could you please share how to propagate this error code to the application....Please let me know if you need more information. |
Hi, Searching in LDAP. undefined method |
Hi, I had the same exception and could reproduce it with with query / sleep 5 minutes / query again. I'm using OpenLDAP and figured out, that the idletimeout setting was the origin for the exception.
If the default setting is active, there are no exceptions. When the connection hits the defined limit, net-ldap will raise the exception within the next query. It seems that net-ldap is not recognizing the lost connection correctly. |
I'm experiencing the same exception:
In my case, I'm using OpenDJ behind the HAProxy load balancer and that error isn't raised when I connect my application on just one OpenDJ server. Are you using load balancer with the directory server too? |
In GitLab we're seeing an occasional error when we search for a group by CN. The stack is thrown deep within net/ldap. I'm still investigating to get more information from our side, but I'm posting the stack here in hopes it'll spark some thoughts on what might be causing this. The search filter only has a group base DN and group CN.
The text was updated successfully, but these errors were encountered: