Skip to content
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

Recently the org display command is intermittently taking quite a long time to complete #2542

Closed
SCWells72 opened this issue Oct 30, 2023 · 4 comments
Labels
investigating We're actively investigating this issue more information required Issue requires more information or a response from the customer stale validated Version information for this issue has been validated

Comments

@SCWells72
Copy link

I just chatted with @mshanemc about this and he asked me to log it here. In the past couple of weeks, I've seen the org display command (executed via sfdx force:org:display by IC2) taking quite a long time to complete, e.g.:

2023-10-30 09:37:40,500 [ 350475]   FINE - #com.illuminatedcloud.util.CommandLineUtil - Running command line: 'C:/Program Files/sf/bin/sfdx.cmd force:org:display -u <username> --json' from working directory: '<userHomeDir>'.
2023-10-30 09:37:40,515 [ 350490]   FINE - #com.illuminatedcloud.util.VariableLengthPollingInterval - C:/Program Files/sf/bin/sfdx.cmd force:org:display -u <username> --json: Using polling interval 1000 ms for polling iteration 1.
...
2023-10-30 09:38:25,705 [ 395680]   FINE - #com.illuminatedcloud.util.VariableLengthPollingInterval - C:/Program Files/sf/bin/sfdx.cmd force:org:display -u <username> --json: Using polling interval 5000 ms for polling iteration 27.
2023-10-30 09:38:30,714 [ 400689]   FINE - #com.illuminatedcloud.util.CommandLineUtil - Returning command-line response: CommandLineResponse{exitCode=0, output='{...}

It doesn't happen consistently at all, but obviously when it does happen, it's quite annoying and unclear whether the CLI is actually going to complete, particularly since that particular command traditionally (and normally) only takes a few seconds to complete. Other commands seem fine, and it's not limited to a single org or set of orgs, though again, the same command against the same org may complete in 2-3 seconds on the next execution.

Let me know if there's any other info I can provide, though where this is an intermittent issue, it may be difficult to capture in-the-wild.

Here's the CLI version info:

{
  "cliVersion": "@salesforce/cli/2.6.9",
  "architecture": "win32-x64",
  "nodeVersion": "node-v18.15.0",
  "osVersion": "Windows_NT 10.0.22621",
  "shell": "cmd.exe",
  "rootPath": "C:\\Program Files\\sf\\client",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 2.3.6 (core)",
    "@oclif/plugin-commands 2.2.23 (core)",
    "@oclif/plugin-help 5.2.17 (core)",
    "@oclif/plugin-not-found 2.3.37 (core)",
    "@oclif/plugin-plugins 3.2.7 (core)",
    "@oclif/plugin-search 0.0.22 (core)",
    "@oclif/plugin-update 3.1.32 (core)",
    "@oclif/plugin-version 1.3.8 (core)",
    "@oclif/plugin-warn-if-update-available 2.0.48 (core)",
    "@oclif/plugin-which 2.2.31 (core)",
    "@salesforce/cli 2.6.9 (core)",
    "apex 2.3.11 (core)",
    "auth 2.8.13 (core)",
    "data 2.5.7 (core)",
    "deploy-retrieve 1.17.5 (core)",
    "functions 1.22.3 (user)",
    "info 2.6.39 (core)",
    "limits 2.3.31 (core)",
    "login 1.2.28 (core)",
    "org 2.10.3 (core)",
    "schema 2.3.23 (core)",
    "settings 1.4.26 (core)",
    "sobject 0.2.6 (core)",
    "source 2.10.32 (core)",
    "telemetry 2.3.1 (core)",
    "templates 55.5.10 (core)",
    "trust 2.6.3 (core)",
    "user 2.3.29 (core)"
  ]
}
@SCWells72 SCWells72 added the investigating We're actively investigating this issue label Oct 30, 2023
@github-actions
Copy link

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
Copy link

Hello @SCWells72 👋 None of the versions of sf you shared match the latest release.

Shared: 2.6.9
Latest: 2.14.6

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

@github-actions github-actions bot added more information required Issue requires more information or a response from the customer and removed investigating We're actively investigating this issue labels Oct 30, 2023
@SCWells72
Copy link
Author

I just updated to the latest-and-greatest. I've seen this for a few weeks so across multiple builds, so I doubt it's resolved by this most recent update. I'll post an update here if/when I see it occur again.

New version info:

{
  "architecture": "win32-x64",
  "cliVersion": "@salesforce/cli/2.14.6",
  "nodeVersion": "node-v18.15.0",
  "osVersion": "Windows_NT 10.0.22621",
  "rootPath": "C:\\Users\\Scott\\AppData\\Local\\sf\\client\\2.14.6-1f2724e",
  "shell": "cmd.exe",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 2.3.10 (core)",
    "@oclif/plugin-commands 3.0.3 (core)",
    "@oclif/plugin-help 6.0.3 (core)",
    "@oclif/plugin-not-found 3.0.2 (core)",
    "@oclif/plugin-plugins 3.9.2 (core)",
    "@oclif/plugin-search 1.0.3 (core)",
    "@oclif/plugin-update 4.1.2 (core)",
    "@oclif/plugin-version 2.0.3 (core)",
    "@oclif/plugin-warn-if-update-available 3.0.1 (core)",
    "@oclif/plugin-which 3.0.5 (core)",
    "@salesforce/cli 2.14.6 (core)",
    "apex 2.3.20 (core)",
    "auth 2.8.22 (core)",
    "data 2.5.19 (core)",
    "deploy-retrieve 1.19.2 (core)",
    "functions 1.22.3 (user)",
    "info 2.6.49 (core)",
    "limits 2.3.39 (core)",
    "login 1.2.37 (core)",
    "marketplace 0.3.0 (core)",
    "org 2.11.4 (core)",
    "schema 2.3.30 (core)",
    "settings 1.4.35 (core)",
    "sobject 0.2.13 (core)",
    "source 2.10.43 (core)",
    "telemetry 2.3.6 (core)",
    "templates 55.5.14 (core)",
    "trust 2.6.20 (core)",
    "user 2.3.37 (core)"
  ]
}

@github-actions github-actions bot added validated Version information for this issue has been validated investigating We're actively investigating this issue and removed more information required Issue requires more information or a response from the customer labels Oct 30, 2023
@shetzel shetzel added the more information required Issue requires more information or a response from the customer label Nov 15, 2023
Copy link

This issue has not received a response in 7 days. It will auto-close in 7 days unless a response is posted.

@github-actions github-actions bot added the stale label Nov 23, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating We're actively investigating this issue more information required Issue requires more information or a response from the customer stale validated Version information for this issue has been validated
Projects
None yet
Development

No branches or pull requests

2 participants