Cloudflare throws 524 an error on my server

mkSmith picture mkSmith · Apr 19, 2017 · Viewed 25.6k times · Source

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

Answer

Nitin Rakesh Nagar picture Nitin Rakesh Nagar · Apr 19, 2017

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