# Getting "master not discovered exception" even when Master Node is present

**URL:** <https://discuss.elastic.co/t/getting-master-not-discovered-exception-even-when-master-node-is-present/52433>\
**Category:** Elasticsearch\
**Created:** [June 10, 2016, 10:35am UTC](https://discuss.elastic.co/t/getting-master-not-discovered-exception-even-when-master-node-is-present/52433 "2016-06-10T10:35:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arunkumar987](https://avatars.discourse-cdn.com/v4/letter/a/ccd318/32.png) [@arunkumar987](https://discuss.elastic.co/u/arunkumar987)\
**Post date:** [June 10, 2016, 10:35am UTC](https://discuss.elastic.co/t/getting-master-not-discovered-exception-even-when-master-node-is-present/52433/1 "2016-06-10T10:35:14Z")

</div>

Getting the exception, **master\_not\_discovered\_exception** when running [http://localhost:9200/\_cat/indices?v](http://localhost:9200/_cat/indices?v) in the browser.  
I verified that the master node is present by running [http://localhost:9200/\_nodes](http://localhost:9200/_nodes) and I got the output as "roles":[  
"master",  
"data",  
"ingest"  
]

And there's only one node.

---

<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:44pm UTC](https://discuss.elastic.co/t/getting-master-not-discovered-exception-even-when-master-node-is-present/52433/2 "2017-07-05T22:44:48Z")

</div>


