• Hi,

    Since version 3.5 (3.6, 3.6.1 and 3.6.2) of gutenberg, I can’t save post and page. I have an error message “Publishing failed” or “Updating Failed”.
    I have a same message with a new install of WordPress (default themes and plugins). The Debug Network of Firefox show me an error 403 for this path: /wp-json/wp/v2/posts/v2/autosaves (same for pages).

    Do you know this trouble ?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter Olivier Copetto

    (@copoli)

    I found the solution of my trouble. There was a software firewall on my online server.

    Thread Starter Olivier Copetto

    (@copoli)

    FYI, this is ModSecurity.

    Moderator Marius L. J.

    (@clorith)

    Could you tell us which mod_security rule it triggered? It should say in your logs.

    Thread Starter Olivier Copetto

    (@copoli)

    This is a copy of the error in the log :

    [Sat Aug 18 00:23:50 2018] [error] [client 99.999.999.99] ModSecurity: Access denied with code 403 (phase 2). Match of "within %{tx.allowed_request_content_type}" against "TX:0" required. [file "/usr/local/apache2/conf/modsecurity/base_rules/modsecurity_crs_30_http_policy.conf"] [line "63"] [id "960010"] [msg "Request content type is not allowed by policy"] [data "application/json"] [severity "WARNING"] [tag "POLICY/ENCODING_NOT_ALLOWED"] [tag "WASCTC/WASC-20"] [tag "OWASP_TOP_10/A1"] [tag "OWASP_AppSensor/EE2"] [tag "PCI/12.1"] [hostname "www.domain.com"] [uri "/wp-json/wp/v2/posts/6/autosaves"] [unique_id "W3dK9goASzoAABfURiAAAAA-"]

    And

    99.999.999.999 www.domain.com - [18/Aug/2018:00:23:50 +0200] "POST /wp-json/wp/v2/posts/6/autosaves HTTP/1.1" 403 240 "https://www.domain.com/wp-admin/post.php?post=6&action=edit" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"

    As it is for a test site, I disabled this feature on my online server. I will contact the host (OVH) to talk to them about this problem.

    FYI, the problem is displayed in the logs from 16 August.

    Moderator Marius L. J.

    (@clorith)

    Thank you very much, just wanted to let you know we’ve registered it and keeping tabs on things ??

    I just started receiving this message. To the best of my knowledge, there have been no changes to my hosting server (thinking software firewalls). What other possible causes could be a play here?

    fabiomrbarbosa

    (@fabiomrbarbosa)

    I was having the same issue and OVH explicitly told me to turn off the firewall (manually even, in the .ovhconfig in the root). I am still waiting for them to admit that no, they don’t “support” WordPress anymore and that this is essentially a form of burglary.

    My website was fine until yesterday when i updated to the latest wordpress version and now i can’t post on my site.
    Below is the message i get.

    “Updating failed” and “Publishing failed”

    Totally bad experience, also worried because website has very much data and files so if I will take backup,recover until I will loss so many customers and traffic and rank too.

    Issue: https://imgur.com/a/Bex2uA0

    Help me to solve this issue.

    WordPress 5.0

    Thank You!

    have you tried “classic editor” plugin?

    Moderator Marius L. J.

    (@clorith)

    This is a more than 4 months old topic, I am closing it to avoid further notifications going out to unsuspecting parties.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Error Message “Publishing failed” or “Updating Failed”’ is closed to new replies.