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

Got ECONNRESET error when using vpn #1471

Closed
qiulang opened this issue Dec 3, 2018 · 3 comments
Closed

Got ECONNRESET error when using vpn #1471

qiulang opened this issue Dec 3, 2018 · 3 comments
Assignees
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@qiulang
Copy link

qiulang commented Dec 3, 2018

I just tried https://github.com/googleapis/google-api-nodejs-client#first-example (with my key of course) and hit the error ECONNRESET.

If I switch to node 10 sometime I will hit the error "Client network socket disconnected before secure TLS connection was established" but ECONNRESET is more common.

I am using vpn but I can get the correct result in chrome

googleapi

Environment details

  • OS: macOS 10.14
  • Node.js version: 8.14 & 10.12
  • npm version: 6.4.1
  • googleapis version: 35

Steps to reproduce

  1. https://github.com/googleapis/google-api-nodejs-client#first-example
  2. start vpn and run node

Thanks!

@JustinBeckwith JustinBeckwith added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p2 Moderately-important priority. Fix may not be included in next release. labels Dec 3, 2018
@JustinBeckwith
Copy link
Contributor

Greetings! Sadly I don't think there's a lot we can do with this. We're not doing anything special, and just relying on underlying networking in nodejs.

@kribby
Copy link

kribby commented May 3, 2019

Have there been any updates on this issue? I keep getting this all the time.

@jjhesk
Copy link

jjhesk commented Jun 9, 2020

please add the api for this please..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

4 participants