Increase timeout execution for large HTTP processes

Hello there!

I don’t know what’s your domain’s plan, but I can recommend you to have a look on this:
https://support.cloudflare.com/hc/en-us/articles/115003011431-Troubleshooting-Cloudflare-5XX-errors#524error

Otherwise, you can try to run the scripts via a grey-clouded subdomain, or change the script so that it kicks off a long-running background process, and quickly returns a status which the browser can poll until the background process has completed, at which point the full response can be returned.

Take Care!