# Why Kibana server is not ready yet

**URL:** <https://discuss.elastic.co/t/why-kibana-server-is-not-ready-yet/255870>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [November 18, 2020, 4:06pm UTC](https://discuss.elastic.co/t/why-kibana-server-is-not-ready-yet/255870 "2020-11-18T16:06:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![powerinside](https://avatars.discourse-cdn.com/v4/letter/p/dc4da7/32.png) [@powerinside](https://discuss.elastic.co/u/powerinside)\
**Post date:** [November 18, 2020, 4:06pm UTC](https://discuss.elastic.co/t/why-kibana-server-is-not-ready-yet/255870/1 "2020-11-18T16:06:39Z")

</div>

I got "Kibana server is not ready yet" message. It happened after i was trying to enable TLS on the HTTP layer in Elasticsearch.  
i added following lines to kibana.yml and restarted services. I reverted all settings back but its not working anymore.

```auto
xpack.encryptedSavedObjects.encryptionKey: "some32charlongkey"
xpack.security.encryptionKey: "some32charlongkey"
elasticsearch.ssl.certificateAuthorities: ["/etc/kibana/elasticsearch-ca.pem"]
elasticsearch.ssl.verificationMode: certificate

```

When I checked kibana.stderr, it says port 5601 is already in use (so I once set server.port to 5602 but it didn’t help. And we have another server with same error that runs without prb) We use nginx and it redirects 80/443 to 5601 so i connect to [https://172.31.12.77](https://172.31.12.77)

i tried to stop nginx and connect to [https://172.31.12.77:5601](https://172.31.12.77:5601) but nothing happened.

```auto
curl -XGET localhost:9200 -u elastic
command output looks ok. 

```

netstat -tnlp

 ![netstat](https://us1.discourse-cdn.com/elastic/original/3X/5/1/518552b65342620482a0c5afabcf87fd4d7b817e.jpeg)

systemctl status kibana  
it says

 ![kibana](https://us1.discourse-cdn.com/elastic/original/3X/7/c/7ce6e3bafada6ee63665a5d25c2414923bd47171.jpeg)

lsof -i -nP | grep LISTEN  
it says

 ![lsof](https://us1.discourse-cdn.com/elastic/original/3X/7/2/729ccae4ad9af4296b78be9e4380acf18787ba2e.jpeg)

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [November 19, 2020, 6:39pm UTC](https://discuss.elastic.co/t/why-kibana-server-is-not-ready-yet/255870/2 "2020-11-19T18:39:47Z")

</div>

This error message is telling you that Kibana can't connect to your Elasticsearch nodes. Kibana can't start until it has a persistent connection to Elasticsearch.

---

<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:** [December 17, 2020, 6:39pm UTC](https://discuss.elastic.co/t/why-kibana-server-is-not-ready-yet/255870/3 "2020-12-17T18:39:52Z")

</div>

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