Try the suggestions in this Community Tip to help you fix “Access was denied Error code 1020” when visiting a site protected by Cloudflare.
While visiting a site protected by Cloudflare, you may see an error indicating you do not have access to a given site and you are presented the error:
The site owner may have set restrictions that prevent you from accessing the site. Contact the site owner for access or try loading the page again.
The access policies of a site define which visits are allowed. Your current visit is not allowed according to those policies. Only the site owner can change site access policies.
Quick Fix Ideas
If you are visiting the site, contact the site owner and let them know that you received the Access denied error and ask them to check their Firewall Rules. Only the owner of the site you’re visiting can tell you why you are unable to access the site. Contacting Support or posting here will not result in an answer.
If you are the site owner and you want to isolate what rule is being violated, first review your Firewall Rules. Next, turn off the firewall rules to see if the challenge goes away. Turn them all off, check, and if the error goes away, begin to turn them on one at a time. After you assess the cause of the block, either update the Firewall Rule or allow the visitor’s IP address in IP Access Rules .
Alternatively, search for the RAYID in the Firewall Events Log to determine which rule is being violated.
You can verify the issue is caused by your Firewall if you disable Cloudflare and then visit the site. See How do I disable Cloudflare?
If you only want to protect a portion of your site or isolate what rule is being violated, turn off WAF for the entire domain and use Page Rules to enable WAF for specific URLs.
If you encounter the error 1020, you’re violating a firewall rule the site owner has put in place, the error has nothing to do with Cloudflare Access.
This is a Cloudflare Community Tip, to review other tips, click here.
Çevirmek…traduzir…翻译…traducir…Traduire…Übersetzen… Translate this Tip