-
Notifications
You must be signed in to change notification settings - Fork 78
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
auth:jwt:grant doesn't honor the HTTPS_PROXY environment variable #1626
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
does it work if you use |
@mkhokhlov I think a tiny change to jsforce might solve this. See the PR that just linked. |
@mshanemc experiencing the same issue and having both HTTP_PROXY as well as HTTPS_PROXY set does no difference. |
this should be fixed in today's RC (will be |
Summary
auth:jwt:grant
doesn't honor the HTTPS_PROXY environment variable in sfdx-cli version newer than7.146.1
.Steps To Reproduce:
sfdx-cli@latest
- that's7.158.1
as of this writing.mitmproxy
.mitmproxy
without any flags, so that it runs in the regular proxy mode and listens on the default port8080
.auth:jwt:grant
command with environment variables instructing sfdx-cli to go throughmitmproxy
as the HTTPS proxy:Expected result
mitmproxy
should register two requests, which indicates that sfdx-cli honors theHTTPS_PROXY
environment variable:Actual result
mitmproxy
is not registering any requests, which indicates that sfdx-cli does not honor the `HTTPS_PROXY environment variable and sends the requests bypassing the proxy:System Information
The text was updated successfully, but these errors were encountered: