Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cloudflare throws 524 an error on my server

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

like image 431
mkSmith Avatar asked Apr 19 '17 07:04

mkSmith


People also ask

How do I fix Cloudflare error 522?

Review Cloudflare DNS Settings Therefore, an IP address mismatch can cause the Error 522: Connection timed out message. The A Records on the hosting server and Cloudflare have to match to avoid this issue. Open the DNS Zone Editor and check the A Records to fix this issue.


2 Answers

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

like image 132
Nitin Rakesh Nagar Avatar answered Sep 20 '22 00:09

Nitin Rakesh Nagar


If your process take more than 100 seconds (1.67 Minutes) then CloudFlare throws an error, This link resolves in PHP.

like image 11
Adhemar Avatar answered Sep 21 '22 00:09

Adhemar