Skip to content
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

Exception Invalid IP Addresses on passing a NO_PROXY string in the environment variables #1

Closed
aneeshrelan opened this issue Sep 30, 2021 · 0 comments · Fixed by #3
Closed
Labels
bug Something isn't working

Comments

@aneeshrelan
Copy link
Contributor

Describe the bug
To bypass the proxy for a few set of hosts, linux leverages the NO_PROXY environment variable that is supported by axios as well. On setting this along with other proxy settings, the requests fail with an error of `Exception caught in : Invalid IP Address:

To Reproduce
Steps to reproduce the behavior:

  1. Set the NO_PROXY="host1,host1" and run any script using this library
  2. Crashes with error

Expected behavior
It should bypass proxy for the mentioned hosts

Environment (please complete the following information):

  • Node Version: All
  • Package Version: 1.0.0
  • OS Version: All

Additional context
NA

@aneeshrelan aneeshrelan added the bug Something isn't working label Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant