Random Login Timeout

Hello, i come here now to explain a sample unsatisified keycloak behaviour when i try to create an account or simply login.

First, i use keycloak 22.0.5 and runs in cluster mode with 2 nodes each of them communicating between them for replication. The cache is externalized in an infinispan cluster (distributed cache with 2 nodes by cache) version 15.0.4-Final-0.1

The problem is that : when i try to create an account on keycloak via a custom theme provider (so i put my username, birthdate, password etc…), sometimes it works fine, but sometimes i have an error message that tells : “max time to authenticate reached, process restarts to the beginning” and i’m redirect to the main login page.

Sometimes the poblem occurs when i simply try to authenticate myself, by setting only password and username.

I passed lot of time inspecting realm config in keycloak → realm Settings → Sessions
I found a parameter named “Login timeout”. It is set to 30 minutes. But when i decrease this parameter to, for example, let’s say 20 seconds, the same problem occured all the time. Setting it to 30 minutes the problem wometimes occurs, sometimes not

My question is that : Is keycloak can consider login timeout reached even if this is not the case ? Is possible there is a problem with externalized infinispan ?

Thanks a lot to all community