I have registered an account https://app.crowdsec.net/
I just installed the Crowdsec plugin, but when the plugin is started, I can see
time="2025-04-28T10:35:40+02:00" level=fatal msg="api server init: unable to run local API: authenticate watcher (39c802cb69db11eda3cb207c14a24ab467P3tf3hl3fpnX7w): API error: Unauthenticated"
in /var/log/crowdsec/crowdsec.log
When I try to enroll the instance with the enrollment command provided in my Crowdsec dashboard, I get
cscli console enroll -e context cma0sq2mx0003ib08raXXXXXX
Error: could not enroll instance: Post "https://api.crowdsec.net/v3/watchers/enroll": API error: Unauthenticated
What's wrong?
Thanks
Roland
It works now after uninstalling the plugin and deleting the directory /usr/local/etc/crowdsec/. Then I reinstalled the plugin and everything worked.