Topic on Talk:VisualEditor/Diffs

Error on preview

8
Indil77 (talkcontribs)

When i try to make preview of changes the editor tell me the following message:

Error during loading data from server: Error contacting the Parsoid/RESTBase server (HTTP 403).

Any suggest?

Lotje (talkcontribs)

I have the same problem. Guess we need someone out here who is willing to look into this.

Whatamidoing (WMF) (talkcontribs)

I believe this was a temporary problem with the server. I can't find official documentation of the incident right now; sorry. Thank you both for reporting it.

Paul K. (talkcontribs)

The word `aankoop` is suddenly wrongly changed

Whatamidoing (WMF) (talkcontribs)

Paul, can you please tell me more? Also, do you have any ad-blocking software installed?

Afrouzaz (talkcontribs)

Hello. i've just migirate from mediawiki 1.34 to 1.35 and when i click on save button on visual editor, i am getting this error: Error contacting the Parsoid/RESTBase server (HTTP 403).

could someone help please?

ESanders (WMF) (talkcontribs)

These errors sound like T265043. There are a few suggested fixes in that discussion.

Nghtchld (talkcontribs)

I am putting this out more widely as an answer to this issue as I had a LOT of trouble resolving it. Basically, on some (cPanel) hosted sites the Parsoid/RESTBase Server API communications are blocked by several (PHP) ModSecurity rules. My host does not allow you to disable ModSecurity using .htaccess so I had to contact my hosting tech support and get them to whitelist rules for my wiki one or two at a time, while generating new ModSecurity rule errors by attempting to edit using VisualEditor, until we had found all the rules which were resulting in this error.

NB: At some point during this process a few pages might start working - not throwing a 403 - but then test a few more pages as they might still trigger ModSecurity.