forcedotcom / cli

Salesforce CLI
https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/
BSD 3-Clause "New" or "Revised" License
474 stars 77 forks source link

On upgrading to SF CLI - 2.37.4 in Jenkins pipeline (used to deploy to different environments), When running the sf login command, getting the SSL3 certificate error. #2906

Closed Sreelekha804 closed 4 weeks ago

Sreelekha804 commented 1 month ago

Note Before you submit your issue, make sure that:

  • You're using the latest version of Salesforce CLI.
  • You've searched both open and closed issues for related posts.
  • You've used the doctor command to diagnose common issues.
  • You understand that GitHub Issues don't adhere to any agreement or SLA.
    • If you require immediate assistance, use official channels such as Salesforce Customer Support.

Summary

We are trying to update to sf cli (2.37.4) from sfdx cli (7.158.1) in the jenkins pipeline. when using the new sf cli, we are getting the below error when

Steps To Reproduce

IMPORTANT Provide a repository that's configured to reproduce the issue. If you are unable to provide a repo, please explain why not. The more info we have from the start, the faster we can resolve your issue. We may close your issue if you don't include proper instructions.

  • Generate a project with sf project generate or fork dreamhouse-lwc.
  • Provide detailed step-by-step instructions on how to reproduce the issue.

Expected result

Actual result

System Information


14:37:49  + /opt/sfdx-cli/bin/sf version --verbose --json
14:37:50  You acknowledge and agree that the CLI tool may collect usage information, user environment, and crash reports for the purposes of providing services or functions that are relevant to use of the CLI tool and product improvements.
14:37:50  
14:37:50  {
14:37:50    "architecture": "linux-x64",
14:37:50    "cliVersion": "@salesforce/cli/2.37.4",
14:37:50    "nodeVersion": "node-v20.11.1",
14:37:50    "osVersion": "Linux 5.10.214-202.855.amzn2.x86_64",
14:37:50    "rootPath": "/opt/sf",
14:37:50    "shell": "bash",
14:37:50    "pluginVersions": [
14:37:50      "@oclif/plugin-autocomplete 3.0.13 (core)",
14:37:50      "@oclif/plugin-commands 3.2.2 (core)",
14:37:50      "@oclif/plugin-help 6.0.20 (core)",
14:37:50      "@oclif/plugin-not-found 3.1.2 (core)",
14:37:50      "@oclif/plugin-plugins 5.0.7 (core)",
14:37:50      "@oclif/plugin-search 1.0.20 (core)",
14:37:50      "@oclif/plugin-update 4.2.4 (core)",
14:37:50      "@oclif/plugin-version 2.0.16 (core)",
14:37:50      "@oclif/plugin-warn-if-update-available 3.0.15 (core)",
14:37:50      "@oclif/plugin-which 3.1.7 (core)",
14:37:50      "@salesforce/cli 2.37.4 (core)",
14:37:50      "apex 3.1.4 (core)",
14:37:50      "auth 3.5.5 (core)",
14:37:50      "data 3.2.5 (core)",
14:37:50      "deploy-retrieve 3.5.6 (core)",
14:37:50      "info 3.1.3 (core)",
14:37:50      "limits 3.2.1 (core)",
14:37:50      "marketplace 1.1.1 (core)",
14:37:50      "org 4.0.4 (core)",
14:37:50      "packaging 2.3.0 (core)",
14:37:50      "schema 3.2.1 (core)",
14:37:50      "settings 2.1.2 (core)",
14:37:50      "sobject 1.2.2 (core)",
14:37:50      "source 3.2.3 (core)",
14:37:50      "telemetry 3.1.18 (core)",
14:37:50      "templates 56.1.1 (core)",
14:37:50      "trust 3.5.4 (core)",
14:37:50      "user 3.4.3 (core)"
14:37:50    ]
14:37:50  }
Collapse
has context menu```
### Additional information
<!-- Feel free to attach a screenshot -->
github-actions[bot] commented 1 month ago

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.

github-actions[bot] commented 1 month ago

Hello @Sreelekha804 :wave: None of the versions of sf you shared match the latest release.

Shared: 2.37.4 Latest: 2.44.8

Update to the latest version of Salesforce CLI (docs) and confirm that you're still seeing your issue. You can also try the rc and nightly releases! (docs)

After updating, share the full output of sf version --verbose --json

cristiand391 commented 4 weeks ago

dup of https://github.com/forcedotcom/cli/issues/2907