Adeptive / Smappee-NodeJS

Smappee Node JS API
Apache License 2.0
5 stars 3 forks source link

Run the Js file behind the Proxy #2

Open saopramod opened 8 years ago

saopramod commented 8 years ago

Hi,

I have successfully installed behind the corporate fire wall and I am trying to run the below File. I am also pasting the code of test.js (sample ) and the error. Can you please help, in what is the problem over here

var smappee = require('./my-smappee');

smappee.getServiceLocations(function(output) { console.log(output); })

Then I execute the code

node test.js

The error thrown is

C:\loadash>node test.js Making oAuth call... Request failed: { [Error: tunneling socket could not be established, cause=getad drinfo ENOTFOUND 808 808:80] code: 'ECONNRESET' }

I understand the issue is of proxy setting, I am new to NodeJs. Please help

saopramod commented 8 years ago

Also the Proxy I am trying to use is as below

10.101.45.25 Port : 808