Error ROR Pro - blank page after login


(nmlabs) #1

Hi,

I use ReadonlyREST PRO 1.16.10 for Elastic stack 5.6.0. After the login page, I have a blank page :

EDIT : it seems that the issue comes from an ELB behind two kibana instances.


(Simone Scarduzio) #2

That vague error message reminds me of a bug that should be fixed in the master version.
I can give you a newer version to test, via email. Please contact [email protected]

About the load balancer compatibility, there might be issues with that unless the LB supports sticky sessions.
Basically the issue that might arise is that if the load balancer simply round-robins the connections, the same browser can create its encrypted cookie in one instance and the second Kibana doesn’t know how to decrypt it.

This happens because the key for the encrypted cookie is generated in each instance randomly at startup time.


(Simone Scarduzio) #3

By the way, I just added a this setting in the kibana plugin to force the encryption password to a value that you can configure to be identical in all your kibana instances behind the load balancer. Therefore removing the need for sticky sessions.

readonlyrest_kbn.cookiePass: "123456789012345678901234567890"