Enabling Proxy in DNS makes website slow, as soon as I remove proxy it's again become super fast
I have this website, which in some random times, does run, I mean it take 20 point something seconds for any request I make, either API or frontend page, but sometimes it works fine, as takes normal 1 seconds for any request. but when i disable the dns proxy, its again become super fast, I don't know what the issue is? please help and let me know if any more details are required?
9 Replies
Hi!! We're experiencing the same issue, any idea what could be happening?
Our site is hosted on Heroku and without proxy it's fast again.
With the proxy some requests take a long time, even the favicon (which is takes more than 30 seconds with proxy enabled.
Hi!
I just joined the server because I was having the same issue. Some resources in my site began throwing 522 errors since Friday (randomly), but I didn't change anything.
Also heroku with clouflare. I've just changed Proxy status to dns only, but does not work yet.. will update tomorrow.
Worked!
@Popeyeeeeee thanks for writing. Unfortunately setting to DNS only has may have consequences, so I'm not sure that is a proper fix (it's just disabling the proxy):
In addition to potentially exposing your origin IP addresses to bad actors and DDoS attacks ↗, leaving your records as DNS-only means that Cloudflare cannot optimize, cache, and protect requests to your application or provide analytics on those requests.https://arc.net/folder/BCA52EED-251B-4EB2-8C5B-0E0777AF0858
I have an enterprise plan, I talked to their support team, all he said is that the issue is from my hosting server and not from cloudfare. Such a weird response.
Just to give visibility in both posts: https://discord.com/channels/595317990191398933/1316341527181525032
Yes, considering that when disabling the proxy everything is fine (which hints that is fine on the end server).
also when I enable VPN and proxy's onn, it works fine, fast again
I made some research on the matter: https://community.cloudflare.com/t/enabling-proxying-in-dns-settings-causes-random-20-60-s-delays-in-requests/746307/3?u=tommi.gustafsson
If VPN helps, the problem is probably related to a specifc Cloudflare server.
Can confirm that switching the location (like physically visiting another city), resolves the problem. I guess it is related to that the connection uses another Cloudflare server.
Of course, the problem reappears when you return to the original city.
Thanks, for the detailed message. Yes I guess this is the issue as, from India and Turkey we are facing the issue, but from the UAE, they don't get this issue often, also sometimes changing the ISP also run it fast.
Don't know how we can solve this? can cloudflare team fix this in there end?
Unfortunately, the only fix has been to disable proxy in the DNS settings. 😕