+ Start a Discussion
Dave Schock 11Dave Schock 11 

Salesforce DX cli ERROR tunneling socket could not be established, cause=socket hang up.

Following the Salesforce DX Trailhead.  Installed the CLI.  Set the proxy per the documentation and was able to successfully update sfdx-cli.  When executing sfdx force:auth:web:login -d -a DevHub I get the web login screen.  After logging in I get a page can't be displayed on http://localhost:1717.  The cmd window says ERROR:  tunneling socket ould not be established, cause=socket hang up.

Any guidance would be very much appreciated.
Best Answer chosen by Dave Schock 11
NagendraNagendra (Salesforce Developers) 
Hi Dave,

Sorry for this issue you are encountering.

May I suggest you please check with below link from stack exchange community with a similar discussion which might help you further. Please let us know if this helps.

Kindly mark this as solved if the information was helpful.

Thanks,
Nagendra

All Answers

NagendraNagendra (Salesforce Developers) 
Hi Dave,

Sorry for this issue you are encountering.

May I suggest you please check with below link from stack exchange community with a similar discussion which might help you further. Please let us know if this helps.

Kindly mark this as solved if the information was helpful.

Thanks,
Nagendra
This was selected as the best answer
Dave Schock 11Dave Schock 11
Hi Nagendra.

Setting the environment variables allowed me to get past sfdx force:auth:web:login -d -a DevHub successfully.  I am currently experiencing issues when creating scratch orgs that seem to be related.  However I will create another post for that issue.

Thanks for your help.

dave