"Interrupted while waiting for the connection pool lock" error when creating new users in the Red Hat Single Sign-On Operator

Solution Verified - Updated -

Issue

We are experiencing issues with the Red Hat SSO operator when creating new functional users. In the logs, it's possible to notice the following messages:

Uncaught server error: org.keycloak.models.ModelException: LDAP Query failed

...

Caused by: org.keycloak.models.ModelException: Querying of LDAP failed org.keycloak.storage.ldap.idm.query.internal.LDAPQuery@29260ade
    at org.keycloak.keycloak-ldap-federation@15.0.8.redhat-00001//org.keycloak.storage.ldap.idm.store.ldap.LDAPIdentityStore.fetchQueryResults(LDAPIdentityStore.java:289)
    at org.keycloak.keycloak-ldap-federation@15.0.8.redhat-00001//org.keycloak.storage.ldap.idm.query.internal.LDAPQuery.getResultList(LDAPQuery.java:172)
    ... 98 more
Caused by: javax.naming.InterruptedNamingException: Interrupted while waiting for the connection pool lock

...

    at org.keycloak.keycloak-ldap-federation@15.0.8.redhat-00001//org.keycloak.storage.ldap.idm.store.ldap.LDAPIdentityStore.fetchQueryResults(LDAPIdentityStore.java:279)
    ... 99 more

Environment

  • Red Hat Single Sign-On
    • 7.X
  • Red Hat OpenShift Container Platform
    • 4.X

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content