I'm trying to create a scratch org using either VS Code or the command line. I'm able authenticate to my dev org using:
This works correctly. However when I try to create a scratch org:
sfdx force:org:create -f config\project-scratch-def.json --setalias HelloWorld --setdefaultusername
I get the following error:
ERROR: The streaming request failed to handshake at https://<dev org name>.my.salesforce.com/cometd/44.0.
I am behind a corporate proxy and initially could not even authenticate my dev org until I set the proxy environment variables and their npm equivalents. I also currently have sslVerify and strict-ssl set to false.