Salesforcedx-vscode: Unable to Deploy Source to Org and Unable to Authorize Org. If have Default org used we can Authorize that. But with command it keeps on running.

Created on 4 Sep 2020  路  5Comments  路  Source: forcedotcom/salesforcedx-vscode

Summary
SFDX commands are taking way to long to execute, infact I had to cancel them because they are just shown as running for infinite.
SFDX: Create Project Working fine in salesforce cli version 49.8.0
For Ex: 1. SFDX: Authorize an Org command progress indicator keeps on running.

  1. SFDX: Deploy Source to Org command progress indicator keeps on running.

Steps To Reproduce:
After running SFDX: Create Project is run trying to authorize org.

1. execute sfdx command : SFDX: Authorize an Org
Press Enter to accept the Project Default login URL option.
Press Enter to accept the default alias.

Expected result
We should get Output as
expcted

Actual result
The command progress indicator keeps on running. Output i get
Authorize

Not getting 2nd Output on vsc which contains ended with exit code 0.

2. execute sfdx command :SFDX: Deploy Source to Org

IF we have Default org with which we logged in earlier using that we can authorize default org.
So after that trying to execute SFDX: Deploy Source to Org
SettingsedaultOrg

Expected result
OutputVal

Actual result
The command progress indicator keeps on running.
deploy

Additional information:

VS Code Version:
1.48.2

Salesforce Cli Integeration(Extension)
Saliesforce

SFDX CLI Version:
sfdx-cli/7.72.0-697e9faee2 win32-x64 node-v12.18.3

Java Version:
1.8.0_261

System type :
64-bit Operating System,x64-based processor
Windows 10

more information required

Most helpful comment

So my issues is not with deployments. It has more to do with any SFDX action that opens a browser. The process just does open the browser, but it just seems to hang after wards. This also happens directly from the command line as well so I open up this ticket https://github.com/forcedotcom/cli/issues/650

All 5 comments

I am getting the same issue as well. I think this may be a windows issue. I am not noticing this on my Mac

Thanks for opening this issue @jpoonam4 . Could you or @banderson5144 try the new deploy enhancements in Performance Enhancements and see if that helps with the deploys not working ?

So my issues is not with deployments. It has more to do with any SFDX action that opens a browser. The process just does open the browser, but it just seems to hang after wards. This also happens directly from the command line as well so I open up this ticket https://github.com/forcedotcom/cli/issues/650

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.

Thanks for opening that other issue in the CLI repo @banderson5144 . That is the right place for it since the VSCode extensions are just delegating the execution to the CLI.

Was this page helpful?
0 / 5 - 0 ratings