Wait Ryan!
Hi, I would like to interject. I was getting this error also.
To test a theory (because I wasn’t getting this error before going to https when checking with linkchecker when I was http), My recent cf past history will show that I removed my site from Cloudflare’s https and went back to http for about 2 or more weeks.
No more was I getting the Error: 524 Origin Time-out
What I noticed in going back to https using Cloudflare is that the errors have returned.
Cloudflare is my domain name server by the way.
I read the docs of course available on Cloudflare (that point us back to fixing our server’s setup files but I don’t think that might be it).
Ryan, what plugin did you change?
I forgot to mention, I think the remedy for me was changing all the website’s files to www.x.com instead of what it was (x.com)