Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloudflare IP Ban #83

Closed
leongersen opened this issue Feb 20, 2017 · 5 comments
Closed

Cloudflare IP Ban #83

leongersen opened this issue Feb 20, 2017 · 5 comments
Labels
completed Feature or request has been completed question Further information is requested

Comments

@leongersen
Copy link

Someone at my company decided to scrape some of our websites, hitting the weserv server an excessive amount of times. I guess some rate limit kicked in and -rightfully- banned our IP. Is there a way to get unbanned?

I yelled at my collegue and he won't do it again.

@andrieslouw
Copy link
Member

Please grab a coffee, bans only last for one hour, and should be lifted automatically (like magic!). If it happens more often, we could relax the limits a bit, if you let me know what you're trying to do in advance.

And yelling at your colleagues is never appropriate, maybe you could put them on coffee-duty for a week or so ;-)

@leongersen
Copy link
Author

leongersen commented Feb 20, 2017

Ah, great news, all is well again. I wouldn't dare to actually yell, I just look really disappointed and hope the message sticks. Thanks!

@noahbody-knows
Copy link

What is the actual limit, by the way? I've been playing with a Greasemonkey script to add cover thumbnails to a book site, and it tends to trip the ban within a few pages (at a couple hundred thumbnails per page).

One rather surprising thing about it is that loading the same images from a different IP results in a ban for that second IP, even though it seems those images should already be being cached by CloudFlare and not counted towards the limits at that point? Or is that not how it works?

@andrieslouw
Copy link
Member

andrieslouw commented Feb 26, 2017

The limit is around 700 images per 3 minutes. CloudFlare works a bit like magic, because the caching is done per datacenter. With around 100+ datacenters, it could be that your second IP is hitting another datacenter.

@andrieslouw andrieslouw added completed Feature or request has been completed question Further information is requested and removed completed Feature or request has been completed labels Mar 28, 2017
@kleisauke
Copy link
Member

We've refined our rate limiter in API version 5. It's now easy to check show your current rate limit quota:
https://images.weserv.nl/news/2019/09/01/introducing-api-5/#improved-rate-limiter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
completed Feature or request has been completed question Further information is requested
Development

No branches or pull requests

4 participants