Deploy 2 pods gateway api then got token expired error

186 views Asked by At

I deploy my gateway api on k8s, I sync token with spring session hazelcast. It's work fine until I scale replica to 2, hazelcast session cluster worked but when I login (with keycloak) and then when call API, some api get 500 internal error and gateway log error "Expired token". I don't understand why, because it's a new session in session cluster why it expired ?

0

There are 0 answers