Talk:Parsoid/JS/Troubleshooting

There are several points of clarification that should be added to troubleshooting guide
I have added hidden comments to the page saying where I think there needs to be edits. I am not personally able to edit these things as I am myself using the troubleshooting guide right now and trying to learn how to use Mediawiki but I hope my feedback on where the structure of the guide is unclear will be of use to someone who is more knowledgeable on this issue.

Do sites that go through https rather than http need to similarly have parsoid do the same?
Do sites that go through https rather than http need to similarly have parsoid do the same? --Silversonic (talk) 11:48, 25 November 2013 (UTC)
 * Depends on how you plan to use Parsoid. If you use it with VE and install Parsoid on the same machine or behind a firewall, then the communication between the VE PHP extension and Parsoid does not need necessarily need to be encrypted. The communication between the browser and MediaWiki (the VE extension) will still be encrypted, which is what you probably care about. -- Gabriel Wicke (GWicke) (talk) 16:09, 25 November 2013 (UTC)
 * Thank you for the clarification. I'm mostly concerned with getting it to work... it's hanging when I try to use the visual editor, and the editor times out while the parsoid node says that it connected.  I was hoping this might be the answer why but alas, I need to keep looking. --Devin Roark  (silversonic) 20:33, 25 November 2013 (UTC)
 * Does anyone have a solution to this problem? I've been struggling with the same issue for a week. I'm running Parsoid for VE on the localhost. When I edit a page in the wiki, parsoid.log reports that the parsing completed successfully, however no result ever appears in the wiki as the editor hangs. Any advice is appreciated... --JeffC
 * Have the same problem --suthernfriend

Adding more parsoidConfig.setInterwiki statements in.
In the main Page it is said :
 * "You can set up any number of interwikis by adding more parsoidConfig.setInterwiki statements in ."

Can you give an example of this ?

Is it this writing ? :

--Dieudo (talk) 23:02, 4 March 2014 (UTC)

Parsoid Did not find page revisions for *
I'm using MW 1.26alpha with VisualEditor 0.1.0 and Parsoid 0.2.0. I used to use MW with VisualEditor and Parsoid with a previous version of MW with no problem at all, but now, after upgrading to MW 1.26alpha, I'm having this error in the parsoid logs: "[fatal/request][localhost/v3/page/html/Pàgina_principal/1668] Did not find page revisions for V3/page/html/Pàgina_principal/1668"

What's wrong? Any idea?

Thanks.

Robert.

posting this to Visual Editor
I believe this is a problem with VisualEditor as I can fix the problem by changing manually the url called to build the editor. I change the action from "parse" to "metadata", then it works.


 * Wait, how exactly did you fix this? where did you post it "on VisualEditor"? I'm still having this problem. Cd1207 (talk) 08:03, 22 July 2016 (UTC)

Cover "parsoidserver-http: HTTP 0 problem" please?
I've seen "parsoidserver-http: HTTP 0 problem" mentioned several times on the MediaWiki Support Desk. Could this please be covered here? Thanks in advance.

Handling 404 errors
Another one to potentially cover from IRC: "When I click on Edit button on my wiki's Main Page iI get this error: Error loading data from server: 404: parsoidserver-http: HTTP 404. Would you like to retry? How can I try to fix it or to get more information on what happened?" --Malyacko (talk) 08:46, 1 June 2016 (UTC)

-- Wait, there is still no solution to this? Been having the 404 problem ever since i got VE and Parsoid (on Heroku) set up, can't figure out what is causing it, and searching only shows that pretty much everyone else has the same problem. Nobody has a solution for this issue?

Parsoid doesn't start, and get error message 'Cannot read property 'uri' of undefined'
When I try to start parsoid, it is doesn't start, and give error message to parsoid.log:

How to solve this issue?


 * For me, this went away when I used the old function for setting the URI (parsoidConfig.setInterwiki) instead of the new one. Then I moved on to the "Parsoid Did not find page revisions for *" error above... Cd1207 (talk) 07:23, 22 July 2016 (UTC)

http://172.0.0.1/load.php?debug=false&lang=en&modules=ext.visualEditor.desktopArticleTarget.init%7Cext.visualEditor.supportCheck%2Ctrack%2Cve%7Cjquery.accessKeyLabel%2CbyteLength%2Cclient%2Ccookie%2CtabIndex%2Cthrottle-debounce%7Cmediawiki.RegExp%2CTitle%2CUri%2Capi%2Ccldr%2Ccookie%2CjqueryMsg%2Clanguage%2Cnotify%2Ctemplate%2Cuser%2Cutil%7Cmediawiki.action.view.postEdit%7Cmediawiki.api.options%2Cuser%7Cmediawiki.language.data%2Cinit%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.startup%7Cmediawiki.template.regexp%7Cskins.vector.js%7Cuser.defaults&skin=vector&version=3a6ea11fc844