crowdsecurity/cs-cloudflare-worker-bouncer

unable to cleanup existing workers: remove namespace: 'namespace has associated scripts: crowdsec-cloudflare-worker-bouncer' (10052) for account

Closed this issue · 1 comments

Hi,

Nothing's changed in my setup and this bouncer's been working fine for months. After doing a system reboot, the bouncer all of a sudden won't run. This loop is what happens every time I try to start it, and it exits with a fail.

On the Cloudflare side, after this process happens, the namespace is there but none of the domains have worker routes. When I run sudo crowdsec-cloudflare-worker-bouncer -d, it also spits out this error: unable to cleanup existing workers: remove namespace: 'namespace has associated scripts: crowdsec-cloudflare-worker-bouncer' (10052) for account [account]

Any ideas?

time="2024-11-10T06:53:35-06:00" level=info msg="Using API key auth"
time="2024-11-10T06:53:35-06:00" level=info msg="Cleaning up existing workers" account=[account]
time="2024-11-10T06:53:35-06:00" level=debug msg="Listing existing turnstile widgets" account=[account]
time="2024-11-10T06:53:35-06:00" level=debug msg="Done listing existing turnstile widgets" account=[account]
time="2024-11-10T06:53:35-06:00" level=debug msg="Done cleaning up existing turnstile widgets" account=[account]
time="2024-11-10T06:53:35-06:00" level=debug msg="Listing worker routes" account=[account] zone=[domain1]
time="2024-11-10T06:53:35-06:00" level=debug msg="Done listing worker routes" account=[account] zone=[domain1]
time="2024-11-10T06:53:35-06:00" level=debug msg="Listing worker routes" account=[account] zone=[domain2]
time="2024-11-10T06:53:36-06:00" level=debug msg="Done listing worker routes" account=[account] zone=[domain2]
time="2024-11-10T06:53:36-06:00" level=debug msg="Listing worker routes" account=[account] zone=[account].link
time="2024-11-10T06:53:36-06:00" level=debug msg="Done listing worker routes" account=[account] zone=[account].link
time="2024-11-10T06:53:36-06:00" level=debug msg="Listing worker routes" account=[account] zone=[domain3]
time="2024-11-10T06:53:36-06:00" level=debug msg="Done listing worker routes" account=[account] zone=[domain3]
time="2024-11-10T06:53:36-06:00" level=debug msg="Listing worker routes" account=[account] zone=[domain4]
time="2024-11-10T06:53:36-06:00" level=debug msg="Done listing worker routes" account=[account] zone=[domain4]
time="2024-11-10T06:53:36-06:00" level=debug msg="Listing worker routes" account=[account] zone=[domain5]
time="2024-11-10T06:53:37-06:00" level=debug msg="Done listing worker routes" account=[account] zone=[domain5]
time="2024-11-10T06:53:37-06:00" level=debug msg="Listing worker routes" account=[account] zone=[domain6]
time="2024-11-10T06:53:37-06:00" level=debug msg="Done listing worker routes" account=[account] zone=[domain6]
time="2024-11-10T06:53:37-06:00" level=debug msg="Listing worker routes" account=[account] zone=[domain7]
time="2024-11-10T06:53:37-06:00" level=debug msg="Done listing worker routes" account=[account] zone=[domain7]
time="2024-11-10T06:53:37-06:00" level=debug msg="Listing worker routes" account=[account] zone=[domain8]
time="2024-11-10T06:53:37-06:00" level=debug msg="Done listing worker routes" account=[account] zone=[domain8]
time="2024-11-10T06:53:37-06:00" level=debug msg="Listing worker routes" account=[account] zone=[domain9]
time="2024-11-10T06:53:38-06:00" level=debug msg="Done listing worker routes" account=[account] zone=[domain9]
time="2024-11-10T06:53:38-06:00" level=debug msg="Listing worker routes" account=[account] zone=[domain10]
time="2024-11-10T06:53:38-06:00" level=debug msg="Done listing worker routes" account=[account] zone=[domain10]
time="2024-11-10T06:53:38-06:00" level=debug msg="Listing worker KV Namespaces" account=[account]
time="2024-11-10T06:53:38-06:00" level=debug msg="Done listing worker KV Namespaces" account=[account]
time="2024-11-10T06:53:38-06:00" level=debug msg="Deleting worker KV Namespace with ID [namespaceid]" account=[account]
time="2024-11-10T06:53:38-06:00" level=fatal msg="unable to cleanup existing workers: remove namespace: 'namespace has associated scripts: crowdsec-cloudflare-worker-bouncer' (10052) for account [account]"

Hello,

We have published a pre-release that includes a fix for this issue, it will be promoted to release next week (most likely on tuesday).

In the meantime, you can either: