Skip to content

Frequent Authentication Error #3572

@tannerrobinaugh

Description

@tannerrobinaugh

Expected result

Running a deployment or retrieval command results in the metadata being deployed or retrieved.

Actual result

Running a deployment or retrieval command results in "No default environment found. Use -o or --target-org to specify an environment."
Running with those flags results in "Failed to decipher auth data. reason: Unsupported state or unable to authenticate data."

Additional information

This issue just started today. I was not on the most recent version of the CLI, however updating has not fixed it. I have removed my existing connections and reestablished them which fixed the issue for about an hour but then it came back.

System Information

CLI:
@salesforce/cli/2.137.7 linux-x64 node-v22.22.3

Plugin Version:
@oclif/plugin-autocomplete 3.2.50 (core)
@oclif/plugin-commands 4.1.55 (core)
@oclif/plugin-help 6.2.49 (core)
@oclif/plugin-not-found 3.2.86 (core)
@oclif/plugin-plugins 5.4.69 (core)
@oclif/plugin-search 1.2.50 (core)
@oclif/plugin-update 4.7.43 (core)
@oclif/plugin-version 2.2.46 (core)
@oclif/plugin-warn-if-update-available 3.1.65 (core)
@oclif/plugin-which 3.2.55 (core)
@salesforce/cli 2.137.7 (core)
agent 1.40.5 (core)
apex 3.9.31 (core)
api 1.3.36 (core)
auth 4.4.1 (core)
code-analyzer 5.13.0 (user)
data 4.0.103 (core)
deploy-retrieve 3.24.50 (core)
info 3.4.136 (core)
limits 3.3.91 (core)
marketplace 1.3.28 (core)
org 5.11.4 (core)
packaging 2.28.3 (core)
schema 3.3.115 (core)
settings 2.4.82 (core)
sobject 1.4.110 (core)
telemetry 3.8.23 (core)
templates 56.17.7 (core)
trust 3.8.11 (core)
user 3.10.1 (core)
SF ENV. VARS.
SF_BINPATH,/home/tannerrobinaugh/.local/share/sf/client/bin/sf
SF_AUTOUPDATE_DISABLE,true
SF_DISABLE_AUTOUPDATE,true
SF_UPDATE_INSTRUCTIONS,Use "npm update --global @salesforce/cli" to update npm-based installations.
Windows: false
Shell: bash
Channel: stable

Diagnostics

✅ pass - salesforcedx plugin isn’t installed
✅ pass - you don't have any linked plugins
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.yarnpkg.com
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org/
✅ pass - using latest or latest-rc CLI version
✅ pass - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches apiVersion
✅ pass - can access: https://test.salesforce.com
✅ pass - can access: https://appexchange.salesforce.com/services/data
✅ pass - can access: https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-win32-x64-buildmanifest
✅ pass - [@salesforce/plugin-auth] CLI supports v2 crypto

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions