Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gauth.js - this] { [Error: socket hang up] code: 'ECONNRESET' } #3

Open
kushal-likhi opened this issue Jun 23, 2016 · 0 comments
Open

Comments

@kushal-likhi
Copy link

Hey,

When we try to do a request, we get the following:

[2016-06-23 17:24:58.738] [ERROR] [default] - [gauth.js - this] { [Error: socket hang up] code: 'ECONNRESET' }

the code to init the auth is:

  auth.init({
                scope: 'https://www.googleapis.com/auth/bigquery https://www.googleapis.com/auth/cloud-platform',
                json_file: path.join(__dirname, '_credentials.json')
            });

And request is made via:

 var bqurl = 'https://www.googleapis.com/bigquery/v2/projects/%s/datasets/%s/tables/%s';
            auth.request({
                url: util.format(bqurl, this.projectId, 'test123', 'test_table'),
                method: 'GET'
            }, ()=> {
                console.log('Resp...', arguments);
                callback();
            });

Is it something we are doing wrong on our end?

Thanks for support.

  • Node version: v4.1.0
  • Plugin version: 0.0.14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant