-
-
Notifications
You must be signed in to change notification settings - Fork 69.5k
status: unresolved SecretRef for Telegram botToken while doctor reports Telegram OK #34292
Copy link
Copy link
Closed
Description
Summary
openclaw status fails with:
channels.telegram.botToken: unresolved SecretRef "env:default:TELEGRAM_BOT_TOKEN"
…even when the Telegram channel is healthy and openclaw doctor reports Telegram: ok.
Environment
- OpenClaw:
2026.3.2 (85377a2) - Host: Linux (systemd user service)
- Channel config includes:
channels.telegram.enabled: truechannels.telegram.botToken: "${TELEGRAM_BOT_TOKEN}"
TELEGRAM_BOT_TOKENexists in~/.openclaw/.envand matches Telegram token format.
Repro
- Set Telegram token via env SecretRef (
${TELEGRAM_BOT_TOKEN}) - Ensure gateway is running and Telegram is connected
- Run:
openclaw doctor✅ showsTelegram: ok (@...bot)openclaw gateway status✅ healthyopenclaw status❌ fails with unresolved SecretRef error
Observed behavior
status appears to resolve SecretRef on a path that does not use the active resolved runtime snapshot, causing a false unresolved error for an active, healthy channel.
Expected behavior
openclaw status should either:
- Use the active runtime snapshot (same effective data path as doctor), or
- Fall back gracefully when runtime already has resolved secrets.
Notes
openclaw secrets reloaddoes not change outcome.openclaw secrets auditreportsunresolved=0.- This makes
statusunreliable as a health command in this configuration.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.