-
Notifications
You must be signed in to change notification settings - Fork 3
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
Proxy enabled? #1
Comments
Hi, a. I'm not sure about this, we use it daily connecting directly and it works well. I googled b. There's currently no proxy support, however it's available: googleapis/google-api-nodejs-client#64. I'll add this in the next release. |
You are right. even though I was disconnected from the corporate network, and IE, Chrome and FF did connect fine without attempting connecting to the proxy, node was still detecting the https_proxy environment variable and attempting to connect through the proxy. |
You're welcome. Just released |
Wow, this was fast! thanks again for the quick turnaround on this request. I tried the following scenarios (after upgrading to 0.3): I will continue testing since I am now connected through a VPN to the corporate network. thanks! |
a. is what we always use and integration tests pass as you can see: https://travis-ci.org/rayshan/ga-extractor Another way for you to test is to try https://github.com/google/google-api-nodejs-client directly, I'm not doing anything besides passing the proxy string, if it's failing it may be an issue with that module. |
I still see this behavior, 100% of the times I get the error mentioned above. Also, one interesting piece of information is: when I am not using a proxy, pointing to an invalid .pem file or providing an incorrect proxy, I will get the "file not found" error, or the ENOTFOUND error respectively, which are correct. But repeating the same scenarios from a network behind a proxy, I never get those two errors, it always fail with same "[Error: Extraction error, err = OAuth error; err = undefined]" messaeg, maybe it fails before reaching the validation for .pem or proxy exists. I will keep researching |
I am getting different errors upon tool usage, depending on if I am connected through a proxy or not.
a. When connecting directly to internet I get this error 100% of the time:
[Error: Extraction error, err = tunneling socket could not be established, cause=getaddrinfo ENOTFOUND]
b. When connecting through a proxy I get this error 100% of the time:
[Error: Extraction error, err = OAuth error; err = connect ETIMEDOUT]
The text was updated successfully, but these errors were encountered: