OPNsense Forum

Archive => 22.7 Legacy Series => Topic started by: peterwkc on May 05, 2023, 10:25:40 AM

Title: Crowdsec cannot start
Post by: peterwkc on May 05, 2023, 10:25:40 AM
Dear all forumer, I had Crowdsec installed and configured according to the documentation but it cannot start after i press the start button. What wrong with it? Thanks.

Is this related to LAPI configuration wrong?? Please help. Thanks.
Title: Re: Crowdsec auto stop
Post by: peterwkc on May 09, 2023, 07:40:25 AM
Anyone willing to help me on this errors?
Title: Re: Crowdsec cannot start
Post by: iiAmLoz on May 09, 2023, 10:46:46 AM
Hey,

Posting on opnsense forums might get missed by us. We have https://discord.gg/crowdsec and https://discourse.crowdsec.net/ that we monitor.

You need to ssh into the machine and check /var/log/crowdsec.log to see what the error is happening.
Title: Re: Crowdsec cannot start
Post by: peterwkc on May 10, 2023, 05:36:06 AM
Thanks for pointing me the right direction.
Title: Re: Crowdsec cannot start
Post by: peterwkc on May 18, 2023, 09:30:35 AM
The error is as below:

Quotelevel=fatal msg="Starting outputs error: authenticated watcher (4c4c4458) Post " http://127.0..0.1:7171/v1/watchers/login\ "  Could not get jwt token. Post "http:127.0.0.1:7171/v1/watchers/login" read tcp 127.0.0.1:24555 -> "http://127.0.0.1:7171/ read: connection reset by peer.

I tried with reinstalled but no help either. I tried delete the local_api_credentials.yaml but no help also.

Please help.