Hi Community,
So, After I updated the VSCode recently, this error is getting thrown most of the time either when i try to retrieve 'the source from org' for a single apex class or when i try to 'Retrieve Source in Manifest from Org' from package.xml file.
I think it might get fixed after reinstallation. But that can cost me some time, setting up org, installing extensions again and all.
How can fix this issue ? Help !
If you know the solution, please share it.9 risposte
Hi Vishnu,
I am also facing the same issue rightnow.(ERROR: Error: Client network socket disconnected before secure TLS connection was established)I have tried all these things mentioned above and nothing is working for me.I tried using SFDX source commands from terminal and it works for me.So, until you find out the permanant solution/root cause, you can try using sfdx commands.(https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_source.htm⌗cli_reference_force_source)e.g.sfdx force:source:retrieve -m ApexClass:YourClassName(to retreive specific class from org)sfdx force:source:retrieve -x path/to/package.xml(To retrieve all metadata components listed in a manifest)sfdx force:source:deploy -m ApexClass:YourClassName(To deploy a specific Apex class)Please let me know if this works for you.Thanks,Herin Acharya