Big trouble: i’ve got random 502 Bad Gateway error on some subdomains of my service.
Maybe someone else has had my same problem and he’s fixed it!
Both go to my unique server and both use the same code to run.
No errors on any of server’s log file.
Both have a couple of CNAME record on my Cloudflare’s DNS setting (example)
The first one URL returns some of 502 errors trying to load some resources files (js, html, php) form my server.
The second one URL loads the same files with no problem
Both return the same Cloudflare IP using ping
I tried to call the url with 502’s problem using www prefix: http://www.subdomain1.mydomain.com
Tried to turn off the orange cloud icon on CNAME record on the url: http://subdomain1.mydomain.com
http://subdomain1.mydomain.com -> with GRAY CLOUD ICON -> WORKS!!!
After that back again to ORANGE CLOUD ICON but now… IT WORKS!
I think it’s a CloudFlare problem…
Hope someone can help me!
PS: The problem, normally, seems to solve itself in a random time range between 0-30 minutes. Anyway it’s a problem.