Elasticsearch Authentication Exception

My elasticsearch docker cluster is green, check from within the Kibana container with the kibana user:
1524397495 11:44:55 docker-cluster green 1 1 12 12 0 0 0 0 - 100.0%

However, Kibana fails to connect to elasticsearch with the following logoutput:
ontentLength":9},"message":"GET /ui/favicons/favicon-16x16.png 304 1ms - 9.0B"}
{"type":"log","@timestamp":"2018-04-22T11:47:19Z","tags":["status","plugin:kibana@5.6.9","info"],"pid":12,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2018-04-22T11:47:19Z","tags":["status","plugin:elasticsearch@5.6.9","info"],"pid":12,"state":"yellow","message":"Status changed from uninitialized to yellow - Waiting for Elasticsearch","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2018-04-22T11:47:19Z","tags":["status","plugin:elasticsearch@5.6.9","error"],"pid":12,"state":"red","message":"Status changed from yellow to red - Authentication Exception","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"}
{"type":"log","@timestamp":"2018-04-22T11:47:19Z","tags":["status","plugin:console@5.6.9","info"],"pid":12,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2018-04-22T11:47:19Z","tags":["status","plugin:metrics@5.6.9","info"],"pid":12,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2018-04-22T11:47:19Z","tags":["status","plugin:timelion@5.6.9","info"],"pid":12,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2018-04-22T11:47:19Z","tags":["listening","info"],"pid":12,"message":"Server running at http://0.0.0.0:5601"}
{"type":"log","@timestamp":"2018-04-22T11:47:19Z","tags":["status","ui settings","error"],"pid":12,"state":"red","message":"Status changed from uninitialized to red - Elasticsearch plugin is red","prevState":"uninitialized","prevMsg":"uninitialized"}

Kibana UI loos like this:

What could be the issue?

Edit: passwords were set for all of the buil-in users.

It seems you've installed X-Pack in Elasticsearch. If this is correct, then you also need to install X-Pack in Kibana

I've installed the following docker image:
elasticsearch-platinum:6.2.4

And:
kibana:6.2.4

Which would mean, that X-Pack is preinstalled on elasticsearch-platinum:6.2.4 right?

Can this be listed to be verified please: bin/kibana-plugin list

Verify the kibana docker image that you have installed. You've mentioned that you used kibana:6.2.4, which should include x-pack, but the screenshot you've provided is from Kibana 5, not 6, and it is not including x-pack.

1 Like

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