we started getting 502 errors on Firefox only. They are kind of alternating. If I continuously refresh the page, I get one 502 error, one normal page, one 502 error, one normal, …
The site is behind AWS load balancer. The same thing does not happen on Chrome and also if I take Cloudflare proxy out and serve DNS only it works fine on Firefox again.
Does anybody have any ideas?
We are on paid plan. So, that’s not the issue here. Also, I’m not sure the issue I have is the same. I’m getting 502’s not 520’s. And, I am only getting them on Firefox never on Chrome.
May I suggest looking at the below articles:
Try the suggestions in this Community Tip to help you fix Error 502 / Error 504: Bad Gateway / Gateway Timeout.
The 502 / 504 errors are quite similar. Generally, a HTTP 502 / 504 errors occurs because your origin server (e.g. your web host) is returning this code to us, and Cloudflare returns this code in turn to your visitors. They are caused by a problem connecting to an upstream server - meaning your server is trying to initiate a process and this fails to work as expecte…
Have you checked if you block any Cloudflare connections to your origin host / server?
Like if you have some Firewall or?
In this case, kindly follow the instructions from the below article to whitelist and allow Cloudflare to connect to your origin host / server if so:
Cloudflare IP addresses list can be found here:
Where is your AWS lb hosted? I’m also seeing some 502s in Singapore from Linode VM…
still figuring things out
None of this applies. As I said, this error only appears on Firefox and never on Chrome for multiple people who tried. When any of us uses Firefox, we see these 502’s randomly. But, same person same pc with Chrome never sees them.
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.