# Elasticsearch master(8.0.0) nodes can't form into a cluster

**URL:** <https://discuss.elastic.co/t/elasticsearch-master-8-0-0-nodes-cant-form-into-a-cluster/243153>\
**Category:** Elasticsearch\
**Created:** [July 30, 2020, 3:52am UTC](https://discuss.elastic.co/t/elasticsearch-master-8-0-0-nodes-cant-form-into-a-cluster/243153 "2020-07-30T03:52:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vsop\_479](https://avatars.discourse-cdn.com/v4/letter/v/6f9a4e/32.png) [@vsop\_479](https://discuss.elastic.co/u/vsop_479)\
**Post date:** [July 30, 2020, 3:52am UTC](https://discuss.elastic.co/t/elasticsearch-master-8-0-0-nodes-cant-form-into-a-cluster/243153/1 "2020-07-30T03:52:49Z")

</div>

I configured three nodes with elasticsearch master branch（8.0.0）,but they can't form into a cluster. It seems they don't attempt to connection each other.  
Here is my configuration:  
node1:

```auto
cluster.name: es-cluster
node.name: 127.0.0.1.0
node.master: true
node.data: true
path.data: /data0/es0/data
path.logs: /data0/es0/logs
network.host: 127.0.0.1
http.port: 9200
http.cors.enabled: true
transport.type: netty4
transport.port: 9300
bootstrap.memory_lock: true
discovery.seed_hosts:
  - 127.0.0.1:9300
  - 127.0.0.1:9301
  - 127.0.0.1:9302
cluster.initial_master_nodes:
  - 127.0.0.1.0
  - 127.0.0.1.1
  - 127.0.0.1.2

```

node2:

```auto
cluster.name: es-cluster
node.name: 127.0.0.1.1
node.master: true
node.data: true
path.data: /data0/es1/data
path.logs: /data0/es1/logs
network.host: 127.0.0.1
http.port: 9201
http.cors.enabled: true
transport.type: netty4
transport.port: 9301
bootstrap.memory_lock: true
discovery.seed_hosts:
  - 127.0.0.1:9300
  - 127.0.0.1:9301
  - 127.0.0.1:9302
cluster.initial_master_nodes:
  - 127.0.0.1.0
  - 127.0.0.1.1
  - 127.0.0.1.2

```

node3:

```auto
cluster.name: es-cluster
node.name: 127.0.0.1.2
node.master: true
node.data: true
path.data: /data0/es2/data
path.logs: /data0/es2/logs
network.host: 127.0.0.1
http.port: 9202
http.cors.enabled: true
transport.type: netty4
transport.port: 9302
bootstrap.memory_lock: true
discovery.seed_hosts:
  - 127.0.0.1:9300
  - 127.0.0.1:9301
  - 127.0.0.1:9302
cluster.initial_master_nodes:
  - 127.0.0.1.0
  - 127.0.0.1.1
  - 127.0.0.1.2

```

Here is node1's response, it is same to other nodes :  
curl -XGET localhost:9200

```auto
{
  "name" : "127.0.0.1.0",
  "cluster_name" : "es-cluster",
  "cluster_uuid" : "_na_",
  "version" : {
    "number" : "8.0.0",
    "build_flavor" : "unknown",
    "build_type" : "unknown",
    "build_hash" : "unknown",
    "build_date" : "unknown",
    "build_snapshot" : true,
    "lucene_version" : "8.6.0",
    "minimum_wire_compatibility_version" : "7.10.0",
    "minimum_index_compatibility_version" : "7.0.0"
  },
  "tagline" : "You Know, for Search"
}

```

curl -XGET localhost:9200/\_cat/health

```auto
{"error":{"root_cause":[{"type":"master_not_discovered_exception","reason":null}],"type":"master_not_discovered_exception","reason":null},"status":503}

```

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 30, 2020, 3:59am UTC](https://discuss.elastic.co/t/elasticsearch-master-8-0-0-nodes-cant-form-into-a-cluster/243153/2 "2020-07-30T03:59:03Z")

</div>

Why are you running master?  
What do your logs show?

---

<div class="post-metadata">

**Author:** ![vsop\_479](https://avatars.discourse-cdn.com/v4/letter/v/6f9a4e/32.png) [@vsop\_479](https://discuss.elastic.co/u/vsop_479)\
**Post date:** [July 31, 2020, 3:02am UTC](https://discuss.elastic.co/t/elasticsearch-master-8-0-0-nodes-cant-form-into-a-cluster/243153/3 "2020-07-31T03:02:20Z")

</div>

@warkolm It was a SocketPermission problem, which result in each node connect failed to others.  
I configed log in a wrong way, and the connect\_exception log is in a debug level, so I had not found the connect\_exception log.

---

<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 28, 2020, 3:02am UTC](https://discuss.elastic.co/t/elasticsearch-master-8-0-0-nodes-cant-form-into-a-cluster/243153/4 "2020-08-28T03:02:28Z")

</div>

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