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
HttpModuleconfiguration to apply proxy configuration from thehttps-proxy-agentpackage if theHTTP_PROXYorHTTPS_PROXYenvironment variables are present.Should Close #714
Related to #752 (similar approach)
Why
(taken from #752)