Cloudflare Blocked Access
When using the query API, in order to display the nicknames of our admins by flags, after a while it just began to display a similar message that this IP was banned by CloudFlare. Is there any way to solve this?
20 Replies
Don't go over the rate limits.
You will have to wait till the IP ban ends.
While that happens fix your coding to follow rate limits of 5 per second/60 per minute.
ok, thx.
How long does the ban last approximately?
Actually the reason states you didn't hit rate limit
Your code caused Cloudflare to flag your IP as a security threat,
So what ever your doing you should not be.
Please follow API coding.
Ohh
Ok
"The action you just performed triggered the security solution. there are several actions that could trigger this block including a certain word or phrase, a SQL command or malformed data."Read the actual return next time for reasons.
But I hope this lock is temporary, in this case?
Have you tested another simple endpoint?
EG:
https://api.battlemetrics.com/servers/29279920?include=player
yes
Wait, in terms of another one?
I tested with my connected servers in battlemetrics
Im not talking about browser.
Im talking about API it self.
Run another API Code to see if your still blocked.
What endpoint were you using to cause that issue in the first place?
And I didn't find any "injection" in my code, or anything that could lead to blocking from cloudflare.
At the moment, I have another bot for discord and it works on the same host, everything is fine with it. It's just very strange.
The screenshot shows the code for extracting the information I need from my servers
1 seconds
Whats the actual endpoint your using?
well it must have been a malformed request then.
is this the only time it's occured?
Yes
Cloudflare Ray ID: 8ee42f85ad13e4e1
then i say just leave it for now.
if it occurs again, Come back,
Pull the ray ID Like i have above & hordicus can look further into it.Ok, thanks
@Hordicus looks like others are reporting the same.
This one has a Ray ID if you could check.
We had a new AI bot blocking rule that seems to really hate Python so we're rolling that back for now.