# Error : not enough master nodes

**URL:** <https://discuss.elastic.co/t/error-not-enough-master-nodes/55759>\
**Category:** Elasticsearch\
**Created:** [July 18, 2016, 12:42pm UTC](https://discuss.elastic.co/t/error-not-enough-master-nodes/55759 "2016-07-18T12:42:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ravi\_Shanker\_Reddy](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@Ravi\_Shanker\_Reddy](https://discuss.elastic.co/u/Ravi_Shanker_Reddy)\
**Post date:** [July 18, 2016, 12:42pm UTC](https://discuss.elastic.co/t/error-not-enough-master-nodes/55759/1 "2016-07-18T12:42:12Z")

</div>

In my cluster I have two nodes. Both are master and data nodes. I am trying some queries in Kibana its showing this error.

`[2016-07-18 17:55:00,451][WARN][monitor.jvm] [ravi-2] [gc][young][458531][55917] duration [7.1s], collections [1]/[12.1s], total [7.1s]/[21.3m], memory [2.7gb]->[1.7gb]/[3.8gb], all_pools {[young] [1gb]->[12.5mb]/[1gb]}{[survivor] [136.5mb]->[0b]/[136.5mb]}{[old] [1.5gb]->[1.6gb]/[2.6gb]} [2016-07-18 17:55:24,593][INFO][monitor.jvm] [ravi-2] [gc][young][458555][55920] duration [941ms], collections [1]/[1.1s], total [941ms]/[21.3m], memory [2.3gb]->[1.7gb]/[3.8gb], all_pools {[young] [1gb]->[11.5mb]/[1gb]}{[survivor] [136.5mb]->[136.5mb]/[136.5mb]}{[old] [1.1gb]->[1.5gb]/[2.6gb]} [2016-07-18 17:55:28,532][WARN][monitor.jvm] [ravi-2] [gc][young][458558][55921] duration [1s], collections [1]/[1.9s], total [1s]/[21.4m], memory [2.4gb]->[2.1gb]/[3.8gb], all_pools {[young] [766.6mb]->[15.1mb]/[1gb]}{[survivor] [136.5mb]->[136.5mb]/[136.5mb]}{[old] [1.5gb]->[2gb]/[2.6gb]} [2016-07-18 17:56:37,713][WARN][discovery.zen] [ravi-2] not enough master nodes, current nodes: {{ravi-2}{Mi5bQOPuTneHjuUpCCDisA}{172.16.15.153}{172.16.15.153:9300}{master=true},} [2016-07-18 17:56:37,715][INFO][cluster.service] [ravi-2] removed {{ravi-1}{0mWrxLr0TM6KvO3KF9B3aw}{172.16.5.115}{172.16.5.115:9300}{master=true},}, reason: zen-disco-node_failed({ravi-1}{0mWrxLr0TM6KvO3KF9B3aw}{172.16.5.115}{172.16.5.115:9300}{master=true}), reason failed to ping, tried [3] times, each with maximum [30s] timeout [2016-07-18 17:56:37,785][DEBUG][action.admin.cluster.node.info] [ravi-2] failed to execute on node [0mWrxLr0TM6KvO3KF9B3aw] NodeDisconnectedException[[ravi-1][172.16.5.115:9300][cluster:monitor/nodes/info[n]] disconnected] [2016-07-18 17:56:37,786][DEBUG][action.admin.indices.stats] [ravi-2] failed to execute [indices:monitor/stats] on node [0mWrxLr0TM6KvO3KF9B3aw] NodeDisconnectedException[[ravi-1][172.16.5.115:9300][indices:monitor/stats[n]] disconnected]`  
What I Have to do for this?????

---

<div class="post-metadata">

**Author:** ![mikemccand](https://avatars.discourse-cdn.com/v4/letter/m/f04885/32.png) [@mikemccand](https://discuss.elastic.co/u/mikemccand)\
**Post date:** [July 18, 2016, 1:08pm UTC](https://discuss.elastic.co/t/error-not-enough-master-nodes/55759/2 "2016-07-18T13:08:32Z")

</div>

It looks like that node is having trouble talking to your other node, or the other node went down? Make sure your network setup allows the two nodes to communicate, e.g. no firewall is blocking port 9300?

---

<div class="post-metadata">

**Author:** ![Ravi\_Shanker\_Reddy](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@Ravi\_Shanker\_Reddy](https://discuss.elastic.co/u/Ravi_Shanker_Reddy)\
**Post date:** [July 19, 2016, 4:30am UTC](https://discuss.elastic.co/t/error-not-enough-master-nodes/55759/3 "2016-07-19T04:30:42Z")

</div>

I am maintaining that cluster since one month. Its working fine upto kibana comes into picture. When I started accessing ES through kibana its showing these. Otherwise everything is going fine.

---

<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 5, 2017, 10:34pm UTC](https://discuss.elastic.co/t/error-not-enough-master-nodes/55759/4 "2017-07-05T22:34:34Z")

</div>


