[All Platform]Telegram messaging broken on v0.0.10: deprecated tls: terminate + OpenClaw doctor migration drops all group messages
Description
Description
Telegram messaging channel fails on NemoClaw v0.0.10 (OpenShell 0.0.24). After onboarding with telegram preset enabled and providing a valid bot token, the sandbox reports doctor warnings about groupPolicy "allowlist" with empty groupAllowFrom, causing all group messages to be silently dropped. The same configuration worked correctly on v0.0.9 (OpenShell 0.0.20).
Reproduction Steps
1. nemoclaw onboard (select provider, enable telegram preset, enter valid bot token) 2. nemoclaw tele-bot connect 3. openclaw tui 4. Observe Doctor warnings on startup: - "Doctor changes: Moved channels.telegram single-account top-level values into channels.telegram.accounts.default." - "Doctor warnings: channels.telegram.accounts.default.groupPolicy is 'allowlist' but groupAllowFrom (and allowFrom) is empty — all group messages will be silently dropped." 5. Send a message to the bot via Telegram — no response receivedActual Result
OpenClaw Doctor auto-migrates telegram config to new multi-account format (channels.telegram.accounts.default) but sets groupPolicy to "allowlist" with empty groupAllowFrom, silently dropping all incoming group messages. Bot does not respond.
Doctor output:
- "Moved channels.telegram single-account top-level values into channels.telegram.accounts.default."
- "channels.telegram.accounts.default.groupPolicy is 'allowlist' but groupAllowFrom (and allowFrom) is empty — all group messages will be silently dropped. Add sender IDs to channels.telegram.accounts.default.groupAllowFrom or channels.telegram.accounts.default.allowFrom, or set groupPolicy to 'open'."
Running "openclaw doctor --fix" does not resolve the issue. Providing correct bot ID does not resolve the issue.
Expected Result
Telegram bot responds to messages. Worked correctly on NemoClaw v0.0.9 with identical bot token and configuration.
Root Cause
Two contributing factors identified:
-
Deprecated TLS policy in telegram preset
- File: nemoclaw-blueprint/policies/presets/telegram.yaml:16
- Code:
tls: terminate - The telegram preset still uses
tls: terminatewhich is deprecated in OpenShell 0.0.24. Sandbox logs repeatedly warn: "'tls: terminate' is deprecated; TLS termination is now automatic. Use 'tls: skip' to disable." - This deprecation warning appeared for all endpoint groups including telegram.
- This was not an issue in v0.0.9 (OpenShell 0.0.20) where
tls: terminatewas still the supported syntax.
-
OpenClaw config migration sets restrictive default
- OpenClaw 2026.3.11 Doctor auto-migrates single-account telegram config to multi-account format (channels.telegram.accounts.default) but defaults groupPolicy to "allowlist" with empty allowFrom lists.
- This is an OpenClaw-side issue — NemoClaw passes the bot token correctly, but OpenClaw's migration creates a config that silently drops all messages.
- Suggested fix (NemoClaw side): update nemoclaw-blueprint/policies/presets/telegram.yaml
to use
tls: skipinstead oftls: terminatefor OpenShell >= 0.0.24 compatibility. - Suggested fix (OpenClaw side): Doctor migration should default groupPolicy to "open" or prompt the user, rather than silently setting "allowlist" with empty lists.
Regression:
- Worked on: NemoClaw v0.0.9 + OpenShell 0.0.20 + OpenClaw (previous version)
- Broken on: NemoClaw v0.0.10 + OpenShell 0.0.24 + OpenClaw 2026.3.11
Environment:Device: Brev GPU instance (denvr_A100_sxm4) Hostname: brev-8j34q9j81 Node.js: v22.22.2 npm: 10.9.7 Docker: Docker version 29.4.0, build 9d7ad9f OpenShell CLI: 0.0.24 NemoClaw: 0.0.10-9-gc4767b63 OpenClaw: 2026.3.11 (29dc654) OS: Linux 5.15.0-107-generic (Ubuntu)
Bug Details
| Field | Value |
|---|---|
| Priority | Unprioritized |
| Action | Dev - Open - To fix |
| Disposition | Open issue |
| Module | Machine Learning - NemoClaw |
| Keyword | NemoClaw, NEMOCLAW_GH_SYNC_APPROVAL, NemoClaw-SWQA-RelBlckr-Recommended |
[NVB# 6063184]
[NVB#6063184]
Even if you leave everything completely open, it won't work. Telegram groups is broken in OpenClaw, at least up to 2026.4.9. You can send commands to the bot or messages from NemoClaw to the groups, but all replies and direct messages are lost.
Status update — NemoClaw side fixed, upstream tracked
NemoClaw fix (merged): PR #1653 addresses both root causes on our side:
- Removed deprecated
tls: terminatefrom Telegram/Discord/Slack presets (now relies on OpenShell automatic TLS handling) - Bakes
groupPolicy: openin the default Telegram account config at image build time, so Doctor migration can't silently set an empty allowlist
Upstream OpenClaw bug: The Doctor migration that defaults groupPolicy to "allowlist" with empty groupAllowFrom is tracked as openclaw/openclaw#35560. I've commented there linking this issue and asking for a timeline.
Not closing this yet — users on older NemoClaw images or non-baked-image paths can still hit the Doctor migration. Will close once the upstream fix lands or we confirm the workaround covers all onboarding paths.