# URGENT: Handshake failed. unexpected remote node

**URL:** <https://discuss.elastic.co/t/urgent-handshake-failed-unexpected-remote-node/339796>\
**Category:** Elasticsearch\
**Created:** [August 1, 2023, 12:05pm UTC](https://discuss.elastic.co/t/urgent-handshake-failed-unexpected-remote-node/339796 "2023-08-01T12:05:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Piyush\_Goyal1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/piyush_goyal1/32/124180_2.png) [@Piyush\_Goyal1](https://discuss.elastic.co/u/Piyush_Goyal1)\
**Post date:** [August 1, 2023, 12:05pm UTC](https://discuss.elastic.co/t/urgent-handshake-failed-unexpected-remote-node/339796/1 "2023-08-01T12:05:00Z")

</div>

Version: 8.5.0

The cluster has 3 nodes:

node-001 (master)  
node-002 (data)  
node-003 (data)

The master node VM crashed and upon restarting the master node, the data nodes are not getting discovered. The cluster was running fine before

getting below error:

```auto

[2023-08-01T11:54:56,389][WARN][o.e.d.HandshakingTransportAddressConnector] [node-003] completed handshake with [{node-001}{BdJx0VGYSyqUUN8BEhd9Ew}{q-wCbboEQ6m8Ge5DQCAIBQ}{node-001}{172.17.0.1}{172.17.0.1:9300}{dimr}] at [172.31.67.22:9300] but followup connection to [172.17.0.1:9300] failed
org.elasticsearch.transport.ConnectTransportException: [node-001][172.17.0.1:9300] handshake failed. unexpected remote node {node-003}{uKPcP22bQoSZALc5xj34cA}{SXuW6ZkqRj6nbplBzMjQNg}{node-003}{172.17.0.1}{172.17.0.1:9300}{dir}{zone=search,aggregation, xpack.installed=true}
	at org.elasticsearch.transport.TransportService.lambda$connectionValidator$4(TransportService.java:462) ~[elasticsearch-8.5.0.jar:?]
	at org.elasticsearch.action.ActionListener$MappedActionListener.onResponse(ActionListener.java:121) ~[elasticsearch-8.5.0.jar:?]
	at org.elasticsearch.transport.TransportService.lambda$handshake$6(TransportService.java:560) ~[elasticsearch-8.5.0.jar:?]
	at org.elasticsearch.action.ActionListener$DelegatingFailureActionListener.onResponse(ActionListener.java:245) ~[elasticsearch-8.5.0.jar:?]
	at org.elasticsearch.action.ActionListenerResponseHandler.handleResponse(ActionListenerResponseHandler.java:43) ~[elasticsearch-8.5.0.jar:?]
	at org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler.handleResponse(TransportService.java:1362) ~[elasticsearch-8.5.0.jar:?]
	at org.elasticsearch.transport.InboundHandler.doHandleResponse(InboundHandler.java:369) ~[elasticsearch-8.5.0.jar:?]
	at org.elasticsearch.transport.InboundHandler$2.doRun(InboundHandler.java:361) ~[elasticsearch-8.5.0.jar:?]
	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:892) ~[elasticsearch-8.5.0.jar:?]
	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26) ~[elasticsearch-8.5.0.jar:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
	at java.lang.Thread.run(Thread.java:1589) ~[?:?]

```

---

<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:** [August 29, 2023, 12:05pm UTC](https://discuss.elastic.co/t/urgent-handshake-failed-unexpected-remote-node/339796/2 "2023-08-29T12:05:31Z")

</div>

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