How to test CAPTCHA with crowdsec-haproxy-spoa-bouncer

Hello, I'm new to crowdsec and really impressed with it so far. I think I've got crowdsec-haproxy-spoa-bouncer setup correctly using the v0.0.5-rc2 release (I'm using turnstile so needed that, thank you) How do I test the CAPTCHAs? If I go to my site normally I am allowed in. If I set cscli decisions add --ip my.ip.ad.dr --type captcha I get the captcha and pass it but I am redirected to the CAPTCHA page again. Is there some other way to test it? (OS Ubuntu 24.04 HAProxy 2.8.5) Thanks all 🙂
9 Replies
CrowdSec
CrowdSec4mo ago
Important Information
This post has been marked as resolved. If this is a mistake please press the red button below or type /unresolve
© Created By WhyAydan for CrowdSec ❤️
Loz
Loz4mo ago
When you pass the captcha, do you see any useful logs in the haproxy spoa?
orangepeel
orangepeelOP4mo ago
Nothing I find useful (these are the haproxy logs)
Loz
Loz4mo ago
I meant the haproxy spoa logs, not haproxy should be /var/log/crowdsec-spoa-bouncer.log
orangepeel
orangepeelOP4mo ago
sorry took a while to clean up
orangepeel
orangepeelOP4mo ago
is there a way to get it to log the captcha stuff at debug but not everything?
Loz
Loz4mo ago
Can you just DM me the log? cause it just cut off right after it asked to validate the data
orangepeel
orangepeelOP3mo ago
Thanks for you help on this @Loz putting it down to a firefox bug for now as that is the only browser showing the issue
CrowdSec
CrowdSec3mo ago
Resolving How to test CAPTCHA with crowdsec-haproxy-spoa-bouncer This has now been resolved. If you think this is a mistake please run /unresolve

Did you find this page helpful?