-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Updating Failed" message for autosaves when editing post (plugin conflict: Wordfence) #8525
Comments
This is a issue I had. My fix was to edit my Cloudflare Firewall. |
If it's a cloudflare issue, please let's close and consolidate in #8441 |
I have the same problem but no cloudflare is activated. I'm using gutenberg 3.4 on WP 4.9.8. |
@Footprint-Addons Can you paste the response of the 403 error. MAybe it's a security plugin disabling API endpoints or so? |
Hi @designsimply, you are right, it is the security plugin : |
I'm closing this issue as there's nothing we can do in Gutenberg
Thanks for the reports |
OK, goodbye gutenberg then. I prefer safety. |
@Footprint-Addons The issue is that the security plugins are too aggressive, it doesn't mean that Gutenberg is unsafe. And in the future I expect other Core Features than Gutenberg will rely on the REST API, so it's not a Gutenberg only issue. To be clear, these plugins shouldn't block the REST API in the first place. Of course, it's your choice to use Gutenberg or not. |
@youknowriad, there are tons of articles out there warning about possible exploits of REST API. Are they exaggerating then? |
@Footprint-Addons Yes they are. All websites nowadays use REST APIs. It's possible that in a previous version, there were an exploit somewhere but in general any raised security issues in WordPress in REST API or anything else is fixed ASAP. |
OK, I'll contact wordfence then. Thanks. |
Not only update , also autosafe and Publish, it is impossible to safe a new post. |
@Footprint-Addons did manage to solve this problem with wordfence ? I'm having exact same issue. Edit: Solved by myself, the blocking config was in wordfence > Advanced Firewall Options > Show All Rules > Disable: auth-bypass WordPress 4.7.0-4.7.1 - Authentication Bypass: Page/Post Content Modification via REST API
|
Nope, I tried another server and there it works. But I'll try your solution. |
OK, I disabled auth-bypass WordPress 4.7.0-4.7.1 - Authentication Bypass: Page/Post Content Modification via REST API but it doesn't do anything for me. Just when I wanted to install another plugin, I've got the answer from WordFence support. Setting WordFence to Learning mode, then testing saving solved the issue. Once the post is successfully saved, you can set it to Enabled and protected again. |
Copying another solution related to Wordfence that was posted in a different thread because it looks relevant and may be helpful for others:
— h/t @mikepinto81 at #2704 (comment) |
@designsimply thanks for the cross post. To clarify even more, check the php.ini is not using an auto_prepend from a previous install that is pointing to an old directory. |
Describe the bug
While editing a post, I keep receiving a "updating failed" message.
NOTE: The post saves properly if I click "SAVE DRAFT".
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The post should update properly.
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: