Kibana status code 304

Hello. I try to configure ELK stack 7.1.0 on docker.
I have 3 master node and 3 worker nodes.
Elastic stack health good. When i Started Kibana like a service and try to login on webpage I have this error:
servers_kibana1.0.bn958cduaf3z@sys00219 | {"type":"response","@timestamp":"2019-06-04T08:40:29Z","tags":,"pid":1,"method":"get","statusCode":304,"req":{"url":"/built_assets/css/plugins/timelion/index.light.css","method":"get","headers":{"host":"10.100.203.154:20602","user-agent":"Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0","accept":"text/css,/;q=0.1","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","referer":"http://10.100.203.154:20602/login?next=%2F","connection":"keep-alive","if-none-match":""52d61c464aebb0b4469991ae04189c1f5c530f8c-/-gzip""},"remoteAddress":"10.255.0.3","userAgent":"10.255.0.3","referer":"http://10.100.203.154:20602/login?next=%2F"},"res":{"statusCode":304,"responseTime":2,"contentLength":9},"message":"GET /built_assets/css/plugins/timelion/index.light.css 304 2ms - 9.0B"}

my kibana yml file:

server.host: "0"
elasticsearch.hosts: ["http://srv_master1:9200"]
elasticsearch.username: kibana
elasticsearch.password: qweasd
xpack.monitoring.ui.container.elasticsearch.enabled: true

curl -X GET -u elastic:***** "localhost:9403/"
{
"name" : "sys00224-srv_master11",
"cluster_name" : "elk1",
"cluster_uuid" : "Mqwsr55qR5GjyrfRFQu7VA",
"version" : {
"number" : "7.1.0",
"build_flavor" : "default",
"build_type" : "docker",
"build_hash" : "606a173",
"build_date" : "2019-05-16T00:43:15.323135Z",
"build_snapshot" : false,
"lucene_version" : "8.0.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}

curl -X GET -u elastic:***** "localhost:9403/_cat/shards"
.kibana_1 0 p STARTED 3 23.9kb 10.4.10.13 sys00224-srv_worker11
.kibana_1 0 r STARTED 3 19.7kb 10.4.10.14 sys00225-srv_worker12
.security-7 0 p STARTED 10 54.2kb 10.4.10.15 sys00219-srv_worker13
.security-7 0 r STARTED 10 54.2kb 10.4.10.13 sys00224-srv_worker11
.kibana_task_manager 0 r STARTED 2 39.2kb 10.4.10.15 sys00219-srv_worker13
.kibana_task_manager 0 p STARTED 2 39.2kb 10.4.10.14 sys00225-srv_worker12

Hi, that doesn't look like an error? It looks like the response is coming from a CSS file and the 304 status is just indicating that the file is cached on your browser. Are you experiencing an actual issue logging into Kibana?

Hi, yes i exactly have issue logging into kibana. When i logging in , the web page return me to main page . After clear cache i have the same

I solve the problem! I don't add xpack.security.encryptionKey: to kibana.yml

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