# Cannot join nodes to master

**URL:** <https://discuss.elastic.co/t/cannot-join-nodes-to-master/215166>\
**Category:** Elasticsearch\
**Created:** [January 15, 2020, 3:43pm UTC](https://discuss.elastic.co/t/cannot-join-nodes-to-master/215166 "2020-01-15T15:43:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Julio\_Edel\_Salas\_Dia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/julio_edel_salas_dia/32/60836_2.png) [@Julio\_Edel\_Salas\_Dia](https://discuss.elastic.co/u/Julio_Edel_Salas_Dia)\
**Post date:** [January 15, 2020, 3:43pm UTC](https://discuss.elastic.co/t/cannot-join-nodes-to-master/215166/1 "2020-01-15T15:43:28Z")

</div>

I am trying to create an elasticsearch cluster with several nodes, I have 3 master nodes, but every time they try to join it gives this error.

```auto
[2020-01-15T15:37:21,421][WARN][o.e.c.c.Coordinator] [emc-master-03] failed to validate incoming join request from node [{emc-cliente-01}{iqUQMm0fQJCJTpPxZH8N4g}{iTqfES1CRM6BKSSOQb30LQ}{10.28.11.1}{10.28.11.1:9300}{il}{ml.machine_memory=2684354560, ml.max_open_jobs=20, xpack.installed=true}]
org.elasticsearch.transport.ReceiveTimeoutTransportException: [emc-cliente-01][10.28.11.1:9300][internal:cluster/coordination/join/validate] request_id [21] timed out after [60034ms]
    at org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:1022) [elasticsearch-7.5.1.jar:7.5.1]
    at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:703) [elasticsearch-7.5.1.jar:7.5.1]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
    at java.lang.Thread.run(Thread.java:830) [?:?]

```

HELP!!!!

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [January 15, 2020, 4:47pm UTC](https://discuss.elastic.co/t/cannot-join-nodes-to-master/215166/2 "2020-01-15T16:47:55Z")

</div>

Hey @Julio_Edel_Salas_Dia, there's not a lot of information in this single log message except that the node took over 60 seconds to join the cluster and hit a timeout. To get a more useful answer you'll need to share all your logs from all the nodes. Use something like [https://gist.github.com/](https://gist.github.com/) since there will be more information than will fit in a post here.

(I've reformatted your logs; please format your posts carefully in future or else they're likely to get ignored)

---

<div class="post-metadata">

**Author:** ![Julio\_Edel\_Salas\_Dia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/julio_edel_salas_dia/32/60836_2.png) [@Julio\_Edel\_Salas\_Dia](https://discuss.elastic.co/u/Julio_Edel_Salas_Dia)\
**Post date:** [January 15, 2020, 9:12pm UTC](https://discuss.elastic.co/t/cannot-join-nodes-to-master/215166/3 "2020-01-15T21:12:22Z")

</div>

@DavidTurner  
From the previous problem I found a partial solution: if I put all the nodes on the same host there is no problem, it does not work when on different hosts (servers) and log something like this:

`spacesorg.elasticsearch.transport.ReceiveTimeoutTransportException: [emc-master-02] 10.28.11.7:9300][internal:cluster/coordination/join/validate] request_id [48] timed out after [60035ms]`

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [January 15, 2020, 9:53pm UTC](https://discuss.elastic.co/t/cannot-join-nodes-to-master/215166/4 "2020-01-15T21:53:32Z")

</div>

I can't really offer any advice from this tiny fragment of information alone.

---

<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 12, 2020, 9:53pm UTC](https://discuss.elastic.co/t/cannot-join-nodes-to-master/215166/5 "2020-02-12T21:53:36Z")

</div>

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