After rotating my Telegram bot token, I updated ~/.openclaw/.env with the new token. Gateway restarts are not picking it up β still getting 401 Unauthorized on deleteWebhook every retry cycle.
What I've tried:
Updated TELEGRAM_BOT_TOKEN in ~/.openclaw/.env
openclaw secrets reload β says reloaded, no unresolved refs
openclaw gateway restart β Telegram still 401s on next attempt
Status output shows:
Copy
β Telegram β ON β WARN β token env (8612β¦jnww Β· len 46)
Token length 46, correct <id>:<hash> format, colon present, numeric ID.
Log error (repeating, auto-restart loop):
Copy
telegram deleteWebhook failed: Call to 'deleteWebhook' failed! (401: Unauthorized)
[default] channel exited: Call to 'deleteWebhook' failed! (401: Unauthorized)
[default] auto-restart attempt N/10 in Xs
My openclaw.json telegram section has NO token field β token comes entirely from .env. No hardcoded values.
Questions:
Does secrets reload actually hot-swap the Telegram token, or does it require a full gateway restart?
Is there a way to force the channel to re-read the token without a full restart?
Could the old token still be cached somewhere other than .env or openclaw.json?
OpenClaw version: (run openclaw --version and add it)
Node: 24.14.1 / macOS Darwin 25.4.0 arm64