Closed gkanz closed 3 years ago
Hello @gkanz,
Thank you for taking to the time to report!
This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog.
With best regards,
Elmer
Internal tracking ID: DI-889
Issue Summary
We are using the cli behind a https proxy. The axios http client used by the cli is using the environment variables and sends it's request via the forward proxy (as specified by the
http_proxy
andhttps_proxy
environment variables). However, it is not issuing a CONNECT for the https proxy. This results in a failed request.See https://github.com/axios/axios/issues/2072
Steps to Reproduce
Reproduce Behaviour
This will cause a
GET
to be sent to the forward proxy.Example of good behaviour
Suggested fix
This will cause a
CONNECT
to be sent to the forward proxy.The impacted code is actually in the cli-core repo: https://github.com/twilio/twilio-cli-core/blob/main/src/services/cli-http-client.js.
Exception/Log
Technical details:
-l debug
to the end of the command):