Topic on Extension talk:VisualEditor

Error contacting the Parsoid/RESTBase server (HTTP 404)

5
LoikFR (talkcontribs)

Hello everyone

I've been trying to configure VisualEditor on a private wiki in local (for testing), but I always have an "Error contacting the Parsoid/RESTBase server (HTTP 404)" when I try to open the editor. I've been looking for a solution all day but can't find anything that work

I'm on MediaWiki 1.38.2 and using the version of VisualEditor that come with it.

Here's the content of the LocalSettings.php file that I added:


wfLoadExtension( 'VisualEditor' );

$wgGroupPermissions['*']['read'] = true;

$wgGroupPermissions['*']['edit'] = true;

$wgGroupPermissions['*']['writeapi'] = true;

$wgVirtualRestConfig['modules']['parsoid']['forwardCookies'] = true;


I use PHP 8.0 if it can help.


Thanks in advance !

185.107.107.2 (talkcontribs)

The same for me, just an easy installation in Fedora, gives me always Error contacting the Parsoid/RESTBase server (HTTP 404) and nobody knows how to fix it.

This is a serious bug, because Visual Editor is a must this days.

Spas.Z.Spasov (talkcontribs)

Probably the PHP version is the troublemaker see: Compatibility#PHP. If you are using PHP-FPM it is pretty easy to install php7.4-fpm along with php8.0-fpm and set the MediaWiki instance to use it.

79.253.44.73 (talkcontribs)

Hi @Spas.Z.Spasov

i am using php7-4.fpm alongside php8.1-fpm and php8.0-fpm.

There is no difference at all in each of this versions, i still get the mentioned error.

kind regards

Spas.Z.Spasov (talkcontribs)

Yes, I can confirm it is not PHP version issue. Weeks ago, I've switched to PHP 8.1 and everything works correct on my MW instance.

Reply to "Error contacting the Parsoid/RESTBase server (HTTP 404)"