Page MenuHomePhabricator

VisualEditor throws "Error contacting the Parsoid/RESTBase server (HTTP 404): (no message)" on affiliate wiki
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?: "Error contacting the Parsoid/RESTBase server (HTTP 404): (no message) " appears, the save is not done.

Possibly related: T315689

Event Timeline

This looks like the same issue as T315383, where RESTBase was never configured for the wiki. I don't see it listed here: https://gerrit.wikimedia.org/g/mediawiki/services/restbase/deploy/+/79b3cd20622fd271e8b1dbdf86ad7287559cce7c/scap/vars.yaml#830

Since it's a public wiki, we have two options: either configure RESTBase, or switch the wiki to the mode that doesn't require it (like we did in T315383). Since RESTBase is in the process of being deprecated, and there's not much difference between the two modes for a small wiki, I'm leaning towards the latter. (CC @MSantos and @cscott for advice.) If this seems okay to you, I'll do the config change next week.

Also, we should check the list carefully to see if there are any other wikis in this situation…

Also, we should check the list carefully to see if there are any other wikis in this situation…

There are four such wikis in total. I compared the lists using the following script: F35535373

Output:

RESTBase configured: 826 wikis
RESTBase in use: 818 wikis
RESTBase configured but not in use:

  • lrc.wikipedia.org
  • sysop-it.wikipedia.org
  • bg.wikinews.org
  • tr.wikinews.org
  • et.wikimedia.org
  • fixcopyright.wikimedia.org
  • wikitech.wikimedia.org
  • wikimania2014.wikimedia.org
  • wikimania2015.wikimedia.org
  • wikimania2016.wikimedia.org
  • wikimania2017.wikimedia.org
  • wikimania2018.wikimedia.org

RESTBase in use but not configured:

  • hi.wikimedia.org
  • mai.wikimedia.org
  • romd.wikimedia.org
  • wb.wikimedia.org

Change 835255 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[operations/mediawiki-config@master] Fix VisualEditor on wikis where RESTBase was never set up

https://gerrit.wikimedia.org/r/835255

Change 835255 merged by jenkins-bot:

[operations/mediawiki-config@master] Fix VisualEditor on wikis where RESTBase was never set up

https://gerrit.wikimedia.org/r/835255

Mentioned in SAL (#wikimedia-operations) [2022-09-26T20:11:32Z] <samtar@deploy1002> Started scap: Backport for [[gerrit:835255|Fix VisualEditor on wikis where RESTBase was never set up (T318325)]]

Mentioned in SAL (#wikimedia-operations) [2022-09-26T20:11:52Z] <samtar@deploy1002> samtar and matmarex: Backport for [[gerrit:835255|Fix VisualEditor on wikis where RESTBase was never set up (T318325)]] synced to the testservers: mwdebug1002.eqiad.wmnet, mwdebug1001.eqiad.wmnet, mwdebug2002.codfw.wmnet, mwdebug2001.codfw.wmnet

Mentioned in SAL (#wikimedia-operations) [2022-09-26T20:18:25Z] <samtar@deploy1002> Finished scap: Backport for [[gerrit:835255|Fix VisualEditor on wikis where RESTBase was never set up (T318325)]] (duration: 06m 52s)

I can't edit the wiki, but I tested by visiting https://romd.wikimedia.org/wiki/Pagina_principală?veaction=edit. Before the changes, I got an error message "Revision IDs returned by the server do not match (document: undefined, metadata: 78).". After the changes, I got the visual editor in read-only mode.