-
Notifications
You must be signed in to change notification settings - Fork 246
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
Use rejectUnauthorized
without proxy URL
#248
Comments
Same +1 I am having the issue with a url too |
any solution? |
Anyone have any idea on this one? Would love to be able to move off of |
Stumbled on your issue and it baffled me. Looking at the code, your v5 example should work, as it should hot the Anyhow, assuming you are using proxy from your local host, then maybe something like If the proxy information is supposed to come from the environment, then I guess you would need https://www.npmjs.com/package/proxy-from-env , which is used by the Additionally, the I hope this helps you to move forward. |
In
v5
I am creating a proxy agent for some use-cases where I only needed to set therejectUnauthorized
flag:But in
v7
, I don't see how to do the same, since the following throws.How can this be accomplished in
v7
?The text was updated successfully, but these errors were encountered: