Can't enroll new node in current cluster

When i try

bin\elasticsearch --enrollment-token MyErrollMent

It show an error

ERROR: Skipping security auto configuration because it appears that the node is not starting up for the first time. The node might already be part of a cluster and this auto setup utility is designed to configure Security for new clusters only.

I have seen a few posts about this error and i try :

  1. run bin/elasticsearch-reconfigure-node
  2. start elasticsearch service
  3. run bin\elasticsearch-create-enrollment-token -s node
  4. run bin\elasticsearch --enrollment-token
    and I still get this error.

My cluster heal is green.

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