Jump to content

Topic on Talk:Parsoid

VisualEditor Error contacting the Parsoid/RESTBase server: (curl error: 7) Couldn't connect to server

1
Summary by Jeffreyg1228

Problem solved after updating to MediaWiki 1.39.0.

Jeffreyg1228 (talkcontribs)

Server info:

MediaWiki 1.38.4

PHP 7.4.33 (fpm-fcgi)

MySQL 5.7.39-log

ICU 50.2

When I'm trying to use VisualEditor, all I get is this error: Error contacting the Parsoid/RESTBase server: (curl error: 7) Couldn't connect to server

I'm using almost default LocalSetting.php and have no Parsoid configuration.

I've noticed the guide Extension:VisualEditor#Troubleshooting, but I'm not understand what "mediawiki native hostname" and "the domain the wiki is running on" is.

Here is the log about the error (URL is edited):

[http] HTTP start: GET mywikiroot/rest.php/wiki.zyrail.org/v3/page/html/%E9%A6%96%E9%A1%B5/1?redirect=false&stash=true

[http] Error fetching URL "mywikiroot/rest.php/wiki.zyrail.org/v3/page/html/%E9%A6%96%E9%A1%B5/1?redirect=false&stash=true": (curl error: 7) Couldn't connect to server

However, the URL is accessable without any error message.

What can I do? Thanks for help.