Cloudflare error 1015: you are being rate limited
Error 1015 is a website's own rate limit, enforced for it by Cloudflare. The site owner set a rule for how many requests one visitor may make in a period, and the requests counted against you went over it. The block is temporary and comes from the website, not from your proxy. Cloudflare's advice to visitors is to wait, because repeated attempts can extend the block.
Reviewed by John Hale. Last updated .
What it looks like
Error 1015
You are being rate limitedHTTP/2 429
server: cloudflare
cf-ray: ...What does error 1015 mean?
Cloudflare's documentation describes 1015 as the result of rate limiting rules that the website owner configured: they restrict how many requests a visitor can make in a given period, and going over the limit returns 1015. Cloudflare does not decide who is limited. The 1015 code is written in the page body, and the HTTP status is 429 unless the owner chose another 4xx code.
What counts as one visitor is also the owner's choice. Every plan can count by IP address, and larger plans can count by other parts of the request, among them a cookie, a header, the path, the ASN or the country. So the counter you are in is not always your address.
A proxy changes whose count you share. On a shared or rotating exit you inherit what that address has already done on the site, and if the rule counts something that stays the same across your requests, such as a session cookie or an API key, a new address does not reset it.
What causes error 1015 through a proxy?
Most likely first.
- Your own request rate. Bursts, many parallel workers and loops without a pause cross a threshold quickly. Limits on a login, search or API path are often far lower than on ordinary pages.
- Retries that multiply the load. A client that retries a 429 at once turns one refused request into several, and Cloudflare notes that repeated attempts in a short time may extend the block.
- An exit other people used on the same site. On a shared exit, requests from other customers of the proxy count against the same address.
- A rule that counts something other than the address. If the same cookie, account or API key rides on every request, they all land in one counter whichever exit they leave from.
How do you confirm it and see how long to wait?
Check who answered
server: cloudflareand acf-rayheader after200 Connection establishedmean Cloudflare answered for the site, inside the tunnel. ARetry-Afterheader, when the response has one, is the wait in seconds.Status, sender and waitcurl -s -o body.html -D - -x http://HOST:PORT -U "USER:PASS" https://TARGET/ \ | grep -iE "^HTTP/|^server:|^cf-ray:|^retry-after:" grep -oiE "error code: [0-9]{4}|error [0-9]{4}" body.html | head -1Measure your own rate
Count requests per minute, per exit and per path in your logs, and note the count at which 1015 starts. That number is the rule, seen from outside.
See what the rule counts
If a request without your cookies or API key succeeds from the same exit while the normal one is still limited, the rule counts the session and not the address.
How do you fix error 1015?
Wait, then slow down
Stop sending for a while, as Cloudflare advises visitors. Then put a delay between requests and a cap on parallel workers, set below the count you measured.
Back off when you see 429
Honor
Retry-Afterwhen it is there, and otherwise wait longer after each refusal, with some randomness so workers do not retry together.Python: wait as told, or back offimport random, time def get(session, url, tries=5): for attempt in range(tries): r = session.get(url, timeout=30) if r.status_code != 429: return r retry_after = r.headers.get("Retry-After", "") time.sleep(int(retry_after) if retry_after.isdigit() else min(60, 2 ** attempt) + random.random()) return rAsk for more instead of working around the limit
A rate limit is the owner saying how much traffic they accept from one client. Spreading the same volume over more addresses defeats that limit rather than respecting it, and rules that count by cookie or account ignore the address anyway. If you need more than the limit allows, use the API the site offers or ask the owner.
If the site is yours
Review the rule's threshold and period under Security in the Cloudflare dashboard. Cloudflare suggests widening a very short period, for example from 1 second to 10. Exempt your own monitoring with a rule of its own rather than by raising the limit for everyone.
If you use TrueProxies
Error 1015 arrives inside the tunnel, after 200 Connection established, so it is the website's answer. The gateway's own refusals are always 407 with a reason in X-Proxy-Reason.
The gateway has one pause of its own that can look similar in a log. When nearly every connection from a service fails at its destination, new connections are refused for some seconds with a 407 whose reason begins Nearly every connection from this service failed to reach its destination. That is about destinations that fail, not about a site's rate limit.
A rotating session sends each request from a different exit and a sticky session keeps them on one. Neither changes the site's rule. Under the acceptable use policy you are responsible for following the terms and limits of every site you reach through the service.
Test the proxy from outside your network
The free proxy checker connects from our servers and reports the failed stage as a code, so you can tell a proxy problem from one on your computer or network.
Questions about Error 1015: You are being rate limited
What is error 1015?
A Cloudflare error page that means the website's rate limiting rule blocked your requests for a while. The site owner sets the rule; Cloudflare enforces it.
How long does error 1015 last?
As long as the owner's rule says. Cloudflare's documentation gives no fixed time. It says to wait and try again later, and that repeated attempts in a short period may extend the block.
Does changing IP fix error 1015?
It can move you to another counter, but it does not change the rule, and rules can count by cookie, account or other request details. What lasts is a request rate under the limit.
Is error 1015 from Cloudflare or from the website?
From the website. Cloudflare's documentation says it does not control which visitors are rate limited: the website owner sets these rules.
Related errors
429 Too Many Requests through a proxy
A rate limit, almost always the website's. Find what it counts, then send fewer requests.
Error 1006: Access denied (IP banned)
The site owner banned this IP address. Also covers 1007, 1008 and 1106, which mean the same.
403 Forbidden through a proxy
Usually the website's refusal after the tunnel opened; sometimes the proxy refusing the destination.
The proxy checker error codes page maps each checker code to the stage that failed, and proxy errors explained covers timeouts and slow connections.