Immediate logout after successful login on kibana

HI Team,
I'm using ELK version 6.2.1 and ES running on docker cluster. when i try to access my kibana with x-pack. its getting login and immediately get logout.

http://nemokibana.com:8080/logout?next=%2Fapp%2Fkibana%23%2Fhome%3F_g%3D()&msg=SESSION_EXPIRED

Anyone can suggest me why?

Could you try clearing your cookies and browser cache?

i tried to open in incognito mode also but facing same issue

Are you using multiple kibana behind a load balancer?

yes, i have installed kibana on 3 server and coordinate also installed on those 3 server.

Yes you have to change the sticky sessions value in your LB.

could you tell very specific where i have to change. what i have to change like which location and what i have to add

yes but what kind of LB you using ?

AWS LB ? Haproxy .... ??

Actually, by using docker its running and didnt define any LB in my coordinate node

This shouldn't be necessary, Kibana doesn't store any user state on the server.

My best guess would be that the proxy between the browser and the Kibana server is stripping headers or modifying the request in some other way.

can you help me out on this . what i have to modify in kibana configuration.

You mentioned you have three Kibana servers. What are you using to load balance between those servers? What is sitting between Kibana and the client's browser?

kibana config:

server.name: kibana
server.host: "0"
elasticsearch.url: http://lpdosput020010.phx.aexp.com:9200
elasticsearch.username: elastic
elasticsearch.password: elastic
#elasticsearch.ssl.verificationMode: none
xpack.apm.ui.enabled: true
#xpack.monitoring.ui.container.elasticsearch.enabled: true
#xpack.security.enabled: true
#server.ssl.enabled: true
#server.ssl.certificate: /usr/share/kibana/config/kibana.example.org.crt
#server.ssl.key: /usr/share/kibana/config/kibana.example.org.key

ES coordinate node:

cluster.name: "docker-cluster"
node.name: lpdosput020010.phx.aexp.com.node
node.master: false
node.data: false
node.ingest: false

#network.host: 0.0.0.0
network.bind_host: 0.0.0.0
network.publish_host: 10.3.195.17

discovery.zen.ping.unicast.hosts: ["10.3.195.14","10.3.195.38","10.3.195.41","10.3.195.43","10.3.195.37","10.3.195.17"]
discovery.zen.minimum_master_nodes: 2
#xpack.license.self_generated.type: trial
xpack.security.enabled: true
#xpack.monitoring.enabled : true
#xpack.security.http.ssl.enabled: true
#xpack.security.http.ssl.key: /usr/share/elasticsearch/config/elasticsearch/elasticsearch.key
#xpack.security.http.ssl.certificate: /usr/share/elasticsearch/config/elasticsearch/elasticsearch.crt
#xpack.security.http.ssl.client_authentication: none
#xpack.security.http.ssl.verification_mode: certificate

any help with below information?

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