Open cyril23 opened 6 years ago
I followed this solution: https://github.com/baalexander/node-xmlrpc/issues/142
and in "node_modules/inwx/lib/inwx.js" I wrote:
this.client = xmlrpc.createSecureClient({url: "https://" + opts.host + "/xmlrpc/", cookies: true});
instead of
this.client = xmlrpc.createClient({ host: opts.host, isSecure: true, path: "/xmlrpc/", cookies: true });
Then everything works.
Please integrate this patch.
Can you please open a PR for this? Thanks!
I tried your codesample, but the API is ready message never comes:
Trying with testing api produces the error (but OK, I don't even have an testing API account and don't known how to make one, so..):
Trying with production API, I looked into the
node_modules/inwx/lib/inwx.js
file and tried out some console.log messages to get an idea of where the problem is.So apparently the callback function of
this.client.methodCall
is never called.Tested on fresh Ubuntu 16.04 LTS server (nodejs v4.2.6) and fresh Ubuntu 17.10 desktop (nodejs v6.11.4). freshly installed NodeJS via:
Full example app is here: https://pastebin.com/bhdREpNf