# Error in cluster deployment: failed to send join request to master

**URL:** <https://discuss.elastic.co/t/error-in-cluster-deployment-failed-to-send-join-request-to-master/90015>\
**Category:** Elasticsearch\
**Created:** [June 20, 2017, 2:22am UTC](https://discuss.elastic.co/t/error-in-cluster-deployment-failed-to-send-join-request-to-master/90015 "2017-06-20T02:22:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiaoxing598](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xiaoxing598/32/19275_2.png) [@xiaoxing598](https://discuss.elastic.co/u/xiaoxing598)\
**Post date:** [June 20, 2017, 2:22am UTC](https://discuss.elastic.co/t/error-in-cluster-deployment-failed-to-send-join-request-to-master/90015/1 "2017-06-20T02:22:21Z")

</div>

I have three virtual machines(192.168.245.128, 192.168.245.129, 192.168.245.130), respectively, in the above installed ES5.1.2, in the configuration of the cluster environment is encountered errors, the error in the three machines are similar.

1. This can be between the three machines can ping, you can telnet.
2. The following information is displayed for each machine.

## 192.168.245.128

```
[2017-06-20T10:04:25,434][INFO][o.e.t.TransportService] [node-1] publish_address {192.168.245.128:9300}, bound_addresses {192.168.245.128:9300}
[2017-06-20T10:04:25,440][INFO][o.e.b.BootstrapCheck] [node-1] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
[2017-06-20T10:04:33,811][INFO][o.e.d.z.ZenDiscovery] [node-1] failed to send join request to master [{node-2}{X-m7gPTMQn2TsdlByavfEg}{S2ucttQDSXCqLjcyi7wjKA}{192.168.245.129}{192.168.245.129:9300}], reason [RemoteTransportException[[node-2][192.168.245.129:9300][internal:discovery/zen/join]]; nested: NotMasterException[Node [{node-2}{X-m7gPTMQn2TsdlByavfEg}{S2ucttQDSXCqLjcyi7wjKA}{192.168.245.129}{192.168.245.129:9300}] not master for join request]; ], tried [3] times

```

## 192.168.245.129

```
[2017-06-20T10:04:30,429][INFO][o.e.t.TransportService] [node-2] publish_address {192.168.245.129:9300}, bound_addresses {192.168.245.129:9300}
[2017-06-20T10:04:30,435][INFO][o.e.b.BootstrapCheck] [node-2] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
[2017-06-20T10:04:33,813][INFO][o.e.d.z.ZenDiscovery] [node-2] failed to send join request to master [{node-1}{X-m7gPTMQn2TsdlByavfEg}{YFmPk0dUTh-S1Ef9of5RTA}{192.168.245.128}{192.168.245.128:9300}], reason [RemoteTransportException[[node-1][192.168.245.128:9300][internal:discovery/zen/join]]; nested: NotMasterException[Node [{node-1}{X-m7gPTMQn2TsdlByavfEg}{YFmPk0dUTh-S1Ef9of5RTA}{192.168.245.128}{192.168.245.128:9300}] not master for join request]; ], tried [3] times

```

## 192.168.245.130

```
[2017-06-20T10:04:33,983][INFO][o.e.t.TransportService] [node-3] publish_address {192.168.245.130:9300}, bound_addresses {192.168.245.130:9300}
[2017-06-20T10:04:33,991][INFO][o.e.b.BootstrapCheck] [node-3] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
[2017-06-20T10:04:37,354][INFO][o.e.d.z.ZenDiscovery] [node-3] failed to send join request to master [{node-1}{X-m7gPTMQn2TsdlByavfEg}{YFmPk0dUTh-S1Ef9of5RTA}{192.168.245.128}{192.168.245.128:9300}], reason [RemoteTransportException[[node-1][192.168.245.128:9300][internal:discovery/zen/join]]; nested: NotMasterException[Node [{node-1}{X-m7gPTMQn2TsdlByavfEg}{YFmPk0dUTh-S1Ef9of5RTA}{192.168.245.128}{192.168.245.128:9300}] not master for join request]; ], tried [3] times

```

I chose a configuration file on a machine to show:

```
cluster.name: my-test
node.name: node-1
network.host: 192.168.245.128
discovery.zen.ping.unicast.hosts: ["192.168.245.129", "192.168.245.130"]
discovery.zen.minimum_master_nodes: 2
```

---

<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 18, 2017, 2:23am UTC](https://discuss.elastic.co/t/error-in-cluster-deployment-failed-to-send-join-request-to-master/90015/2 "2017-07-18T02:23:40Z")

</div>

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