Hello Sakai Devs,
We are seeing some "SocketException(Connection reset)" errors on "ldap bind" when connecting to our ldap server when using the unbound library. I suspect they are caused by our ldap server having a short idle timeout setting and I don't think we can increase that timeout.
I compared the network traffic between unboundid and jldap and it seems like jldap starts a new connection for every request. But unboundid seems to reuse the connection. Maybe that's just the nature of unboundid's connection pool?
Anyway, I've been experimenting with unboundid's
setHealthCheck(LDAPConnectionPoolHealthCheck healthCheck)
setHealthCheckIntervalMillis(long healthCheckInterval)
Is that something worth starting a JIRA for? Or is there a better way to handle "SocketException(Connection reset)" errors?
connectionPool.setRetryFailedOperationsDueToInvalidConnections(true).
But it seems like this new error, which appears in the tomcat logs, but no users have complained about failing to login, happens intermittently even with that option enabled.
Thanks,
Austin