# Elasticsearch returns exception master not discovered

**URL:** <https://discuss.elastic.co/t/elasticsearch-returns-exception-master-not-discovered/90526>\
**Category:** Elasticsearch\
**Created:** [June 22, 2017, 7:55pm UTC](https://discuss.elastic.co/t/elasticsearch-returns-exception-master-not-discovered/90526 "2017-06-22T19:55:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexus/32/12696_2.png) [@alexus](https://discuss.elastic.co/u/alexus)\
**Post date:** [June 22, 2017, 7:55pm UTC](https://discuss.elastic.co/t/elasticsearch-returns-exception-master-not-discovered/90526/1 "2017-06-22T19:55:22Z")

</div>

```
[root@7pvelk02 ~]# curl --silent $(hostname):9200/_cat/indices?pretty
{
  "error" : {
    "root_cause" : [
      {
        "type" : "master_not_discovered_exception",
        "reason" : null
      }
    ],
    "type" : "master_not_discovered_exception",
    "reason" : null
  },
  "status" : 503
}
[root@7pvelk02 ~]# 

```

/var/log/elasticsearch/X.log:

> [2017-06-22T15:46:38,850][INFO][o.e.d.z.ZenDiscovery] [7pvelk02] failed to send join request to master [{7pvelk01}{2OLRVS4iRqi7TeO3reYmog}{2M8IRM3MS3CxuzoAwszxIA}{10.52.223.137}{10.52.223.137:9300}], reason [RemoteTransportException[[7pvelk01][10.52.223.137:9300][internal:discovery/zen/join]]; nested: ConnectTransportException[[7pvelk02][10.52.223.237:9300] connect\_timeout[30s]]; nested: IOException[No route to host: 10.52.223.237/10.52.223.237:9300]; nested: IOException[No route to host]; ]

nmap (network):

```
[root@7pvelk02 ~]# nmap -p 9200,9300 7pvelk01 | grep open
9200/tcp open wap-wsp
9300/tcp open vrace
[root@7pvelk02 ~]# 

```

Please advise.

---

<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 20, 2017, 7:55pm UTC](https://discuss.elastic.co/t/elasticsearch-returns-exception-master-not-discovered/90526/2 "2017-07-20T19:55:28Z")

</div>

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