# Data nodes unable to join masternode

**URL:** https://discuss.elastic.co/t/data-nodes-unable-to-join-masternode/151106
**Category:** Elasticsearch
**Tags:** elastic-stack-security
**Created:** [October 4, 2018, 7:06pm UTC](https://discuss.elastic.co/t/data-nodes-unable-to-join-masternode/151106 "2018-10-04T19:06:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rmadoori](https://avatars.discourse-cdn.com/v4/letter/r/47e85d/32.png) [@rmadoori](https://discuss.elastic.co/u/rmadoori)
#### Post date: [October 4, 2018, 7:06pm UTC](https://discuss.elastic.co/t/data-nodes-unable-to-join-masternode/151106/1 "2018-10-04T19:06:34Z")

</div>

Hi,

I have elasticsearch cluster with master node and 3 data nodes running in docker container.

Initially it came with basic license and i switched to trial license.  
`curl -XPUT 'http://0.0.0.0:9200/_xpack/license' -H "Content-Type: application/json" -d @license.json`

Ran above command to add trial license.

once i add this trial license data fails to join master with below error.

`[2018-10-04T19:00:45,986][DEBUG][r.suppressed] path: /, params: {} org.elasticsearch.ElasticsearchSecurityException: missing authentication token for REST request [/] at org.elasticsearch.xpack.core.security.support.Exceptions.authenticationError(Exceptions.java:24) ~[x-pack-core-6.3.0.jar:6.3.0]`

---

<div class="post-metadata">

### Author: ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)
#### Post date: [October 5, 2018, 12:27am UTC](https://discuss.elastic.co/t/data-nodes-unable-to-join-masternode/151106/2 "2018-10-05T00:27:02Z")

</div>

The log message you posted is unlikely to be causing problems with cluster formation.

1. It's a `DEBUG` message, not an actual error. Sometime the debug messages help understand the cause of problems, but cluster formation problems will report an actual `ERROR` or `WARN` message.
2. It's specically about `REST request [/]` and the nodes don't communicated with one another using the REST interface.
3. As @spinscale answered in your [other post](https://discuss.elastic.co/t/missing-authentication-token-for-rest-request/151103/2), this message means that you made a request to a node that requires authentication, but you didn't supply any credentials.

---

<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: [November 2, 2018, 12:34am UTC](https://discuss.elastic.co/t/data-nodes-unable-to-join-masternode/151106/3 "2018-11-02T00:34:19Z")

</div>

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