[keycloak-user] Keycloak caching issue

Farzad Panahi farzad.panahi at gmail.com
Fri Jun 7 23:48:55 EDT 2019


Hi,

I have two  Keycloak nodes (4.8.3) in standalone cluster mode. I have a
load-balancer in front of them. I noticed that sometimes I am getting
inconsistent RPTs meaning that I send two queries and the two RPTs returned
have different granted permissions in them.

So I wend behind the load-balancer and queried each node individually. It
turns out that one of the nodes is always returning wrong set of
permissions in RPT.

If I go to the admin console and clear the realm cache, then both nodes
would return the same correct permissions right away.

This is so intermittent. I am not sure what is causing this. I cannot find
any clue in the logs. There is not much out there. I do not know how to
reproduce this.

Anyone with similar issue? Any suggestions?

Cheers

Farzad


More information about the keycloak-user mailing list