I am receiving many 524 timeout errors while working on my website lately. This is highly frustrating. I already contacted my web host about this (Siteground) but they are not able to help me. I have already been searching this forum for fixes, but none of them help. The weird thing is that sometimes a 524 timeout error even happens after a few seconds (less than 60) when e.g. trying to log out from Wordpress. Often times, they just happen everywhere (updating post, open page, etc.) and the page just keeps loading until the timeout error. Refreshing the page immediately helps and everything works normal for a few minutes until it happens again. If I deactivate CF completely, everything is working fine without any timeout errors. I have extensively discussed this with the Siteground support already, this was their latest response:
" I have reviewed the problem described in details and there are a few key points I would like to bring your attention to and address
- The error 524 that comes up is an error specific to Cloudflare and related to a built-in timeout period that they have. If it is reached, the error pops out.
- On the server end, there are no timeouts detected for the past few days. This means that the issue comes specifically between CF and our server.
As you are using a Cloudflare account directly and manage the service from there, you will need to reach them for more information in this regard. They need to check why the timeout occurs while the website is fully responsive on our end. If they detect any issues with the response from the server they need to provide us with the exact timestamp and IP which made the request."
Someone mentioned the CF SSL/TLS encryption in a CF community thread. I now set it from “Full (strict)” [Encrypts end-to-end, but requires a trusted CA or Cloudflare Origin CA certificate on the server] to only “Full” [Encrypts end-to-end, using a self signed certificate on the server]. I am not sure of this helps though. Does anyone else have any idea what to causes this? Thanks in advance.