问题
Wonder why Cloudflare throws an error on my server which is up? I can verify the server is up by visiting the ip in my browser.
I checked system log, apache log, no error found. Btw, I just set the domain on a static site.. I can't figure out how to fix it. Googled and found no solution
回答1:
A 524 error states that CloudFlare was able to make a TCP connection to the origin, but the origin did not reply with a HTTP response before the connection timed out. This means that CloudFlare is able to make a network connection to the origin server, but the origin server took too long to respond to the request.
https://support.cloudflare.com/hc/en-us/articles/200171926-Error-524-A-timeout-occurred
回答2:
If your process take more than 100 seconds (1.67 Minutes) then CloudFlare throws an error, This link resolves in PHP.
来源:https://stackoverflow.com/questions/43489801/cloudflare-throws-524-an-error-on-my-server