Error while enrolling: empty access_token

Hello World!

I'm using Elastic stack 6.7.1 and trying to follow Enroll Beats in central management, yet running into following issue:

# filebeat enroll --force https://X.X.X:443 --username elastic --password stdin
Enter password: 
Error while enrolling: empty access_token
# echo $?
1
# filebeat version
filebeat version 6.7.0 (amd64), libbeat 6.7.0 [14ca49c28a6e10b84b4ea8cdebdc46bd2eab3130 built 2019-03-21 14:33:56 +0000 UTC]
# 

Above method used to work w/ 6.6.X (Error creating a new enrollment token), yet broken in 6.7.X(

Please advise.

Just try remove some file at /var/lib/filebeat/* and try again , It's going to work again.

i used following:

apt-get remove filebeat && apt-get purge filebeat && apt-get install filebeat

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