Kibana server is not ready yet - Unable to retrieve version information from Elasticsearch nodes. security_exception

Hi All,

I am new in ELK stack. I have installed elasticsearch & Kibana version 8.3.2 on RedHat Linux 8.6. Elasticsearch configured properly and running fine. But while starting up Kibana we see "Unable to retrieve version information from Elasticsearch nodes. security_exception" error and when we try to access Kibana via browser we see "Kibana server is not ready yet" error.
Kindly help to resolve the error.

Error Info from Kibana.log file

{"ecs":{"version":"8.0.0"},"@timestamp":"2022-07-27T05:57:16.542-07:00","message":"Installing common resources shared between all indices","log":{"level":"INFO","logger":"plugins.ruleRegistry"},"process":{"pid":761710},"trace":{"id":"2cfce34e4a7f16052d14653d5889eb13"},"transaction":{"id":"75946ccf9f95b8d0"}}
{"ecs":{"version":"8.0.0"},"@timestamp":"2022-07-27T05:57:17.002-07:00","message":"Chromium sandbox provides an additional layer of protection, but is not supported for Linux Red Hat Linux 8.6 OS. Automatically setting 'xpack.screenshotting.browser.chromium.disableSandbox: true'.","log":{"level":"WARN","logger":"plugins.screenshotting.config"},"process":{"pid":761710},"trace":{"id":"2cfce34e4a7f16052d14653d5889eb13"},"transaction":{"id":"75946ccf9f95b8d0"}}
{"ecs":{"version":"8.0.0"},"@timestamp":"2022-07-27T05:57:17.121-07:00","message":"Unable to retrieve version information from Elasticsearch nodes. security_exception: [security_exception] Reason: unable to authenticate user [kibana] for REST request [/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip]","log":{"level":"ERROR","logger":"elasticsearch-service"},"process":{"pid":761710},"trace":{"id":"2cfce34e4a7f16052d14653d5889eb13"},"transaction":{"id":"75946ccf9f95b8d0"}}
{"ecs":{"version":"8.0.0"},"@timestamp":"2022-07-27T05:57:17.498-07:00","message":"Browser executable: /usr/share/kibana/x-pack/plugins/screenshotting/chromium/headless_shell-linux_x64/headless_shell","log":{"level":"INFO","logger":"plugins.screenshotting.chromium"},"process":{"pid":761710},"trace":{"id":"2cfce34e4a7f16052d14653d5889eb13"},"transaction":{"id":"75946ccf9f95b8d0"}}

ElasticSearch Status

Properties values in Kibana.yml

server.port: 5601
server.host: "10.159.205.189"
elasticsearch.ssl.verificationMode: "none"
elasticsearch.hosts: ["https://10.159.205.189:9200"]
elasticsearch.username: "kibana"
elasticsearch.password: "p_e1ErsA9Rhb5DXkYIc"

Welcome to our community! :smiley:

Please don't post pictures of text, logs or code. They are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them.
Please also format your code/logs/config using the </> button, or markdown style back ticks. It helps to make things easy to read which helps us help you

Do those details work if you use it to make a curl to Elasticsearch?

Hi Warkolm,

Thanks for the response.
Curl to Elasticsearch is throwing same error. Please check following

curl --cacert /etc/elasticsearch/certs/http_ca.crt -u kibana https://10.159.205.189:9200
Enter host password for user 'kibana':
{"error":{"root_cause":[{"type":"security_exception","reason":"unable to authenticate user [kibana] for REST request [/]","header":{"WWW-Authenticate":["Basic realm=\"security\" charset=\"UTF-8\"","Bearer realm=\"security\"","ApiKey"]}}],"type":"security_exception","reason":"unable to authenticate user [kibana] for REST request [/]","header":{"WWW-Authenticate":["Basic realm=\"security\" charset=\"UTF-8\"","Bearer realm=\"security\"","ApiKey"]}},"status":401}

Then that's the best place to resolve your issue :wink:

Hi Warkolm,

Please help in advising next step.

Thanks,
Shaheer Badar

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