Load balance multiple kibana servers using Nginx without session affinity

Hi,

I have multiple Kibana instances (version 6.2.2) load balanced using Nginx.
I get the following error when I try to login to Kibana UI.

Error: Uncaught TypeError: Super expression must either be null or a function, not undefined (https://myhostname/app/kibana/bundles/vendors.bundle.js?v=16588:89)
at window.onerror (https://myhostname/app/kibana/bundles/commons.bundle.js?v=16588:1:506240)

If I enable session affinity on the Nginx then I don't see this issue but I need to keep the session affinity disabled on the Nginx for the solution.

Also I see this only on one of the cluster in my lab while other clusters with the same solution do not have this issue.

So does Kibana require affinity or stickiness to be enabled ?

No, Kibana does not require sticky sessions. It's hard to say what's going on based on that error. What I would do is log the requests nginx is sending to Kibana with affinity on and off and then compare the results to see what might be different.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.