Getting blocked by Cloudflare WAF

Hi! We are currently using Supabase Edge Function which spins up every 10 seconds and process things from our queue. We are currently running into this problem when sending things to the Supabase Queue.
This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data
This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data
Happy to send the Ray ID and IP that is being blocked if that helps pinpoint the issue, please let me know how we can resolve this.
7 Replies
Kiwiboi
KiwiboiOP2w ago
For some more context: this issue wasn't happening before, we got a huge number of requests recently and this error started to appear. Any help would be appreciated
mide
mide2w ago
I can help with that it looks like Cloudflare (or a similar WAF) is blocking your requests due to the sudden spike in traffic or certain request patterns being flagged as suspicious. Can you confirm if you’re using Cloudflare in front of your Supabase Edge Function, and if so, do you have any rate limiting or security rules recently enabled or changed?
Kiwiboi
KiwiboiOP2w ago
Hi @mide . Our domain DNS is managed through Cloudflare, so I belive that traffic goes through their network before reaching our Vercel-hosted application. Vercel invokes the Supabase Edge Function We haven't made any recent changes to rate limiting or security rules on our end, could the spike in traffic be triggering Cloudflare's security? Let me know what I can do and thank u!
garyaustin
garyaustin2w ago
@mide you have been warned about crossing the line and asking users to DM you. I suspect you are the same user we have banned in the past. And am doing so now. Edit: They deleted their post as I was posting and asked for the OP to DM them.
Kiwiboi
KiwiboiOP2w ago
@garyaustin thank you for warning about this. Regarding the issue on blocked by cloudflare, is there any solution for this?
garyaustin
garyaustin2w ago
Sorry, not something I know about. Mide I think was using an AI to generate nice answers but not really on topic. I've not seen this messages before.
But now there are many posts on this thread and not sure others will look. You might also try support and an issue in supabase/supabase github. Not much out there on some of your error key words and Supabase. I would not think 10 seconds would be a rate limit, but I've seen no info from SB about what they do screen for (maybe for security reasons). https://community.cloudflare.com/t/access-to-supabase-co-being-blocked/842721
Kiwiboi
KiwiboiOP2w ago
I see. Alright thank you @garyaustin !

Did you find this page helpful?