# Kibana server is not ready yet

**URL:** <https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/350771>\
**Category:** Kibana\
**Created:** [January 10, 2024, 3:38pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/350771 "2024-01-10T15:38:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![boubou](https://avatars.discourse-cdn.com/v4/letter/b/b77776/32.png) [@boubou](https://discuss.elastic.co/u/boubou)\
**Post date:** [January 10, 2024, 3:38pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/350771/1 "2024-01-10T15:38:14Z")

</div>

I am trying to set up an ELK stack with communication between Kibana and Elasticsearch. I am new to ELK and I am having trouble. I will present my configurations and the results that I am getting.

To start, I downloaded Kibana and Elasticsearch version 8.2. I am working on Linux. Then, I modified the file /elasticsearch/config/elasticsearch.yml. It contains this:

```auto
cluster.name: mes-elasticsearch-prod
node.name: myserver
path.data: /db/appli/data/elasticsearch
path.logs: /db/appli/logs/elasticsearch
network.host: 0.0.0.0
http.port: 9206
transport.port: 9306
discovery.seed_hosts: ["myserver:9306"]
cluster.initial_master_nodes: ["myserver"]
xpack.security.enabled: false

```

Next, I modified my file /kibana/config/kibana.yml:

```auto
server.port: 5606
server.host: "muserver"
server.name: "myserver"
elasticsearch.hosts: ["http://myserver:9206"]
elasticsearch.pingTimeout: 15000
elasticsearch.requestTimeout: 300000
elasticsearch.shardTimeout: 300000
pid.file: "/db/appli/tmp/kibana.pid"

```

To launch my applications, I enter the following commands:

- /home/appli/elasticsearch/bin/elasticsearch -p /db/appli/tmp/elasticsearch.pid -d

- /db/appli/bin/kibana-8.2.0/bin/kibana -c /db/appli/bin/kibana-8.2.0/config/kibana.yml &

Elasticsearch is working well, when I go to the URL: [http://myserver:9206/](http://myserver:9206/) I see this:

```auto
{
  "name" : "myserver",
  "cluster_name" : "mes-elasticsearch-prod",
  "cluster_uuid" : "_na_",
  "version" : {
    "number" : "8.2.0",
    "build_flavor" : "default",
    "build_type" : "tar",
    "build_hash" : "b174af68dd9f4ac4d25875e9381ffe2b9282c5",
    "build_date" : "2022-04-20T10:35:10.180408517Z",
    "build_snapshot" : false,
    "lucene_version" : "9.1.0",
    "minimum_wire_compatibility_version" : "7.17.0",
    "minimum_index_compatibility_version" : "7.0.0"
  },
  "tagline" : "You Know, for Search"
}

```

However, Kibana is not working. On the URL, it says: "Kibana server is not ready yet." Then the interface stops working and I have the following logs:

```auto
[2024-01-10T16:17:21.786+01:00][FATAL][root] ResponseError: master_not_discovered_exception: [master_not_discovered_exception] Reason: null
    at KibanaTransport.request (/db/appli/bin/kibana-8.2.0/node_modules/@elastic/transport/lib/Transport.js:476:27)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at KibanaTransport.request (/db/appli/bin/kibana-8.2.0/src/core/server/elasticsearch/client/create_transport.js:58:16)
    at Cluster.getSettings (/db/appli/bin/kibana-8.2.0/node_modules/@elastic/elasticsearch/lib/api/api/cluster.js:157:16)
    at isInlineScriptingEnabled (/db/appli/bin/kibana-8.2.0/src/core/server/elasticsearch/is_scripting_enabled.js:22:20)
    at ElasticsearchService.start (/db/appli/bin/kibana-8.2.0/src/core/server/elasticsearch/elasticsearch_service.js:121:32)
    at Server.start (/db/appli/bin/kibana-8.2.0/src/core/server/server.js:326:32)
    at Root.start (/db/appli/bin/kibana-8.2.0/src/core/server/root/index.js:69:14)
    at bootstrap (/db/appli/bin/kibana-8.2.0/src/core/server/bootstrap.js:120:5)
    at Command.<anonymous> (/db/appli/bin/kibana-8.2.0/src/cli/serve/serve.js:216:5)
[2024-01-10T16:17:51.794+01:00][INFO][plugins-system.preboot] Stopping all plugins.
[2024-01-10T16:17:51.795+01:00][INFO][plugins-system.standard] Stopping all plugins.
[2024-01-10T16:17:51.796+01:00][INFO][plugins.monitoring.monitoring.kibana-monitoring] Monitoring stats collection is stopped
[2024-01-10T16:18:21.802+01:00][WARN][plugins-system.standard] "eventLog" plugin didn't stop in 30sec., move on to the next.

 FATAL ResponseError: master_not_discovered_exception: [master_not_discovered_exception] Reason: null

```

Can you please help me? I'm stuck and I think the issue shouldn't be too complicated.

Thank you in advance for your help.

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [January 11, 2024, 11:50am UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/350771/2 "2024-01-11T11:50:39Z")

</div>

Hi @boubou,

How many Elasticsearch nodes do you have? It looks like you have a node communication issue based on this error:

> [@boubou](#):
>
> ` FATAL ResponseError: master_not_discovered_exception: [master_not_discovered_exception] Reason: null`

Can you try the remediation steps covered in [this StackOverflow thread](https://stackoverflow.com/questions/37970187/elasticsearch-cluster-master-not-discovered-exception)?

I see you have also raised a similar issue [here](https://discuss.elastic.co/t/elasticsearch-doesnt-work/350842). I would recommend following @DavidTurner's recommendation in thread to check out the troubleshooting guide,. Please don't post multiple topics for the same issue in future.

Hope that helps!

---

<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:** [February 8, 2024, 11:51am UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/350771/3 "2024-02-08T11:51:08Z")

</div>

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