Cloudflare Error 1012: Access Denied
The site owner denied access because, in their view, malicious activity was coming from your device or network.
Updated · Prokso editorial team
- Error 1012 means the site owner denied access over malicious activity from your device or network
- Cloudflare names a virus or malware on the device as the most likely cause
- Update your antivirus and run a full system scan
What the error means
According to the Cloudflare documentation, error 1012 means access to the site is denied: the site owner blocks it because of malicious activity detected from the visitor's computer or network. Cloudflare names a virus or malware on the device as the most likely cause.
Through a proxy, the “network” for the site is the proxy's exit IP. The pool is shared, so the activity that triggered the rule may have been linked to the address before you.
As with other 10xx errors, Cloudflare does not override the site owner's security settings. Only the owner can open access.
Causes
- Malware on your device. It can send requests without your knowledge, and the site sees them together with yours.
- Suspicious activity from the exit IP. The rule may have been triggered for the address by requests made from it earlier.
- An overly aggressive program. Many parallel requests to a site can look like an attack to its protection.
- A browser extension with unwanted behavior. Some extensions make background requests to sites.
How to fix it
- Update your antivirus and run a full system scan: this is the first step Cloudflare recommends.
- Check your browser extensions and turn off those you did not install or do not use.
- Reduce the number of threads and the request rate to this site.
- Check which address the site sees: My IP.
- If you need access, write to the site owner with the Ray ID from the error text. You can find the owner's contacts through the domain's Whois.
How to check that it works
After checking your device, open the site in a regular browser. If the error remains while other sites work through the same proxy, the decision is up to the site owner. If access is restored, do not immediately return to the previous rate and number of threads: the rule may be triggered again.
Two-minute diagnosis
First paste the line into the proxy checker. If the proxy works there, the cause is in your app or its settings. If not, test the line from a terminal:
curl -v -x "http://USERNAME:PASSWORD@gw.prokso.com:823" https://api.ipify.org
- A
< HTTP/1.1 407line right afterCONNECTmeans the proxy answered. The name after the code, for exampleNO_USER, points to the cause. - The proxy answered
CONNECTwith 200 and then another code arrived - the proxy works, and that answer came from the website. - No answer at all, only a timeout - the connection never reached the proxy: check the host, port and network.
FAQ
Does 1012 mean my device is infected?
Not necessarily, but Cloudflare names it the most likely cause. An antivirus scan will rule out this option.
Can you lift the ban?
No. The rule is set by the site owner in Cloudflare, and we have no influence over it.
How is 1012 different from 1020?
1012 is related to detected malicious activity. 1020 is related to an access rule the owner configured by country, address or the shape of the request. See <a href="/en/errors/cloudflare-1020">Cloudflare 1020</a>.
Other proxy errors
Residential $1.59, mobile $2.50, datacenter $0.65 per GB
Sign up in a minute, get access right after payment.