Kibana - server is not ready yet

I have two containers one for each elasticsearch and kibana.
started elasticsearch as : docker start elasticsearch
I go to localhost:9200
I can see elasticsearch is running up.

now I do docker start kibana
I type kibana ps -a
I can see both containers are running.

Now I go to localhost:5601
I get the message "Kibana server is not ready yet"

Can anyone give any suggestions. I am running these on a vm.

Thanks

Can you provide the Kibana logs during startup? It should contain the error for us to work from.

I was about to write about this. so when I type docker start kibana. (kibana is the name of the container).
It echoes back the name of the container. where do I get the logs from.?

Thanks

docker logs CONTAINER_ID

More info: https://docs.docker.com/engine/reference/commandline/logs/

 Error: Request Timeout after 30000ms"}
{"type":"log","@timestamp":"2019-05-14T15:59:31Z","tags":["warning","task_manager"],"pid":1,"message":"PollError Request Timeout after 30000ms"}
{"type":"log","@timestamp":"2019-05-14T16:00:04Z","tags":["warning","task_manager"],"pid":1,"message":"PollError Request Timeout after 30000ms"}
{"type":"log","@timestamp":"2019-05-14T16:00:26Z","tags":["warning","elasticsearch","data"],"pid":1,"message":"Unable to revive connection: http://elasticsearch:9200/"}
{"type":"log","@timestamp":"2019-05-14T16:00:26Z","tags":["license","warning","xpack"],"pid":1,"message":"License information from the X-Pack plugin could not be obtained from Elasticsearch for the [data] cluster. Error: Request Timeout after 30000ms"}

Here is my logs for that.
Thanks

It can't reach Elasticsearch at http://elasticsearch:9200/. Is Elasticsearch up, can it be reached from the Kibana container?

Elasticsearch is up. I verified that at http://localhost:9200.
how to reach it from kibana container.
Thank you.

Ok, so it's running but the Kibana container is unable to access it by its service name elasticsearch .

Are you using docker compose? Can you provide your docker-compose.yml file? If you need an example of getting the Elastic stack up with that, we have an example here: https://github.com/elastic/stack-docker

I am not using docker compost at the moment. seems best way is to use docker compose. I will try using that.

Thanks for the link.

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