You need to sign in to do that
Don't have an account?
Sandip Chakraborty
VS Code is not working to Authorize an Org
I have very painful experinece to authorize an Org. Most of the time it fails to authorize the Org and shows the below error. I restarted m/c , shutdown , kill the node.js process , re-install and install Vs code . But nothing works.
Any help is very much needed.
Kill the process running on port 1717 or use a custom connected app and update OauthLocalPort in the sfdx-project.json file.
13:16:15.855 sfdx force:auth:web:login --setalias personal --instanceurl https://login.salesforce.com --setdefaultusername ended with exit code 1
Any help is very much needed.
Kill the process running on port 1717 or use a custom connected app and update OauthLocalPort in the sfdx-project.json file.
13:16:15.855 sfdx force:auth:web:login --setalias personal --instanceurl https://login.salesforce.com --setdefaultusername ended with exit code 1
Greetings to you!
Please refer to the below links which might help you further with the above issue.
https://salesforce.stackexchange.com/questions/208158/authorizing-dev-hub-from-force-com-ide2-redirects-to-localhost-after-authorizing
https://salesforce.stackexchange.com/questions/249857/cannot-connect-a-salesforce-org-using-authorize-an-org-in-vs-code
https://salesforce.stackexchange.com/questions/251589/unable-to-authorize-salesforce-org-using-sfdx-trailhead
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.
Thanks and Regards,
Khan Anas
The following solution worked for me:
Hope it helps :)