Error: Kibana server is not ready yet, My kibana.log file is below
sudo tail /var/log/kibana/kibana.log
bhaveshk@linux:~$ sudo tail /var/log/kibana/kibana.log
{"type":"log","@timestamp":"2022-08-29T13:12:06+05:30","tags":["warning","plugins","security","config"],"pid":335248,"message":"Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}
{"type":"log","@timestamp":"2022-08-29T13:12:06+05:30","tags":["warning","plugins","security","config"],"pid":335248,"message":"Session cookies will be transmitted over insecure connections. This is not recommended."}
{"type":"log","@timestamp":"2022-08-29T13:12:06+05:30","tags":["warning","plugins","security","config"],"pid":335248,"message":"Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}
{"type":"log","@timestamp":"2022-08-29T13:12:06+05:30","tags":["warning","plugins","security","config"],"pid":335248,"message":"Session cookies will be transmitted over insecure connections. This is not recommended."}
{"type":"log","@timestamp":"2022-08-29T13:12:06+05:30","tags":["warning","plugins","reporting","config"],"pid":335248,"message":"Generating a random key for xpack.reporting.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.reporting.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}
{"type":"log","@timestamp":"2022-08-29T13:12:06+05:30","tags":["info","plugins","ruleRegistry"],"pid":335248,"message":"Installing common resources shared between all indices"}
{"type":"log","@timestamp":"2022-08-29T13:12:07+05:30","tags":["info","plugins","reporting","config"],"pid":335248,"message":"Chromium sandbox provides an additional layer of protection, and is supported for Linux Ubuntu 20.04 OS. Automatically enabling Chromium sandbox."}
{"type":"log","@timestamp":"2022-08-29T13:12:08+05:30","tags":["error","elasticsearch-service"],"pid":335248,"message":"This version of Kibana (v7.17.6) is incompatible with the following Elasticsearch nodes in your cluster: v7.16.2 @ localhost/127.0.0.1:9200 (127.0.0.1)"}
{"type":"log","@timestamp":"2022-08-29T13:32:06+05:30","tags":["error","plugins","ruleRegistry"],"pid":335248,"message":"Error: Timeout: it took more than 1200000ms\n at Timeout._onTimeout (/usr/share/kibana/x-pack/plugins/rule_registry/server/rule_data_plugin_service/resource_installer.js:54:20)\n at listOnTimeout (node:internal/timers:559:17)\n at processTimers (node:internal/timers:502:7)"}
{"type":"log","@timestamp":"2022-08-29T13:32:06+05:30","tags":["error","plugins","ruleRegistry"],"pid":335248,"message":"Error: Failure installing common resources shared between all indices. Timeout: it took more than 1200000ms\n at ResourceInstaller.installWithTimeout (/usr/share/kibana/x-pack/plugins/rule_registry/server/rule_data_plugin_service/resource_installer.js:63:13)\n at ResourceInstaller.installCommonResources (/usr/share/kibana/x-pack/plugins/rule_registry/server/rule_data_plugin_service/resource_installer.js:77:5)"}