0

Getting repeatedly this error in Keycloak logs.

Attached below are the logs for reference:

The said client scope is not found if I try to search the same under Keycloak admin console too.

2022-09-22 04:04:12,718 ERROR [org.key.ser.err.KeycloakErrorHandler] (executor-thread-610) Uncaught server error: java.lang.IllegalStateException: Cached clientScope not found: 1e84ef04-9ef9-44fe-b1bd-f45e6d4 at org.keycloak.models.cache.infinispan.RealmAdapter.lambda$getClientScopesStream$3(RealmAdapter.java:1495) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1632) at

Steps to recreate:

  1. Create client scope and attached to a client
  2. Remove client scope attached with a client
  3. Delete client scope

On the occurrence of this issue, I see well-known and many other endpoints to start giving 500 as they seem to be fetching cached scoped and doing certain validation

Any configuration miss that needs to be considered?

rshah
  • 1
  • 1

0 Answers0