Skip to content

Unable to Connect to Bouncer #91

Description

@kintaroju

I filled up the API key information as mentioned in the documentation, but that didn't help. Below are the logs from the bouncer (Side note this is a VM with HassOS setup):

[12:29:09] INFO: Running Crowdsec addon
[12:29:09] INFO: -> Replacing environment variables
[12:29:09] INFO: -> Validating config file
time="2025-11-26T12:29:09-08:00" level=debug msg="Ignoring deprecated 'pid_dir' option"
time="2025-11-26T12:29:09-08:00" level=info msg="Starting crowdsec-firewall-bouncer v0.0.34-4144555453620958398aee64253dfd90bbc1f698"
time="2025-11-26T12:29:09-08:00" level=info msg="backend type: nftables"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv4 enabled"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv4: true, table: crowdsec, chain: crowdsec-chain, blacklist: crowdsec-blacklists, set-only: false"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv6 enabled"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv6: true, table6: crowdsec6, chain6: crowdsec6-chain, blacklist: crowdsec6-blacklists, set-only6: false"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: Init()"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv4 init starting"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv4 own table"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv4 chain 'crowdsec-chain-input' created"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv4 table created"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv6 init starting"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv6 own table"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv6 chain 'crowdsec6-chain-input' created"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv6 table created"
time="2025-11-26T12:29:09-08:00" level=info msg="nftables initiated"
time="2025-11-26T12:29:09-08:00" level=info msg="Using API key auth"
time="2025-11-26T12:29:09-08:00" level=info msg="config is valid"
time="2025-11-26T12:29:09-08:00" level=info msg="Shutting down backend"
time="2025-11-26T12:29:09-08:00" level=info msg="removing 'crowdsec' table"
time="2025-11-26T12:29:09-08:00" level=info msg="removing 'crowdsec6' table"
[12:29:09] INFO: -> Starting crowdsec-firewall-bouncer
time="2025-11-26T12:29:09-08:00" level=debug msg="Ignoring deprecated 'pid_dir' option"
time="2025-11-26T12:29:09-08:00" level=info msg="Starting crowdsec-firewall-bouncer v0.0.34-4144555453620958398aee64253dfd90bbc1f698"
time="2025-11-26T12:29:09-08:00" level=info msg="backend type: nftables"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv4 enabled"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv4: true, table: crowdsec, chain: crowdsec-chain, blacklist: crowdsec-blacklists, set-only: false"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv6 enabled"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv6: true, table6: crowdsec6, chain6: crowdsec6-chain, blacklist: crowdsec6-blacklists, set-only6: false"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: Init()"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv4 init starting"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv4 own table"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv4 chain 'crowdsec-chain-input' created"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv4 table created"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv6 init starting"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv6 own table"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv6 chain 'crowdsec6-chain-input' created"
time="2025-11-26T12:29:09-08:00" level=debug msg="nftables: ipv6 table created"
time="2025-11-26T12:29:09-08:00" level=info msg="nftables initiated"
time="2025-11-26T12:29:09-08:00" level=info msg="Using API key auth"
time="2025-11-26T12:29:09-08:00" level=debug msg="InsecureSkipVerify is set to false"
time="2025-11-26T12:29:09-08:00" level=warning msg="The 'daemonize' config option is deprecated and treated as always true"
time="2025-11-26T12:29:09-08:00" level=info msg="Processing new and deleted decisions . . ."
time="2025-11-26T12:29:09-08:00" level=debug msg="[URL] GET http://424ccef4-crowdsec:8080/v1/decisions/stream?additional_pull=false&community_pull=false&startup=true"
time="2025-11-26T12:29:09-08:00" level=debug msg="req-api: GET http://424ccef4-crowdsec:8080/v1/decisions/stream?additional_pull=false&community_pull=false&startup=true"
time="2025-11-26T12:29:12-08:00" level=error msg="auth-api: auth with api key failed return nil response, error: dial tcp 172.30.33.7:8080: connect: no route to host"
time="2025-11-26T12:29:12-08:00" level=error msg="Get "http://424ccef4-crowdsec:8080/v1/decisions/stream?additional_pull=false&community_pull=false&startup=true\": dial tcp 172.30.33.7:8080: connect: no route to host"
time="2025-11-26T12:29:12-08:00" level=info msg="Shutting down backend"
time="2025-11-26T12:29:12-08:00" level=info msg="removing 'crowdsec' table"
time="2025-11-26T12:29:12-08:00" level=info msg="removing 'crowdsec6' table"
time="2025-11-26T12:29:12-08:00" level=fatal msg="process terminated with error: bouncer stream halted"
if: fatal: unable to spawn s6-test: No such file or directory
[12:29:13] INFO: Running Crowdsec addon
[12:29:13] INFO: -> Replacing environment variables
[12:29:13] INFO: -> Validating config file
time="2025-11-26T12:29:13-08:00" level=debug msg="Ignoring deprecated 'pid_dir' option"
time="2025-11-26T12:29:13-08:00" level=info msg="Starting crowdsec-firewall-bouncer v0.0.34-4144555453620958398aee64253dfd90bbc1f698"
time="2025-11-26T12:29:13-08:00" level=info msg="backend type: nftables"
time="2025-11-26T12:29:13-08:00" level=debug msg="nftables: ipv4 enabled"
time="2025-11-26T12:29:13-08:00" level=debug msg="nftables: ipv4: true, table: crowdsec, chain: crowdsec-chain, blacklist: crowdsec-blacklists, set-only: false"
time="2025-11-26T12:29:13-08:00" level=debug msg="nftables: ipv6 enabled"
time="2025-11-26T12:29:13-08:00" level=debug msg="nftables: ipv6: true, table6: crowdsec6, chain6: crowdsec6-chain, blacklist: crowdsec6-blacklists, set-only6: false"
time="2025-11-26T12:29:13-08:00" level=debug msg="nftables: Init()"
time="2025-11-26T12:29:13-08:00" level=debug msg="nftables: ipv4 init starting"
time="2025-11-26T12:29:13-08:00" level=debug msg="nftables: ipv4 own table"
time="2025-11-26T12:29:13-08:00" level=debug msg="nftables: ipv4 chain 'crowdsec-chain-input' created"
time="2025-11-26T12:29:13-08:00" level=debug msg="nftables: ipv4 table created"
time="2025-11-26T12:29:13-08:00" level=debug msg="nftables: ipv6 init starting"
time="2025-11-26T12:29:13-08:00" level=debug msg="nftables: ipv6 own table"
time="2025-11-26T12:29:13-08:00" level=debug msg="nftables: ipv6 chain 'crowdsec6-chain-input' created"
time="2025-11-26T12:29:13-08:00" level=debug msg="nftables: ipv6 table created"
time="2025-11-26T12:29:13-08:00" level=info msg="nftables initiated"
time="2025-11-26T12:29:13-08:00" level=info msg="Using API key auth"
time="2025-11-26T12:29:13-08:00" level=info msg="config is valid"
time="2025-11-26T12:29:13-08:00" level=info msg="Shutting down backend"
time="2025-11-26T12:29:13-08:00" level=info msg="removing 'crowdsec' table"
time="2025-11-26T12:29:13-08:00" level=info msg="removing 'crowdsec6' table"
[12:29:13] INFO: -> Starting crowdsec-firewall-bouncer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions