Kibana server is not ready yet

I got one host with elasticsearch and kibana, i don't want to use any ssl/tls.
That's an error i got in logs now. How can i fix kibana ? It's web page shows me "Kibana server is not ready yet"

journalctl -efu kibana.service

Sep 18 13:45:24 elastic-search kibana[219638]: [2023-09-18T13:45:24.968+00:00][ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. security_exception
Sep 18 13:45:24 elastic-search kibana[219638]: Root causes:
Sep 18 13:45:24 elastic-search kibana[219638]: security_exception: unable to authenticate with provided credentials and anonymous access is not allowed for this reques

Add credentials in kibana.yml

elasticsearch.username: "kibana_system"
elasticsearch.password: "<yourpass>"

I am using elasticsearch.serviceAccountToken which i generated with

/usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token -s kibana

Isn't it the same ?

Read this.

I didn't understand. How it can be useful for me ?

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