Skip to content

Access behind a corporate proxy #183

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

Open
egarciam opened this issue Mar 8, 2018 · 1 comment
Open

Access behind a corporate proxy #183

egarciam opened this issue Mar 8, 2018 · 1 comment

Comments

@egarciam
Copy link

egarciam commented Mar 8, 2018

Hi,
I've found your module and suits me very well, however I'm trying to use it behind a corporate proxy and while npm, node, etc behave well with env http_proxy and https_proxy I see no way to make this work with node-rest-client.
The config is as follows:

export http_proxy=http://proxy:8080
export https_proxy=http://proxy:8080

please notice both variables using same http protocol to access the proxy.

The proxy option is not working either as the final https url is trying to use ssl and I see no way of making it use the proxy over http.

node is v4.4.7

Any help will be appreciated.

K.R.

@manandkumaar
Copy link

We are also facing the same issue. Any solution would be highly appreciated.

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

2 participants