Hi,
I'm encountering a strange issue while running Keycloak on AWS ECS Fargate with LDAP federation configured in 'READ_ONLY' mode. Authentication works fine most of the time, but I'm intermittently seeing the following error. I'm using Keycloak version 25.0.6:
2024-09-23 09:36:59,306 ERROR [org.keycloak.storage.ldap.idm.store.ldap.LDAPOperationManager] (executor-thread-60) Could not query server using DN [ou=accounts,dc=example,dc=org] and filter [(&(cn=xxxx...@example.org)(objectclass=inetOrgPerson)(objectclass=organizationalPerson))]: javax.naming.CommunicationException: LDAP connection has been closed [Root exception is java.io.IOException: LDAP connection has been closed]; remaining name 'ou=accounts,dc=example,dc=org'
Since this error occurs randomly, it's been difficult to pinpoint the root cause. Can someone help me to find out the root cause of this issue?
Kind regards,
Prasanth Nair