Returns login page continuously on login.

I have created a cluster k8s and deployed keyloak server with replication of 2, keyloak connects to postgres to store user, client…
And all is well until I login, it returns login page continuously even though the code is 200.
I looked at the logs and got this warning:
" 2023-02-09 10:37:38,729 WARN [] (executor-thread-5) type=LOGIN_ERROR, realmId=master, clientId=null, userId=null, ipAddress=, error= expired_code, restart_after_timeout=true, authSessionParentId=5179ae19-c8b0-4059-9037-3e1b0b396929, authSessionTabId=p5GiZBA7Z58"

Please someone help me, I fixed it 2 days ago.