Cloudflare 524 Error with n8n Workflow to WordPress

Hi, several posts like Help! Getting Cloudflare 524 Error with n8n Workflow to WordPress have detailed a Cloudflare error when an N8N workflow interacts with a website run through Cloudflare - if the request takes more than 100 seconds you see a Cloudflare 524 error. Others have suggested you need to upgrade to a Cloudflare paid plan to fix it, but I’ve got a solution that worked in my case with the Cloudflare free plan:

In this case, the N8N workflow was uploading some data via FTP to the website and it was this that was timing out. So in Cloudflare security rules, I configured a skip action, skipping the ‘All rate limiting rules’ and ‘Rate limiting rules’ (Previous version) under ‘More components to skip’, but only for the folder that is being FTPed to, via Field URI, Operator wildcard, and putting the folder name in there with * on the end.

This seems to have done the trick. Hope that helps someone else.

I’m getting the same issue when trying to update one of my workflows with a IMAP email trigger. Can’t publish updates, just get these errors:

Problem activating workflow

The following error occurred on workflow activation:

Workflow could not be published:

Request failed with status code 524

Not resolved it yet.
I had assumed another outage with cloudflare!!!