I have disabled local API and after that I am seeing errors in crowdsec-firewall-bouncer.log every 10 seconds:
time="16-09-2023 18:16:46" 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="16-09-2023 18:16:46" level=error msg="failed to connect to LAPI, retrying in 10s: Get \"http://127.0.0.1:8080/v1/decisions/stream?startup=true\": dial tcp 127.0.0.1:8080: connect: connection refused"
Looks like the API IP is still read from the LAPI section in config. If I enable LAPI, change the LAPI IP to the remote IP, then disable LAPI, it seems to work ok.
I have disabled local API and after that I am seeing errors in
crowdsec-firewall-bouncer.log
every 10 seconds:Looks like the API IP is still read from the LAPI section in config. If I enable LAPI, change the LAPI IP to the remote IP, then disable LAPI, it seems to work ok.