Closed AjManoj closed 3 years ago
@AjManoj are you using the VS code SFDX CLI extension? also what is the version of your CLI?
This issue has been automatically closed because there has been no response to our request for more information from the original author. Currently, there is not enough information provided for us to take action. Please reply and reopen this issue if you need additional assistance.
Summary
When setting only proxy in workspace settings and not setting HTTP_PROXY the extension isn't able to connect to salesforce
Steps To Reproduce:
Expected result
Should be able to retrieve.
Actual result
Error: connect ETIMEDOUT 13.108.233.69:443 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1134:16) { errno: 'ETIMEDOUT', code: 'ETIMEDOUT', syscall: 'connect', address: '13.108.233.69', port: 443 } Error: connect ETIMEDOUT 13.108.233.69:443 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1134:16) { errno: 'ETIMEDOUT', code: 'ETIMEDOUT', syscall: 'connect', address: '13.108.233.69', port: 443 } 12:46:09.136 sfdx force:source:retrieve --manifest c:\Users\package.xml ended with exit code 1
Workaround
Create a bat file and put below things to launch if you don't want to setup HTTP_PROXY environment variables SET NO_PROXY=127.0.0.1;*.
SET HTTP_PROXY=http://:8080
SET HTTPS_PROXY=http://:8080
code -n