# Kibana server is not ready yet

**URL:** <https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/277844>\
**Category:** Kibana\
**Created:** [July 5, 2021, 2:41pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/277844 "2021-07-05T14:41:21Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sagar.pattnayak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sagar.pattnayak/32/94542_2.png) [@sagar.pattnayak](https://discuss.elastic.co/u/sagar.pattnayak)\
**Post date:** [July 5, 2021, 2:41pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/277844/1 "2021-07-05T14:41:21Z")

</div>

Hi There,

I have recently enabled SSL for my elastic instance using out company provided SSL certificate. The elasticsearch is running fine and i can query it using https url. However when I open Kibana it says "Kibana server is not ready yet". The kibana.log says "Unable to retrieve version information from Elasticsearch nodes.".

I am in RHEL 7 and have installed an latest 7.13 RPM package.

Following is my Elastic.yml file

http.host: 0.0.0.0  
http.cors.enabled : true  
#http.cors.allow-origin: "\*"  
http.cors.allow-origin: /https?://(FQDN:[0-9]+)?/  
#http.cors.allow-methods: OPTIONS, HEAD, GET, POST, PUT, DELETE  
#http.cors.allow-headers: X-Requested-With,X-Auth-Token,Content-Type,Content-Length  
#http.cors.allow-credentials: true

# 

http.port: 9200  
node.name: [FQDN.com](http://FQDN.com)  
network.host: [FQDN.com](http://FQDN.com)  
xpack.security.enabled: true  
xpack.security.http.ssl.enabled: true  
xpack.security.transport.ssl.enabled: true  
xpack.security.http.ssl.key: certificate.key  
xpack.security.http.ssl.certificate: certificate.crt  
xpack.security.http.ssl.certificate\_authorities: CompanyRootCA.crt, CompanyIssuingCA.crt  
xpack.security.transport.ssl.key: certificate.key  
xpack.security.transport.ssl.certificate: certificate.crt  
xpack.security.transport.ssl.certificate\_authorities: CompanyRootCA.crt, CompanyIssuingCA.crt  
discovery.seed\_hosts: ["[FQDN.com](http://FQDN.com)" ]  
cluster.initial\_master\_nodes: ["[FQDN.com](http://FQDN.com)" ]

Following is my Kibana.yml file

server.host: "0.0.0.0"  
elasticsearch.username: "username"  
elasticsearch.password: "password"

server.ssl.enabled: true  
server.ssl.certificate: /etc/kibana/FQDN.crt  
server.ssl.key: /etc/kibana/FQDN.key

If I provide elasticsearch.ssl.certificate: /etc/elasticsearch/FQDN.crt abd elasticsearch.ssl.key: /etc/elasticsearch/FQDN.key

its not even openting. Without them Kibana is opening with proper certificate but shows "Kibana server is not ready yet".

Any help/pointer is appreciated.

Kr  
Sagar

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 6, 2021, 1:31am UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/277844/2 "2021-07-06T01:31:50Z")

</div>

> [@sagar.pattnayak](#):
>
> The kibana.log says "Unable to retrieve version information from Elasticsearch nodes.".

Can you please post the entire Kibana log.

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 🙂

---

<div class="post-metadata">

**Author:** ![sagar.pattnayak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sagar.pattnayak/32/94542_2.png) [@sagar.pattnayak](https://discuss.elastic.co/u/sagar.pattnayak)\
**Post date:** [July 6, 2021, 4:39am UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/277844/3 "2021-07-06T04:39:12Z")

</div>

HI @warkolm ,  
Thanks for your response. Below is the entire log that I have. Please note that due to size limit of 13000 character, I had to remove some logs. But those are almost same what we have here.  
Also th epoint to note here is that we don't use elastic cert util to generate certificates. We have our own company provided CA where we generate certificates. And we are using the same .crt & .key files in elastic.yml & kibana.yml. Will that be a problem?

```auto
{"type":"log","@timestamp":"2021-07-06T02:21:46-04:00","tags":["info","plugins-system"],"pid":8528,"message":"Stopping all plugins."}
{"type":"log","@timestamp":"2021-07-06T02:21:46-04:00","tags":["info","plugins","monitoring","monitoring","kibana-monitoring"],"pid":8528,"message":"Monitoring stats collection is stopped"}
{"type":"log","@timestamp":"2021-07-06T02:22:16-04:00","tags":["warning","plugins-system"],"pid":8528,"message":"\"eventLog\" plugin didn't stop in 30sec., move on to the next."}
{"type":"log","@timestamp":"2021-07-06T02:25:22-04:00","tags":["info","plugins-service"],"pid":12693,"message":"Plugin \"timelines\" is disabled."}
{"type":"log","@timestamp":"2021-07-06T02:25:22-04:00","tags":["warning","config","deprecation"],"pid":12693,"message":"\"logging.dest\" has been deprecated and will be removed in 8.0. To set the destination moving forward, you can use the \"console\" appender in your logging configuration or define a custom one. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx"}
{"type":"log","@timestamp":"2021-07-06T02:25:22-04:00","tags":["warning","config","deprecation"],"pid":12693,"message":"plugins.scanDirs is deprecated and is no longer used"}
{"type":"log","@timestamp":"2021-07-06T02:25:22-04:00","tags":["warning","config","deprecation"],"pid":12693,"message":"Config key [monitoring.cluster_alerts.email_notifications.email_address] will be required for email notifications to work in 8.0.\""}
{"type":"log","@timestamp":"2021-07-06T02:25:22-04:00","tags":["info","plugins-system"],"pid":12693,"message":"Setting up [106] plugins: [taskManager,licensing,globalSearch,globalSearchProviders,banners,code,usageCollection,xpackLegacy,telemetryCollectionManager,telemetry,telemetryCollectionXpack,kibanaUsageCollection,securityOss,share,newsfeed,mapsEms,mapsLegacy,kibanaLegacy,translations,licenseApiGuard,legacyExport,embeddable,uiActionsEnhanced,expressions,charts,esUiShared,bfetch,data,home,console,consoleExtensions,apmOss,searchprofiler,painlessLab,grokdebugger,management,advancedSettings,savedObjects,visualizations,visTypeMetric,visTypeTable,visTypeVega,visTypeTagcloud,visTypeVislib,visTypeTimelion,features,licenseManagement,watcher,visTypeMarkdown,visTypeXy,tileMap,regionMap,presentationUtil,canvas,graph,timelion,dashboard,dashboardEnhanced,visualize,visTypeTimeseries,inputControlVis,indexPatternManagement,discover,discoverEnhanced,savedObjectsManagement,spaces,security,savedObjectsTagging,lens,reporting,lists,encryptedSavedObjects,dashboardMode,dataEnhanced,cloud,upgradeAssistant,snapshotRestore,fleet,indexManagement,rollup,remoteClusters,crossClusterReplication,indexLifecycleManagement,enterpriseSearch,beatsManagement,transform,ingestPipelines,fileUpload,maps,fileDataVisualizer,eventLog,actions,alerting,triggersActionsUi,stackAlerts,ruleRegistry,observability,osquery,ml,securitySolution,cases,infra,monitoring,logstash,apm,uptime]"}
{"type":"log","@timestamp":"2021-07-06T02:25:22-04:00","tags":["info","plugins","taskManager"],"pid":12693,"message":"TaskManager is identified by the Kibana UUID: 2faf4bfa-bc21-4c16-8e93-48d9db0c5221"}
{"type":"log","@timestamp":"2021-07-06T02:25:22-04:00","tags":["warning","plugins","reporting","config"],"pid":12693,"message":"Chromium sandbox provides an additional layer of protection, but is not supported for Linux Red Hat Linux 7.9 OS. Automatically setting 'xpack.reporting.capture.browser.chromium.disableSandbox: true'."}
{"type":"log","@timestamp":"2021-07-06T02:25:23-04:00","tags":["info","plugins","monitoring","monitoring"],"pid":12693,"message":"config sourced from: production cluster"}
{"type":"log","@timestamp":"2021-07-06T02:25:23-04:00","tags":["info","savedobjects-service"],"pid":12693,"message":"Waiting until all Elasticsearch nodes are compatible with Kibana before starting saved objects migrations..."}
{"type":"log","@timestamp":"2021-07-06T02:25:23-04:00","tags":["error","savedobjects-service"],"pid":12693,"message":"Unable to retrieve version information from Elasticsearch nodes."}
{"type":"log","@timestamp":"2021-07-06T02:31:50-04:00","tags":["info","plugins-system"],"pid":12693,"message":"Stopping all plugins."}
{"type":"log","@timestamp":"2021-07-06T02:31:50-04:00","tags":["info","plugins","monitoring","monitoring","kibana-monitoring"],"pid":12693,"message":"Monitoring stats collection is stopped"}
{"type":"log","@timestamp":"2021-07-06T02:32:20-04:00","tags":["warning","plugins-system"],"pid":12693,"message":"\"eventLog\" plugin didn't stop in 30sec., move on to the next."}
{"type":"log","@timestamp":"2021-07-06T02:46:27-04:00","tags":["info","plugins-service"],"pid":17077,"message":"Plugin \"timelines\" is disabled."}
{"type":"log","@timestamp":"2021-07-06T02:46:27-04:00","tags":["warning","config","deprecation"],"pid":17077,"message":"\"logging.dest\" has been deprecated and will be removed in 8.0. To set the destination moving forward, you can use the \"console\" appender in your logging configuration or define a custom one. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx"}
{"type":"log","@timestamp":"2021-07-06T02:46:27-04:00","tags":["warning","config","deprecation"],"pid":17077,"message":"plugins.scanDirs is deprecated and is no longer used"}
{"type":"log","@timestamp":"2021-07-06T02:46:27-04:00","tags":["warning","config","deprecation"],"pid":17077,"message":"Config key [monitoring.cluster_alerts.email_notifications.email_address] will be required for email notifications to work in 8.0.\""}
{"type":"log","@timestamp":"2021-07-06T02:46:27-04:00","tags":["info","plugins-system"],"pid":17077,"message":"Setting up [106] plugins: [taskManager,licensing,globalSearch,globalSearchProviders,banners,code,usageCollection,xpackLegacy,telemetryCollectionManager,telemetry,telemetryCollectionXpack,kibanaUsageCollection,securityOss,share,newsfeed,mapsEms,mapsLegacy,kibanaLegacy,translations,licenseApiGuard,legacyExport,embeddable,uiActionsEnhanced,expressions,charts,esUiShared,bfetch,data,home,console,consoleExtensions,apmOss,searchprofiler,painlessLab,grokdebugger,management,advancedSettings,savedObjects,visualizations,visTypeVega,visTypeVislib,visTypeMetric,visTypeTimelion,features,licenseManagement,watcher,visTypeTagcloud,visTypeTable,visTypeMarkdown,visTypeXy,tileMap,regionMap,presentationUtil,canvas,graph,timelion,dashboard,dashboardEnhanced,visualize,visTypeTimeseries,inputControlVis,indexPatternManagement,discover,discoverEnhanced,savedObjectsManagement,spaces,security,savedObjectsTagging,lens,reporting,lists,encryptedSavedObjects,dataEnhanced,dashboardMode,cloud,upgradeAssistant,enterpriseSearch,snapshotRestore,fleet,indexManagement,rollup,remoteClusters,crossClusterReplication,indexLifecycleManagement,beatsManagement,transform,ingestPipelines,fileUpload,maps,fileDataVisualizer,eventLog,actions,alerting,triggersActionsUi,stackAlerts,ruleRegistry,observability,osquery,ml,securitySolution,cases,infra,monitoring,logstash,apm,uptime]"}
{"type":"log","@timestamp":"2021-07-06T02:46:27-04:00","tags":["info","plugins","taskManager"],"pid":17077,"message":"TaskManager is identified by the Kibana UUID: 2faf4bfa-bc21-4c16-8e93-48d9db0c5221"}
{"type":"log","@timestamp":"2021-07-06T02:46:27-04:00","tags":["warning","plugins","reporting","config"],"pid":17077,"message":"Chromium sandbox provides an additional layer of protection, but is not supported for Linux Red Hat Linux 7.9 OS. Automatically setting 'xpack.reporting.capture.browser.chromium.disableSandbox: true'."}
{"type":"log","@timestamp":"2021-07-06T02:46:28-04:00","tags":["info","plugins","monitoring","monitoring"],"pid":17077,"message":"config sourced from: production cluster"}
{"type":"log","@timestamp":"2021-07-06T02:46:28-04:00","tags":["info","savedobjects-service"],"pid":17077,"message":"Waiting until all Elasticsearch nodes are compatible with Kibana before starting saved objects migrations..."}
{"type":"log","@timestamp":"2021-07-06T02:46:28-04:00","tags":["error","savedobjects-service"],"pid":17077,"message":"Unable to retrieve version information from Elasticsearch nodes."}

```

---

<div class="post-metadata">

**Author:** ![sagar.pattnayak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sagar.pattnayak/32/94542_2.png) [@sagar.pattnayak](https://discuss.elastic.co/u/sagar.pattnayak)\
**Post date:** [July 6, 2021, 12:01pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/277844/4 "2021-07-06T12:01:27Z")

</div>

Hi @warkolm ,

Its working now. I had to uninstall and install it again, provided elasticsearch.ssl.certificateAuthorities values in .pem format and finally server.host would be my FQDN in stead of 0.0.0.0. It started working after making above changes and thanks again for your response. I will close this thread.

BR  
Sagar

---

<div class="post-metadata">

**Author:** ![Trueman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/trueman/32/91333_2.png) [@Trueman](https://discuss.elastic.co/u/Trueman)\
**Post date:** [July 8, 2021, 8:46am UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/277844/5 "2021-07-08T08:46:14Z")

</div>

Hi! Very strange solution. In my case it isn't work. Kibana logs:

```auto
2021-07-08T08:31:15.290819033Z {"type":"log","@timestamp":"2021-07-08T08:31:15+00:00","tags":["info","plugins-service"],"pid":953,"message":"Plugin \"timelines\" is disabled."}
2021-07-08T08:31:15.367802770Z {"type":"log","@timestamp":"2021-07-08T08:31:15+00:00","tags":["warning","config","deprecation"],"pid":953,"message":"plugins.scanDirs is deprecated and is no longer used"}
2021-07-08T08:31:15.368009006Z {"type":"log","@timestamp":"2021-07-08T08:31:15+00:00","tags":["warning","config","deprecation"],"pid":953,"message":"Config key [monitoring.cluster_alerts.email_notifications.email_address] will be required for email notifications to work in 8.0.\""}
2021-07-08T08:31:15.559032645Z {"type":"log","@timestamp":"2021-07-08T08:31:15+00:00","tags":["info","plugins-system"],"pid":953,"message":"Setting up [106] plugins: [taskManager,licensing,globalSearch,globalSearchProviders,banners,code,usageCollection,xpackLegacy,telemetryCollectionManager,telemetry,telemetryCollectionXpack,kibanaUsageCollection,securityOss,share,newsfeed,mapsEms,mapsLegacy,kibanaLegacy,translations,licenseApiGuard,legacyExport,embeddable,uiActionsEnhanced,expressions,charts,esUiShared,bfetch,data,home,console,consoleExtensions,apmOss,searchprofiler,painlessLab,grokdebugger,management,advancedSettings,savedObjects,visualizations,visTypeTagcloud,visTypeTimelion,features,licenseManagement,watcher,visTypeTable,visTypeVislib,visTypeVega,visTypeMetric,visTypeMarkdown,visTypeXy,tileMap,regionMap,presentationUtil,canvas,graph,timelion,dashboard,dashboardEnhanced,visualize,visTypeTimeseries,inputControlVis,indexPatternManagement,discover,discoverEnhanced,savedObjectsManagement,spaces,security,savedObjectsTagging,lens,reporting,lists,dataEnhanced,encryptedSavedObjects,dashboardMode,cloud,upgradeAssistant,snapshotRestore,fleet,indexManagement,remoteClusters,crossClusterReplication,rollup,indexLifecycleManagement,enterpriseSearch,beatsManagement,transform,ingestPipelines,fileUpload,maps,fileDataVisualizer,eventLog,actions,alerting,triggersActionsUi,stackAlerts,ruleRegistry,observability,osquery,ml,securitySolution,cases,infra,monitoring,logstash,apm,uptime]"}
2021-07-08T08:31:15.560443114Z {"type":"log","@timestamp":"2021-07-08T08:31:15+00:00","tags":["info","plugins","taskManager"],"pid":953,"message":"TaskManager is identified by the Kibana UUID: eb36ffd6-3716-4f95-91ec-cc8a4e773d6e"}
2021-07-08T08:31:15.762508795Z {"type":"log","@timestamp":"2021-07-08T08:31:15+00:00","tags":["warning","plugins","security","config"],"pid":953,"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."}
2021-07-08T08:31:15.799680495Z {"type":"log","@timestamp":"2021-07-08T08:31:15+00:00","tags":["warning","plugins","reporting","config"],"pid":953,"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."}
2021-07-08T08:31:15.805551783Z {"type":"log","@timestamp":"2021-07-08T08:31:15+00:00","tags":["warning","plugins","reporting","config"],"pid":953,"message":"Chromium sandbox provides an additional layer of protection, but is not supported for Linux CentOS 8.4.2105\n OS. Automatically setting 'xpack.reporting.capture.browser.chromium.disableSandbox: true'."}
2021-07-08T08:31:15.811133268Z {"type":"log","@timestamp":"2021-07-08T08:31:15+00:00","tags":["warning","plugins","encryptedSavedObjects"],"pid":953,"message":"Saved objects encryption key is not set. This will severely limit Kibana functionality. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}
2021-07-08T08:31:15.894587760Z {"type":"log","@timestamp":"2021-07-08T08:31:15+00:00","tags":["warning","plugins","actions","actions"],"pid":953,"message":"APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}
2021-07-08T08:31:15.905195328Z {"type":"log","@timestamp":"2021-07-08T08:31:15+00:00","tags":["warning","plugins","alerting","plugins","alerting"],"pid":953,"message":"APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}
2021-07-08T08:31:15.967656783Z {"type":"log","@timestamp":"2021-07-08T08:31:15+00:00","tags":["info","plugins","monitoring","monitoring"],"pid":953,"message":"config sourced from: production cluster"}
2021-07-08T08:31:16.164880446Z {"type":"log","@timestamp":"2021-07-08T08:31:16+00:00","tags":["info","savedobjects-service"],"pid":953,"message":"Waiting until all Elasticsearch nodes are compatible with Kibana before starting saved objects migrations..."}
2021-07-08T08:31:16.232552700Z {"type":"log","@timestamp":"2021-07-08T08:31:16+00:00","tags":["error","savedobjects-service"],"pid":953,"message":"Unable to retrieve version information from Elasticsearch nodes."}

```

Part of docker-compose.yml with kibana settings:

```auto
  kib01:
    image: docker.elastic.co/kibana/kibana:${VERSION}
    container_name: kib01
    depends_on: {"es01": {"condition": "service_healthy"}}
    ports:
      - 5601:5601
    environment:
      SERVERNAME: localhost
      SERVER_HOST: kib01
      ELASTICSEARCH_URL: https://es01:9200
      ELASTICSEARCH_HOSTS: https://es01:9200
      ELASTICSEARCH_USERNAME: kibana_system
      ELASTICSEARCH_PASSWORD: 4InJFrn0sog4oDH57n02
      SERVER_SSL_ENABLED: "true"
      ELASTICSEARCH_SSL_CERTIFICATEAUTHORITIES: $CERTS_DIR/Sub2_CA_2012.cer
      SERVER_SSL_KEY: $CERTS_DIR/elk-dkb-test1_nopass.key
      SERVER_SSL_CERTIFICATE: $CERTS_DIR/elk-dkb-test1.pem
    volumes:
      - /some/path/certs:$CERTS_DIR
    networks:
      - elastic

```

---

<div class="post-metadata">

**Author:** ![sagar.pattnayak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sagar.pattnayak/32/94542_2.png) [@sagar.pattnayak](https://discuss.elastic.co/u/sagar.pattnayak)\
**Post date:** [July 8, 2021, 11:16am UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/277844/6 "2021-07-08T11:16:51Z")

</div>

Hi @Trueman  
I am no export here. I would leave it for the experts to comment. However I see one difference that you have from my configuration. ELASTICSEARCH\_SSL\_CERTIFICATEAUTHORITIES should be in pem format and SERVER\_SSL\_CERTIFICATE should be crt or cer.

Hope this helps.

Br  
Sagar

---

<div class="post-metadata">

**Author:** ![Trueman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/trueman/32/91333_2.png) [@Trueman](https://discuss.elastic.co/u/Trueman)\
**Post date:** [July 8, 2021, 12:05pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/277844/7 "2021-07-08T12:05:14Z")

</div>

I think it is does not matter. See [SSL Converter - Convert SSL Certificates to different formats](https://www.sslshopper.com/ssl-converter.html)

---

<div class="post-metadata">

**Author:** ![sagar.pattnayak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sagar.pattnayak/32/94542_2.png) [@sagar.pattnayak](https://discuss.elastic.co/u/sagar.pattnayak)\
**Post date:** [July 8, 2021, 2:17pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/277844/8 "2021-07-08T14:17:09Z")

</div>

By pem format I mean .pem file extension. Saying because even i tried .cer/.crt. Nothing worked. However .pem worked.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 5, 2021, 2:17pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/277844/9 "2021-08-05T14:17:57Z")

</div>

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