Cloudflare Error 1015 is easy enough to explain, but I wanted to see what actually happens at the HTTP level when a rate limiting rule kicks in.
So I tested it on a domain running Cloudflare's Free plan using Ubuntu, curl, and Chrome.
The setup
Nothing complicated. I created a rate limiting rule targeting a single path, /getting-started, with the following settings:
- 5 requests per 10 seconds
- Counting characteristic: IP address
- Action: Block
- Block duration: 10 seconds
Before enabling the rule, all 12 test requests returned HTTP 200.
What happened after enabling the rule?
I ran a simple test against my own test domain:
for i in $(seq 1 8); do
curl -s -o /dev/null -w '%{http_code} ' \
https://test.nexaforge.si/getting-started
done
echo
The first five requests went through. Starting with request number six, Cloudflare returned HTTP 429.
Checking the blocked response revealed something useful: the Retry-After header was present, even though the browser's error page didn't display a countdown.
I also tried opening /changelog while the original path was blocked. It worked normally.
After waiting 11 seconds, the original page returned HTTP 200 again.
The interesting part: repeated retries
I wanted to check whether repeatedly refreshing the page would make any difference.
Sending one request every second resulted in 18 blocked requests out of 30.
With a three-second delay between requests, all 10 requests succeeded under this particular rule.
For me, this is a good example of why retry logic matters. A client that immediately retries every failed request can end up making the original problem worse.
What I'd check on a production website
Before increasing the rate limit or disabling the rule entirely, I'd look at Cloudflare's Security Events:
- Which rule triggered the block?
- Is the rule protecting a specific endpoint or the entire website?
- Could legitimate users be sharing the same public IP?
- Are automated clients handling HTTP 429 correctly?
Increasing the threshold without understanding the traffic might simply hide the underlying problem.
I've documented the full experiment, including dashboard screenshots, HTTP responses, commands, and troubleshooting steps for both visitors and website owners, here:
Cloudflare Error 1015 — Full test and troubleshooting notes
I'm also curious how others handle rate limiting on production websites, especially when legitimate users share an IP address.
This write-up is based on our documented tests, with AI assistance in drafting.
Top comments (0)