# Kibana server is not ready yet

**URL:** <https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/308127>\
**Category:** Kibana\
**Tags:** docker\
**Created:** [June 24, 2022, 3:09pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/308127 "2022-06-24T15:09:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabiano341](https://avatars.discourse-cdn.com/v4/letter/f/51bf81/32.png) [@fabiano341](https://discuss.elastic.co/u/fabiano341)\
**Post date:** [June 24, 2022, 3:09pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/308127/1 "2022-06-24T15:09:11Z")

</div>

Hello everyone,  
I am trying to setup my ELK Stack with authentication in docker with the following commands:

## docker run -d --name elastic -p :9200:9200 -p :9300:9300 --restart=always -e "http.host=0.0.0.0" -e "discovery.type=single-node" -e "xpack.security.enabled=true" -e "ELASTICSEARCH\_USERNAME=elastic" -e "ELASTICSEARCH\_PASSWORD=changeme" -v /opt/elastic/data:/usr/share/elasticsearch/data [docker.elastic.co/elasticsearch/elasticsearch:7.13.1](http://docker.elastic.co/elasticsearch/elasticsearch:7.13.1)

## docker run -d --name kibana -p :8085:5601 --restart=always -e "ELASTICSEARCH\_HOSTS=http://:9200" -e XPACK\_GRAPH\_ENABLED=true -e XPACK\_WATCHER\_ENABLED=true -e XPACK\_ML\_ENABLED=true -e XPACK\_MONITORING\_ENABLED=true -e XPACK\_MONITORING\_UI\_CONTAINER\_ELASTICSEARCH\_ENABLED -e "ELASTICSEARCH\_USERNAME=elastic" -e "ELASTICSEARCH\_PASSWORD=changeme" [docker.elastic.co/kibana/kibana:7.13.1](http://docker.elastic.co/kibana/kibana:7.13.1)

docker run -d --name logstash   
--restart=always   
-p 10.100.50.97:5044:5044 -p 10.100.50.97:9600:9600   
-e "XPACK.MONITORING.ELASTICSEARCH.HOSTS=[http://10.100.50.97:9200](http://10.100.50.97:9200)"   
[docker.elastic.co/logstash/logstash:7.13.1](http://docker.elastic.co/logstash/logstash:7.13.1)

* * *

But when I try to access the kibana web interface I get this error:

Kibana server is not ready yet

When to run the above commands without the authentication part, it works, but I really need the authentication.

I've already searched the solution everywhere, but no success.

Could anyone help with this issue?

Thanks!

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [June 30, 2022, 9:51pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/308127/2 "2022-06-30T21:51:32Z")

</div>

[Install Kibana with Docker | Kibana Guide [8.3] | Elastic](https://www.elastic.co/guide/en/kibana/current/docker.html) hope this guide helps you in setting it up. let us know if u have followed all the steps mentioned and able to follow through. When you installed Elasticsearch, it automatically creates the token and credentials for you. However, this token created during installation has a usage time of 30 min to use in kibana.

Thanks  
Rashmi

---

<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:** [July 28, 2022, 9:52pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/308127/3 "2022-07-28T21:52:17Z")

</div>

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