we are using cloudflare DNS and proxy is opened. Last 8 hours, we are getting connecting error to our servers. If i close proxy everything get normally but if i opened we are getting a lots of 522 and 499 errors. We dont have any firewall and my servers works goods. Why if i use proxy my website performance getting bad? How can i find the problem ? i have to find which Cloudflare IP’s can not connect my server. How can i learn that ?
Error 522 occurs when Cloudflare times out contacting the origin web server. Two different timeouts cause HTTP error 522 depending on when they occur between Cloudflare and the origin web server:
Before a connection is established, the origin web server does not return a SYN+ACK to Cloudflare within 15 seconds of Cloudflare sending a SYN.
After a connection is established, the origin web server doesn’t acknowledge (ACK) Cloudflare’s resource request within 90 seconds.
(Most common cause) Cloudflare IP addresses are rate limited or blocked in .htaccess, iptables, or firewalls. Confirm your hosting provider allows Cloudflare IP addresses.
An overloaded or offline origin web server drops incoming requests.
The origin IP address in your Cloudflare DNS app does not match the IP address currently provisioned to your origin web server by your hosting provider.