What I'm trying to do:
โข Have Dyson (my OpenClaw agent) respond to messages in a Telegram group chat.
โข Private chat (DM) with the same bot works instantly.
What's happening instead:
โข Every message to the group takes 5+ minutes to receive a response.
โข Log Evidence: Multiple occurrences of gateway secrets.resolve unavailable (gateway timeout after 30000ms) per request.
โข Internal Confirmation: Tailing the .jsonl session transcript confirms the agent is generating the response text (e.g., "Yeah, I'm here. What's up?") almost immediately, but the Telegram plugin never delivers it to the group.
Technical Context:
โข OpenClaw Version: 2026.4.27
โข Environment: Bare-metal systemd service, Ubuntu 24.04, Vultr VPS.
โข Verification: I can send messages to the same group ID using curl and the same Bot Token from the same VPS command line, and they arrive instantly. This confirms the Bot Token and network path are valid.
โข Group Settings: requireMention: false, allowFrom: ["*"].
โข DMs vs Groups: DMs work perfectly; the issue is strictly isolated to group-chat delivery from an embedded agent session.
Findings:
โข The group-delivery path in the Telegram provider appears to trigger a WebSocket secrets.resolve call back to the gateway.
โข Since the gateway is currently busy managing the active agent session, this call times out (30s), retries, and eventually causes a 5+ minute delay or total delivery failure.
Question:
Is this a known deadlock in the group-delivery logic? Is there a way to pre-resolve these secrets or bypass the WebSocket callback for group-chat handoffs?