Error 524 but only when proxying

Hi there. I have everything set up and working I think for the domain sccjono.com. However, as soon as I turn on Cloudfare I get a 524 error. My host swears that they are not blocking Cloudfare’s IP’s. The server load is all fine. Is there anything else I can get them to check?

Regards,
Jon

Your database connection strings. IMHO you’ll be connecting to sccjono.com instead of e.g. localhost and that will naturally fail when the record is proxied.

Assuming your server IP address ends in 70, it would currently fail with a direct request as well and return a 500 after 120 seconds (which also explains the 524).

Make sure you are using everywhere either localhost or the proper IP address of the server and not any proxied hostnames.

Oh my goodness that has been bugging me for so long and I just hadn’t thought of that. You’re right, one change and all is well. You’re a superstar, thank you.

Regards,
Jon

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.