# Errors on fresh install

**URL:** <https://discuss.elastic.co/t/errors-on-fresh-install/206982>\
**Category:** Elasticsearch\
**Created:** [November 7, 2019, 3:43pm UTC](https://discuss.elastic.co/t/errors-on-fresh-install/206982 "2019-11-07T15:43:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JH82](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jh82/32/45952_2.png) [@JH82](https://discuss.elastic.co/u/JH82)\
**Post date:** [November 7, 2019, 3:43pm UTC](https://discuss.elastic.co/t/errors-on-fresh-install/206982/1 "2019-11-07T15:43:18Z")

</div>

Hello,

I've build a new cluster with 2 nodes. All works fine without Xpack security.  
When I enabled security and when I try to check the communication with the second node I've this error :

> {  
> "error" : {  
> "root\_cause" : [  
> {  
> "type" : "master\_not\_discovered\_exception",  
> "reason" : null  
> }  
> ],  
> "type" : "master\_not\_discovered\_exception",  
> "reason" : null  
> },  
> "status" : 503  
> }

node 1 has this configuration : (the node 2 has the same config named el2 and his IP is 10.0.0.82

```
cluster.name: elcluster
node.name: el1
network.host: 10.0.0.81
http.port: 9200
discovery.seed_hosts: ["el1", "el2"]
cluster.initial_master_nodes: ["el1", "el2"]
xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.keystore.path: certs/elastic-certificates.p12
xpack.security.transport.ssl.truststore.path: certs/elastic-certificates.p12

```

Check health (missing one node)

> ```
> > {
> > "cluster_name" : "elcluster",
> > "status" : "yellow",
> > "timed_out" : false,
> > "number_of_nodes" : 1,
> > "number_of_data_nodes" : 1,
> > "active_primary_shards" : 3,
> > "active_shards" : 3,
> > "relocating_shards" : 0,
> > "initializing_shards" : 0,
> > "unassigned_shards" : 1,
> > "delayed_unassigned_shards" : 0,
> > "number_of_pending_tasks" : 0,
> > "number_of_in_flight_fetch" : 0,
> > "task_max_waiting_in_queue_millis" : 0,
> > "active_shards_percent_as_number" : 75.0
> > }
> 
> ```

My root problem, I think, is why I can't have the same password on each node for elastic user.

when I try to force a password change for elastic user, I've the following error 🙂

> {  
> "error" : {  
> "root\_cause" : [  
> {  
> "type" : "status\_exception",  
> "reason" : "Cluster state has not been recovered yet, cannot write to the [null] index"  
> }  
> ],  
> "type" : "status\_exception",  
> "reason" : "Cluster state has not been recovered yet, cannot write to the [null] index"  
> },  
> "status" : 503  
> }

Any idea to help me to troubleshoot this situation ?

thank you for your help !!

Regards.

---

<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:** [December 5, 2019, 3:43pm UTC](https://discuss.elastic.co/t/errors-on-fresh-install/206982/2 "2019-12-05T15:43:23Z")

</div>

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