Topic on Extension talk:VisualEditor

parsoidserver-http-bad-status: 500

14
JoesSR (talkcontribs)

I'm using 1.22wmf9.
And my VisualEditor and Parsoid are downloaded from GIT, but my wiki keeps going into ERROR 'parsoidserver-http-bad-status: 500'.
The error from the server says "TypeError: Cannot set property '0' of null at Object.WikiConfig (……\Parsoid\js\lib\mediawiki.WikiConfig.js:52:29)"

In addition, my wiki and Parsoid don't share a same server.
Wiki (Linux) is on http://thwiki.cc/api.php
Parsoid (Windows) is on http://mc.bibi.im:8000/

MarkJurgens (talkcontribs)

I'm also getting this error after upgrading from wmf4 to wmf9. I also updated the parsoid and visual editor.

The editor worked great up until that point. I was trying to upgrade the editor to use see the 'insert media' option. Are all the git repositories updated properly?

Error loading data from server: parsoidserver-http-bad-status: 404. Would you like to retry?

However when I create a NEW page, the visual editor works initially (without the insert media option, and but throws an error when I try and save "Error Loading data from server: Unsuccessful request, error contacting the Parsoid server.

Can we check that the release tarballs are okay? Could this be page caching related? Is it possible to purge the system in someway? This is a new install.

MarkJurgens (talkcontribs)

I installed the latest alpha of wmf-master (July 9) Latest Visual editor master

I'm still getting this error when editing: Error loading data from server: parsoidserver-http-bad-status

However, when I create a new page, the editor loads, but does not let me save the page. Error: Error contacting the Parsoid server

Is there anything wrong with the way I'm linking to parsoid?

  $wgVisualEditorParsoidURL = 'http://www.sitename.com:8000/';
  $wgVisualEditorParsoidPrefix = 'sitename.com';

The actual wiki is in /wiki directory www.sitename.com/wiki/

So close! Any help?

Andytao (talkcontribs)

the same problem I have met too, hope it be solved as soon as possible.

62.168.240.26 (talkcontribs)

I have same trouble. After installing node ver 0.8.22 problem was solved

115.220.94.123 (talkcontribs)

mine cannot be fixed after installing node v0.8.22. any more suggestion?

200.14.107.2 (talkcontribs)

I have the same error, in the npm i see the next error log:


PS C:\xampp\htdocs\extensions\parsoid\js\api> node server.js

- master loading...
- master ready
- worker(3564) loading...
- worker(4364) loading...
- worker(6076) loading...
- worker(3564) ready
- worker(3124) loading...
- worker(4364) ready
- worker(6076) ready
- worker(5756) loading...
- worker(3124) ready
- worker(5756) ready

non-200 response: 404 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>Object not found!</title> <link rev="made" href="mailto:postmaster@localhost" /> <style type="text/css"><![CDATA[/*></style> </head>

<body>

Object not found!


The requested URL was not found on this server.


If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the <a href="mailto:postmaster@localhost">webmaster</a>.

Error 404

<address>

 <a href="/">localhost</a>
Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.16

</address> </body> </html>


ERROR in localhost:Parsoid: Page Fetch failure for null Stack trace: DoesNotExistError: Page Fetch failure for null worker 5756 died (1), restarting.

- worker(4632) loading...
- worker(4632) ready
201.231.129.71 (talkcontribs)

¿Did you fix this? I've the same error.

Dieudo (talkcontribs)

I have the same error. And when I retry as suggested, I alternatively get this error :

parsoidserver-http-bad-status: 401

Thanks for any help.

186.87.73.221 (talkcontribs)

i have the same error

GeorgeRu (talkcontribs)

I fixed 404 parsoid error by editing parsoid\api\localsettings.js parsoid config file. I run mediawiki under webmatrix so I changed url to mediawiki api: parsoidConfig.setInterwiki( 'localhost', 'http://localhost:49136/api.php' );

81.91.3.6 (talkcontribs)

I have the same issue. Error loading data from server: parsoidserver-http-bad-status: 500. Would you like to retry? I think everything is setup as it should. Server on port 8000 works in browser. api.php is accessable... Tried different versions of mediawiki and VisualEditor. Running on Windows server.

Any suggestions? Can I find some log data somewhere? From node?

LocalSettings.php $wgVisualEditorParsoidURL = 'http://localhost:8000'; $wgVisualEditorParsoidPrefix = 'localhost';

LocalSettings.js for Parsoid parsoidConfig.setInterwiki( 'localhost', 'http://mydomain.com/wiki/core/api.php' );

Londonx (talkcontribs)

Make sure these files are configured correctly, I fixed my error 404 with these settings

/etc/mediawiki/parsoid/settings.js

exports.setup = function( parsoidConfig )

parsoidConfig.setInterwiki( 'localhost', 'http://localhost/api.php', 'http://localhost/' );

parsoidConfig.serverPort = 8000;

};

/var/www/html/LocalSettings.php

require_once "$IP/extensions/VisualEditor/VisualEditor.php";

$wgDefaultUserOptions['visualeditor-enable'] = 1;

$wgHiddenPrefs[] = 'visualeditor-enable';

$wgVisualEditorParsoidURL = 'http://127.0.0.1:8000';

117.20.116.8 (talkcontribs)

Cutelovetheara@yahoo.com

Reply to "parsoidserver-http-bad-status: 500"