502 error when purging cache through WP Rocket

I use both WP Rocket and Cloudflare. When I click “Clear and preload cache” in the WP Rocket plug-in, the website gives a 502 error. This only happens when I have the Cloudflare plug-in installed.
When I disable the Cloudflare plug-in and only enable the Cloudflare add-on in WP Rocket, there is no problem when I clear and preload the cache.
How can I solve this problem?

Are there any error messages in your server logs? That may give you a hint of what is causing the 502 error.

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