Page MenuHomeGitPull.it

Fix VisualEditor in wiki.informazioni.wiki
Open, HighPublic

Description

"Error contacting the Parsoid/RESTBase server (HTTP 403)"

Event Timeline

valerio.bozzolan triaged this task as High priority.

API error response:

https://wiki.informazioni.wiki/api.php?action=visualeditor&format=json&paction=parse&page=Pagina_principale&uselang=it&formatversion=2

{"error":{"code":"apierror-visualeditor-docserver-http","info":"Error contacting the Parsoid/RESTBase server (HTTP 403)","docref":"See https://wiki.informazioni.wiki/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes."}}

OK so MediaWiki is contacting itself. And it gets 403 on this page:

https://wiki.informazioni.wiki/rest.php/wiki.informazioni.wiki/v3/page/html/Pagina_principale/1551?redirect=false&stash=true

But I can successfully visit that page manually, as logged-in. So MediaWiki is probably not sending the cookies to the underlying requests.

This seems borked because of bugged interaction between the REST API and the Lockdown extension T1356