We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Axios uses the HTTP proxy, even when it should not.
export https_proxy="" export http_proxy=""
// with proxy, see above let r = await axios.get("https://www.beonex.com"); console.log("page", r.text());
1.5.1
No response
18.15.0
Ubuntu Linux
If you set export no_proxy="*", then axios avoids the proxy and it works.
export no_proxy="*"
The text was updated successfully, but these errors were encountered:
This is not a problem with axios, this is a problem with node.
axios
node
Axios relies on node's build in globalAgent for http and https. https_proxy, http_proxy, and no_proxy are all handled by node, not axios.
globalAgent
If you want this to be resolved, you can make an issue at node.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Axios uses the HTTP proxy, even when it should not.
To Reproduce
Environment
Code snippet
Expected behavior
Actual result
Axios Version
1.5.1
Adapter Version
No response
Browser
No response
Browser Version
No response
Node.js Version
18.15.0
OS
Ubuntu Linux
Additional Library Versions
No response
Additional context/Screenshots
What works
If you set
export no_proxy="*"
, then axios avoids the proxy and it works.The text was updated successfully, but these errors were encountered: