Been getting this error for the last hour or so. I don't know what I am doing wrong; I reduced my code to the excerpt below and am still getting the error. I'm running this in the app.js file of a Node application.
var XmlRpc = require('xmlrpc'); // https://www.npmjs.org/package/xmlrpc clientOptions = { 'host': 'www.wikidot.com', 'port': 443, 'path': '/xml-rpc-api.php', 'basic_auth': { 'user': 'jbnv', 'pass': 'inyourdreams' } }; var client = XmlRpc.createClient(clientOptions); client.methodCall( 'pages.select', [{ 'site': 'playlists', 'categories':['score'] }], function(error,value) { scoreData = value; console.log('scoreData',scoreData,'error',error); // scoreData === undefined; error = { [Error: socket hang up] code: 'ECONNRESET' } } );