Topic on Talk:Parsoid

Jump to navigation Jump to search

upgrade from 9 to 10 resulted in curl error: 7

Summary by Arlolra

0.9.0 was the last version to support node v4.x

See the release notes,_2018)

RobFantini (talkcontribs)

Hello, after the upgrade clicking on edit displayed:

   Error loading data from server: apierror-visualeditor-docserver-http-error: (curl error: 7) Couldn't connect to server. Would you like to retry?

/var/log/parsoid/parsoid.log ;

{"name":"parsoid","hostname":"wiki","pid":4318,"level":30,"levelPath":"info/service-runner","msg":"master(4318) initializing 2 workers","time":"2018-12-08T16:22:00.405Z","v":0}

{"name":"parsoid","hostname":"wiki","pid":4328,"level":60,"levelPath":"fatal/service-runner/worker","msg":"Cannot set property 'worker_id' of null","time":"2018-12-08T16:22:01.185Z","v":0}

{"name":"parsoid","hostname":"wiki","pid":4318,"level":40,"message":"first worker died during startup, continue startup","worker_pid":4328,"exit_code":1,"startup_attempt":1,"levelPath":"warn/service-runner/master","msg":"first worker died during startup, continue startup","time":"2018-12-08T16:22:02.196Z","v":0}

we are using Debian Stretch

MediaWiki         1.31.1 (a4c8065)  13:59, September 20, 2018

nodejs  Version: 4.8.2~dfsg-1

curl Version: 7.52.1-5+deb9u8

parsoid settings:

# cat /etc/mediawiki/parsoid/settings.js
'use strict';
exports.setup = function(parsoidConfig) {
        parsoidConfig.setMwApi({ uri: 'http://localhost/mediawiki/api.php'  , prefix: 'localhost', domain: 'localhost'  });
        parsoidConfig.useSelser = true;

Any suggestions to try to fix this appreciated!

Arlolra (talkcontribs)
RobFantini (talkcontribs)

thank you, so this fixed it

apt-get -t stretch-backports install nodejs (talkcontribs)


updating node.js to 8.11.1 will restore functionality of creating new pages, however editing of existing does not work: "apierror-visualeditor-docserver-http: HTTP 406"

any support in this matter will be appreciated.

Arlolra (talkcontribs)

Which version of Parsoid are you coming from?

Magol (talkcontribs)

I also get HTTP 406 when I edit existing pages using the latest Parsoid version (10.0.0)

Arlolra (talkcontribs)