Interaction between proxy defined via proxy
and httpsAgent
settings
#5741
danielsharvey
started this conversation in
General
Replies: 1 comment
-
did you have solve this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I had a situation with an interesting interaction between a proxy defined via the
proxy
config setting and a proxy defined by thehttpsAgent
config setting (using https-proxy-agent).The
httpsAgent
was intentional.The the
proxy
config setting was unintentional and coming from anHTTPS_PROXY
environment variable setting.With both defined, requests would always fails with the error:
The solution was to specify the
proxy: false
setting to "block" the effect of any environment variables.My questions:
I'm interested in anyone elses experience.
Beta Was this translation helpful? Give feedback.
All reactions