Kibana server is not ready yet

I am getting kibana server not ready yet, Status of kibana is up.

● kibana.service - Kibana
Loaded: loaded (/usr/lib/systemd/system/kibana.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2023-03-14 12:43:55 IST; 57s ago
Docs: https://www.elastic.co
Main PID: 190128 (node)
Tasks: 11 (limit: 22956)
Memory: 445.7M
CPU: 19.865s
CGroup: /system.slice/kibana.service
└─190128 /usr/share/kibana/bin/../node/bin/node /usr/share/kibana/bin/../src/cli/dist

Mar 14 12:44:10 ASVMPDMC0510 kibana[190128]: [2023-03-14T12:44:10.356+05:30][WARN ][plugins.security.config] Session cookies will be transmitted over insecure connections. This is not recommended.
Mar 14 12:44:10 ASVMPDMC0510 kibana[190128]: [2023-03-14T12:44:10.364+05:30][INFO ][plugins.encryptedSavedObjects] Hashed 'xpack.encryptedSavedObjects.encryptionKey' for this instance: yw0YDjjMye4RWHkBe7l>
Mar 14 12:44:10 ASVMPDMC0510 kibana[190128]: [2023-03-14T12:44:10.378+05:30][INFO ][plugins.notifications] Email Service Error: Email connector not specified.
Mar 14 12:44:10 ASVMPDMC0510 kibana[190128]: [2023-03-14T12:44:10.453+05:30][WARN ][plugins.reporting.config] Generating a random key for xpack.reporting.encryptionKey. To prevent sessions from being inva>
Mar 14 12:44:10 ASVMPDMC0510 kibana[190128]: [2023-03-14T12:44:10.454+05:30][WARN ][plugins.reporting.config] Found 'server.host: "0.0.0.0"' in Kibana configuration. Reporting is not able to use this as t>
Mar 14 12:44:10 ASVMPDMC0510 kibana[190128]: [2023-03-14T12:44:10.510+05:30][INFO ][plugins.ruleRegistry] Installing common resources shared between all indices
Mar 14 12:44:10 ASVMPDMC0510 kibana[190128]: [2023-03-14T12:44:10.549+05:30][INFO ][plugins.cloudSecurityPosture] Registered task successfully [Task: cloud_security_posture-stats_task]
Mar 14 12:44:11 ASVMPDMC0510 kibana[190128]: [2023-03-14T12:44:11.076+05:30][WARN ][plugins.screenshotting.config] Chromium sandbox provides an additional layer of protection, but is not supported for Lin>
Mar 14 12:44:11 ASVMPDMC0510 kibana[190128]: [2023-03-14T12:44:11.193+05:30][ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. self signed certificate in certi>
Mar 14 12:44:12 ASVMPDMC0510 kibana[190128]: [2023-03-14T12:44:12.312+05:30][INFO ][plugins.screenshotting.chromium] Browser executable: /usr/share/kibana/x-pack/plugins/screenshotting/chromium/headless_s>
lines 1-21/21 (END)

cat kibana.yml | grep -v "#"

server.port: 5601

server.host: "0.0.0.0"
server.publicBaseUrl: "http://10.9.161.86:5601"
xpack.encryptedSavedObjects:
encryptionKey: "min-32-byte-long-strong-encryption-key"

elasticsearch.hosts: ["https://10.9.161.86:9200"]

elasticsearch.serviceAccountToken: AAEAAWVsYXN0aWMva2liYW5hL215LXRva2VuOkEzT1NIRF93U0FtSFZjN3pMcEUyQUE

logging:
appenders:
file:
type: file
fileName: /var/log/kibana/kibana.log
layout:
type: json
root:
appenders:
- default
- file

pid.file: /run/kibana/kibana.pid

cat /etc/elasticsearch/elasticsearch.yml | grep -v "#"
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: 0.0.0.0

xpack.security.enabled: true

xpack.security.enrollment.enabled: true

xpack.security.http.ssl:
enabled: true
keystore.path: certs/http.p12

xpack.security.transport.ssl:
enabled: true
verification_mode: certificate
keystore.path: certs/transport.p12
truststore.path: certs/transport.p12
cluster.initial_master_nodes: ["ASVMPDMC0510"]

http.host: 0.0.0.0

Welcome to our community! :smiley:

What do the Kibana logs show?
Also please 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 :slight_smile:

Hi Mark,

My issue got resolve it was related to lock file, after removing node lock file.

Thanks