Skip to content

Run the Js file behind the Proxy #2

Description

@saopramod

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions