-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sf login issue #2992
Comments
Hello @GlowikM 👋 It looks like you didn't include the full Salesforce CLI version information in your issue. A few more things to check:
Thank you! |
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
Hi bellow all information after using command version --verbose --json after using update nightly and problem still occurring { |
that's a network error (CLI is failing after trying to do request. Are you behind a proxy/firewall? See: |
I tried connect to sandbox environment using cli
I'm up to date:
@salesforce/cli/2.55.6 win32-x64 node-v20.16.0
Using below command
sf org login web --instanceurl https://test.salesforce.com
Error from sf log:
{"level":50,"time":1724397948280,"name":"sf:oclif","msg":"AuthCodeUsernameRetrievalError: Could not retrieve the username after successful auth code exchange.\nDue to: request to https://abb-ability--dev.sandbox.my.salesforce.com/services/oauth2/userinfo failed, reason: unable to get local issuer certificate\n at SfCommandError.from (file:///C:/Users/PLMIGLO1/AppData/Local/sf/client/2.55.6-648ad30/node_modules/@salesforce/sf-plugins-core/lib/SfCommandError.js:39:16)\n at LoginWeb.catch (file:///C:/Users/PLMIGLO1/AppData/Local/sf/client/2.55.6-648ad30/node_modules/@salesforce/sf-plugins-core/lib/sfCommand.js:316:47)\n at LoginWeb._run (C:/Users/PLMIGLO1/AppData/Local/sf/client/2.55.6-648ad30/node_modules/@oclif/core/lib/command.js:305:29)\n at async Config.runCommand (C:/Users/PLMIGLO1/AppData/Local/sf/client/2.55.6-648ad30/node_modules/@oclif/core/lib/config/config.js:424:25)\n at async run (C:/Users/PLMIGLO1/AppData/Local/sf/client/2.55.6-648ad30/node_modules/@oclif/core/lib/main.js:95:16)\n at async file:///C:/Users/PLMIGLO1/AppData/Local/sf/client/2.55.6-648ad30/bin/run.js:15:1"}
The text was updated successfully, but these errors were encountered: