-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
fix(app): configure http with proxy url if present in environment #762
fix(app): configure http with proxy url if present in environment #762
Conversation
@taras I wonder if you can review this change when you've time. Thank you. |
9079344
to
a4ef67e
Compare
I rebased my branch to the latest |
@jontze thanks. Have you tested it locally to confirm the fix? |
Thanks @jontze let's give it a try |
🎉 This PR is included in version 2.13.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
did a test with the latest release and it's working for m thanks again for the PR |
Hi, This PR pretty much broke our setup. We have a local mirror which is set by |
@berkitamas thanks for reporting the issue. Please rollback to the previous version for the time being. @jontze can you please take a look at the issue when you've time? |
I'll take a look and try to come up with a solution that respect |
Related to OpenAPITools#762 In the linked PR, the proxy config was restored, but it didn't respected the `NO_PROXY` | `no_proxy` configuration. This commit moved to a different approach that is working with all common proxy environment variables.
@wing328 I opened #781 to address this. @berkitamas It would be amazing if you could verify the bugfix, if you have the time. |
Related to OpenAPITools#762 In the linked PR, the proxy config was restored, but it didn't respected the `NO_PROXY` | `no_proxy` configuration. This commit moved to a different approach that is working with all common proxy environment variables.
…th `no_proxy` (#781) * chore(deps): move from `https-proxy-agent` to `proxy-agent` dependency * fix(http): use proxy-agent that respect env variables and "no-proxy"-env Related to #762 In the linked PR, the proxy config was restored, but it didn't respected the `NO_PROXY` | `no_proxy` configuration. This commit moved to a different approach that is working with all common proxy environment variables.
This PR adjusts the
HttpModule
configuration to apply proxy configuration from thehttps-proxy-agent
package if theHTTP_PROXY
orHTTPS_PROXY
environment variables are present.Should Close #714
Related to #752 (similar approach)
Why
(taken from #752)