You need to sign in to do that
Don't have an account?
Rebecca Hendricks 3
sfdx force:auth:web:login -d -a DevHub error QuickStart: Salesforce Dx trail
I am trying to complete the Set Up Your Salesforce DX Environment module. I have successfully created a test DX account and have installed the CLI (Windows x64 bit). However, when I try and complete the next step, by entering sfdx force:auth:web:login -d -a DevHub into the command prompt, the browser (Chrome) asks me to login which I enter my credentials, but then when I click the Login button, the browser appears like it's going to a new page, but then it displays a page with a "This page isn't working localhost didn't send any data." error and the command prompt displays "ERROR: self signed certificate in certificate chain."
Does anybody know what I am doing wrong on getting to complete this step of the module? Thanks.
Does anybody know what I am doing wrong on getting to complete this step of the module? Thanks.
More info here:
https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_auth_connected_app.htm
Thanks for the information. I actually had come across that article, but didn't know if I was a JWT-based authorization or not. I am really new to the development stuff in Salesforce and even newer when it comes to command line items. You mentioned about the port already being used for something, is there a way to find out what is using that port, as the only items I have open would be the Trailhead website so that I can get the instructions? I'm also having a similar issue (getting the self signed certificate in certificate chain error) for a Heroku login from the command prompt.
The link you provided mentions steps on how to set the URL callback, but it states that I need to put in the Connected App Name and I'm not sure what the name of the app is. Is this just a name I create so that I know what the OAuth is for?
I was able to run the netstat -o in the command prompt and found my 1717 port, but it states that it's state is TIME_WAIT. Is this mean that's it in use and is waiting for something? Or does this mean that it's "free to use"?
I saw the documentation and began working on it, however I wasn't sure what to put in the Connected App Name field. Is this just something I create to know what the OAuth is for? Also, the documentation states that I need to update the .json file. As this is for a trailhead item and is related to the sfdx items, how do I get access to the .json file to update the port information?
Do you know how I can acccess the project folder? I'm extremely new to sfdx and am not sure where that is located. I've tried googling it and all the information seems to assume I know how to access the folder hierarchy and are displaying the information on a Mac (I'm using a PC).