Hey all,
I’m running into an annoying issue with my n8n workflow that interacts with my WordPress site. My site is proxied through Cloudflare, and every time I launch the workflow, I get this:
524: A timeout occurred
Basically, Cloudflare is timing out because the request takes more than 100 seconds.
What I’ve figured out so far:
- If I turn off Cloudflare, everything works perfectly. So, it’s definitely a Cloudflare thing.
- I already whitelisted my n8n instance’s IP in the firewall settings, but no luck.
- My server’s not the issue—it’s not overloaded or anything like that during these requests.
My Big Questions:
- Is there a way to let these longer-running requests through Cloudflare without hitting the timeout?
- Or, any tips on how to manage these tasks without having to turn off Cloudflare all the time?
If anyone’s dealt with this or has ideas, I’d love some help! Thanks so much!
Share the output returned by the last node
The service failed to process your request
mywebsite.com | 524: A timeout occurred A timeout occurred Error code 524 Visit Cloudflare for more information. 2024-10-21 22:30:12 UTC You Browser Working Frankfurt Cloudflare Working mywebsite.com Host Error What happened?
The origin web server timed out responding to this request.
What can I do? If you’re a visitor of this website:
Please try again in a few minutes.
If you’re the owner of this website:
The connection to the origin web server was made, but the origin web server timed out before responding. The likely cause is an overloaded background task, database or application, stressing the resources on your web server. To resolve, please work with your hosting provider or web development team to free up resources for your database or overloaded application. Additional troubleshooting information here.
Cloudflare Ray ID: 8d641e666e1fd21a • Your IP: Click to reveal 3.72.153.163 • Performance & security by Cloudflare
(function(){function d(){var b=a.getElementById(“cf-footer-item-ip”),c=a.getElementById(“cf-footer-ip-reveal”);b&&"classList"in b&&(b.classList.remove(“hidden”),c.addEventListener(“click”,function(){c.classList.add(“hidden”);a.getElementById(“cf-footer-ip”).classList.remove(“hidden”)}))}var a=document;document.addEventListener&&a.addEventListener(“DOMContentLoaded”,d)})(); →
Information on your n8n setup
- n8n version: latest
- Database (default: SQLite): sqlite
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): docker
- Operating system: docker