Keycloak fails to authenticate openid-connect token in cluster mode

I’m running two keycloak docker instances and configured cluster as specified here Docker Hub

I can able see logs related to clustering and two records in JGROUPSPING table. Also it works when authenticate(openid-connect) through Host1 and get access token/refresh token and able to retrieve new access_token using refresh token via Host2, which means I believe clustering setup is working.

But Im getting 401 error when I make API call to Host2 either using the access token I received from Host1 or access_token I got from Host1’s refresh token. It works only when I use access_token received from same host.

My understanding is that these access_tokens doesn’t related to cookie it should be working seamlessly. But it fails.