salesforcedx-vscode: Deploy/Retrieve: [salesforce.salesforcedx-vscode-core]msg.socket.cork is not a function
Summary
Since few days, it is no more possible to deploy or retrieve from org in VS Code. I can see the following error in Developer Tools:
[salesforce.salesforcedx-vscode-core]msg.socket.cork is not a function
Steps To Reproduce:
- Try to Deploy/Retrieve a metadata
Expected result
Metadata deployed/retrieved
Actual result
Nothing happens
Following error in Developer Tools
[salesforce.salesforcedx-vscode-core]msg.socket.cork is not a function
Additional information
Salesforce Extension Version in VS Code: v58.9.1
SFDX CLI Version: @salesforce/cli/2.3.8 win32-x64 node-v18.15.0
OS and version: Windows 10 Entreprise 21H2
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 22 (8 by maintainers)
Update:
I retry the cleanup but this time I keep an empty settings file … and it works. So I reactivate them one by one until it failed … and the one causing the issue is
"http.proxySupport": "on"
I don’t understand why but when I activate it if doesn’t work and works fine when I remove this line. When I try on another computer I use the same settings file, so with this setting on, and it works fine, so very strange.But now, everything seems to work fine, with the latest version.
To answer you question, there was nothing in the output when it didn’t work, just the
Starting SFDX: Retrieve Source from Org
Then, nothing and nothing in the console of the Developer Tools.I will try to work with that until the end of the week and will close the issue if it works fine.
Thanks for the support.