# CrateDB, could not discover another node

**URL:** <https://community.cratedb.com/t/cratedb-could-not-discover-another-node/390>\
**Category:** CrateDB\
**Created:** [May 20, 2020, 9:46am UTC](https://community.cratedb.com/t/cratedb-could-not-discover-another-node/390 "2020-05-20T09:46:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hackerwin7](https://sea2.discourse-cdn.com/flex020/user_avatar/community.cratedb.com/hackerwin7/32/161_2.png) [@hackerwin7](https://community.cratedb.com/u/hackerwin7)\
**Post date:** [May 20, 2020, 9:46am UTC](https://community.cratedb.com/t/cratedb-could-not-discover-another-node/390/1 "2020-05-20T09:46:26Z")

</div>

version is 4.1.5

node-1 config:

```auto
bootstrap.memory_lock : true
path.data: /data01/crate
network.host: ip1
discovery.seed_hosts:
    - ip1:4300
cluster.initial_master_nodes:
    - ip1
cluster.name: crate
node.name: ip1

```

node-2 config:

```auto
bootstrap.memory_lock : true
path.data: /data01/crate
network.host: ip-2
discovery.seed_hosts:
    - ip-1:4300
cluster.initial_master_nodes:
    - ip-1
cluster.name: crate
node.name: ip-2

```

the nodes can not discover each other, both elect itself as master

node-1 logs:

```auto
[2020-05-20T17:28:34,238][INFO][o.e.c.s.MasterService] [ip-1] elected-as-master ([1] nodes joined)[{ip-1}{yWjOEgS2SCyR7ZinzqkI0Q}{mg6gFhV7RWOPN4iO5bjajw}{ip-1}{ip-1:4300}{http_address=ip-1:4200} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 7, version: 57044, reason: master node changed {previous [], current [{ip-1}{yWjOEgS2SCyR7ZinzqkI0Q}{mg6gFhV7RWOPN4iO5bjajw}{ip-1}{ip-1:4300}{http_address=ip-1:4200}]}
[2020-05-20T17:28:34,373][INFO][o.e.c.s.ClusterApplierService] [ip-1] master node changed {previous [], current [{ip-1}{yWjOEgS2SCyR7ZinzqkI0Q}{mg6gFhV7RWOPN4iO5bjajw}{ip-1}{ip-1:4300}{http_address=ip-1:4200}]}, term: 7, version: 57044, reason: Publication{term=7, version=57044}

```

node-2 logs:

```auto
[2020-05-20T17:29:08,418][INFO][o.e.c.s.MasterService] [ip-2] elected-as-master ([1] nodes joined)[{ip-2}{JNXMIGEjSQeBgEcB-aHuQA}{8dm0i_vsRVKTTPFY4U7Kvw}{ip-2}{ip-2:4300}{http_address=ip-2:4200} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 6, version: 8553, reason: master node changed {previous [], current [{ip-2}{JNXMIGEjSQeBgEcB-aHuQA}{8dm0i_vsRVKTTPFY4U7Kvw}{ip-2}{ip-2:4300}{http_address=ip-2:4200}]}
[2020-05-20T17:29:08,569][INFO][o.e.c.s.ClusterApplierService] [ip-2] master node changed {previous [], current [{ip-2}{JNXMIGEjSQeBgEcB-aHuQA}{8dm0i_vsRVKTTPFY4U7Kvw}{ip-2}{ip-2:4300}{http_address=ip-2:4200}]}, term: 6, version: 8553, reason: Publication{term=6, version=8553}

```

---

<div class="post-metadata">

**Author:** ![MarkRatFelt](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@MarkRatFelt](https://community.cratedb.com/u/MarkRatFelt)\
**Post date:** [May 29, 2020, 9:14am UTC](https://community.cratedb.com/t/cratedb-could-not-discover-another-node/390/2 "2020-05-29T09:14:57Z")

</div>

Hi there,

I don’t know if you solved the issue already.

can you try this here in both configurations?:

```
discovery.seed_hosts:
- ip-1:4300
- ip-2:4300

cluster.initial_master_nodes:
- ip-1
- ip-2

```

And you have to make sure, that you can reach `ip-2:4300` from `ip-1` and vice-versa.
