Hi!
I have created a 3-node elasticsearch cluster with a F5 load-balanced kibana on two nodes. I see a peculiar behavior, where after I login with a superuser login (file realm) it is redirecting to:
/login?msg=SESSION_EXPIRED&next=%2Fapp%2Fkibana
I tried logging in directly to the server FQDN:port and that works as expected without any redirect. I removed persistence and the LB algorithm was set to round-robin, but the problem is still there.
Do you guys have a suggestion what might be the problem?
Update: It seems to be related to how kibana is affected by Elasticsearch master node change. If I deliberately stop the Elastic Search master node service, I will also need to restart the Kibana service to avoid this redirect loop: login -> redirect session expired -> login. So far I found no other explanation for this behavior.