-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Bug]: SecretRef-backed Google Chat auth reports unhealthy in some CLI commands while gateway status succeeds (2026.6.5) #91815
Copy link
Copy link
Closed
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingbug:behaviorIncorrect behavior without a crashIncorrect behavior without a crashclawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingbug:behaviorIncorrect behavior without a crashIncorrect behavior without a crashclawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Type
Fields
Priority
None yet
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
CLI commands including
openclaw browser doctor,openclaw gateway health, andopenclaw channels statusfail withGatewaySecretRefUnavailableErrorwhengateway.auth.passwordis configured via SecretRef, whileopenclaw gateway status --deepreports the gateway as healthy and reachable.Steps to reproduce
gateway.auth.passwordstored as a SecretRef.openclaw gateway status --deepopenclaw gateway healthGatewaySecretRefUnavailableErroropenclaw browser doctoror
openclaw channels statusGatewaySecretRefUnavailableError.openclaw gateway status --deepExpected behavior
Commands that communicate with a healthy local gateway should resolve SecretRef-backed gateway credentials the same way as
openclaw gateway status --deepand should not fail withGatewaySecretRefUnavailableError.Actual behavior
openclaw gateway health,openclaw browser doctor, andopenclaw channels statusfail with:GatewaySecretRefUnavailableError: gateway.auth.password is configured as a secret reference but is unavailable in this command path.At the same time,
openclaw gateway status --deepreports:The issue was observed with
gateway.auth.passwordconfigured as a SecretRef.OpenClaw version
2026.6.5
Operating system
Linux Mint 22.3 (based on Ubuntu 24.04 LTS)
Install method
npm global install
Model
google/gemini-3.1-pro-preview
Provider / routing chain
OpenRouter -> Google Gemini
Additional provider/model setup details
Issue reproduces before any model inference occurs. The problem appears related to SecretRef-backed gateway authentication resolution in CLI commands.
Logs, screenshots, and evidence
Impact and severity
Operators using SecretRef-backed gateway authentication may be unable to use gateway-dependent CLI commands even when the gateway is healthy and reachable. The issue affects diagnostics and browser/channel tooling and can make a healthy installation appear broken.
Additional information
The gateway password is configured as a SecretRef and intentionally not stored in plaintext. This installation uses Bitwarden Secrets Manager. The gateway starts successfully, reports healthy status via
openclaw gateway status --deep, and Google Chat functions correctly, but several CLI commands fail withGatewaySecretRefUnavailableError.