-
-
Notifications
You must be signed in to change notification settings - Fork 427
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
Working behind the corporate proxy #902
Comments
Sounds unrelated to the proxy, but probably a bug to do with file system paths not having the correct separator, since you are on windows. |
Looks like an issue with tunnel or globel-tunnel modules. If you could put a console log in the relavant place, that would help figure out what the path looks like. |
I found out the issue. But, not sure how to solve it. I placed console.log statements and found out that the path that is constructed in the tunnel.js is incorrect. I updated with the latest version of tunnel module and now the above error went. But, still I am unable to connect successfully. My corporate proxy's format is: I have set the above to http_proxy environment variable. I will list out the methods I tried and the resulting scenarios. Method 1: In main.js, I directly gave
I get the following error in the console.
The connect options looks like this:
Though, I gave http://userid:[email protected]:PORT format to the http_proxy variable, I am getting a different format in the connect options. Is this correct? I am not sure whether it is because of the above problem, but I get "tunneling socket could not be established, cause=Parse Error" Also, have a look at my .npmrc file.
Method 2: In main.js file, I gave
Now, I am getting the following error in the console.
I am getting the getaddrinfo EAI_FAIL error. I have fiddled with all the npm configuration options and the code, but of no use. What am I doing wrong here? I have also raised this issue in Global-Tunnel salesforce/global-tunnel#14 |
I am unable to work behind a corporate proxy.
I referred to this link (#738) and then set the environment variables as specified in the link.
My .npmrc file looks like this.
proxy=http://proxy:port/
http-proxy=http://proxy:port/
https-proxy=http://proxy:port/
registry=http://registry.npmjs.org/
And the environment variables HTTP_PROXY, HTTPS_PROXY.
All the other npm modules are getting downloaded fine and all node applications are working fine using this proxy settings.
But, Strider threw an error while accessing admin/plugins, while connecting with gitlab and failed trying to set up a manual project.
As mentioned in the issue 738, I tried setting up another environment variable http_proxy.
Then my global tunnel was using the environment variable. Now, I am getting the below error.
I explored many links and followed the mentioned in them. But, of no use. Is this an issue or am I doing something wrong?
The text was updated successfully, but these errors were encountered: