Crowdsec LAPI not working for me

Started by Nephiria, Today at 12:54:01 AM

Previous topic - Next topic
Hi All,

Can someone help? I'm stuck.

Everything seems to be working fine, but there's apparently a problem I can't solve.

Everything seems to be working fine, but there's one problem I can't seem to fix.

... time="2026-02-22T00:49:24+01:00" level=error msg="auth-api: auth with api key failed return nil response, error: dial tcp 127.0.0.1:8080: connect: connection refused"

time="2026-02-22T00:49:24+01:00" level=error msg="Get "http://127.0.0.1:8080/v1/decisions/stream?additional_pull=false&community_pull=false\": dial tcp 127.0.0.1:8080: connect: connection refused"
I read that it might be blocked, but I've already opened ports 8080 and 6060 on the LAN, and I've also configured floating-point access. I've opened ports 127.0.0.1, but that doesn't seem to have any effect. What I find strange, though, is that even though I've configured the internal LAN, it's still trying to send its requests to the looping device.

Perhaps someone has an idea why LAPI can't connect.

Thanks in advance.