> On Jul 29, 2016, at 12:24 PM, Julian Loferer <[email protected]> wrote:
>
> Yeah here is my localsettings.js file:
>
> https://phabricator.wikimedia.org/P3603
Thanks!
> And i have installed it as an ubuntu package so with apt-get install parsoid .
I'm assuming you have v0.5.1 then. Correct me if I'm wrong.
The fact that you got this log line,
[warning/api/econnrefused][localhost/v3/page/html/Main_Page/3] Failed API
request,
{"error":{"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect"},"retries-remaining":0}
means that your VE is probably setup correctly.
It is at least communicating with Parsoid.
ECONNREFUSED is problematic though.
It means that Parsoid can't connect to http://192.168.0.102/wiki/w/api.php
Can you think of anything specific in your setup that
might be preventing that?
Also, please confirm that http://192.168.0.102/wiki/w/api.php,
with that entire path, is what you checked previously
for the response of the Action API.
Is Parsoid on the same machine as the process running Mediawiki?
If so, I'd suggest this change,
parsoidConfig.setMwApi({
prefix: 'localhost',
domain: 'localhost',
uri: 'http://127.0.0.1/wiki/w/api.php'
});
(Note that we removed the first string argument there.)
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l