dorzki / slack-notifications

Get WordPress notifications to your team's Slack channel.
https://wordpress.org/plugins/dorzki-notifications-to-slack/
GNU General Public License v3.0
41 stars 27 forks source link

Does not work with Cloudflare #48

Open oranges13 opened 4 years ago

oranges13 commented 4 years ago

Our site is protected by cloudflare, and the "run test" button on the general settings page does not work. Behind the scenes, there is a 400 error on the admin_ajax.php page.

If I disable cloudflare, or place it into Development mode, it works.

I haven't had any issues with other plugins using the WP API.

DorZuberi commented 4 years ago

Hello @oranges13, I'm using CloudFlare as well in some of my projects, and I can't reproduce the issue.

Did you try to contact CloudFlare support team and ask them to check why it is being blocked?

There might be an issue with the configuration of CloudFlare.

labatt commented 3 years ago

This seems to happen when caching in general is activated. I have W3 Total Cache installed and experienced the same 400 error on admin_ajax.php. I disabled W3TC and the error went away. Something that this slack notifications plugin is doing seems to trigger this.