Dawnclerk Book a free check

Notes

OpenClaw says “live”, but the Telegram bot is dead

The gateway was running and said so. For eight and a half hours the bot answered nobody. Here is how to see it, fix it and find out sooner next time.

. Seen on: OpenClaw 2026.6.1 on a Mac, Telegram with polling.

What happened

A short network failure cut the connection to Telegram. When the network came back, the Telegram channel did not. The gateway process kept running, /health kept answering {"ok":true,"status":"live"}, and the log wrote health-monitor: restarting (reason: stopped) every ten minutes without ever succeeding.

It happened twice. The first time it hit five gateways on one machine at once, and it took 90 minutes to notice. The second time it hit only one of two Telegram accounts on the same gateway. Sending still worked, so scheduled posts went out and everything looked normal. Only incoming messages were dead.

How to see it in one minute

openclaw channels status --probe

A healthy line says enabled, configured, running, connected. A dead one says stopped or health:not-running. Don't be fooled when the same line also says works and transport:just now. That only means the token is valid and Telegram can be reached. Nobody is listening.

The fix

openclaw gateway restart

The channel was back after about 40 seconds. Telegram had kept the missed messages, and the bot answered them right after the restart.

Find out sooner next time

A watchdog that only checks the process can't see this failure, because the process is fine. Check the state of each channel instead:

#!/bin/sh
# Run every ten minutes. Looks only at channels that are configured.
dead() {
  openclaw channels status --probe 2>/dev/null |
    grep ', configured,' | grep -E 'stopped|health:not-running'
}
if dead >/dev/null; then
  openclaw gateway restart
  sleep 45
  # send this line by email or SMS
  dead && echo "OpenClaw channel still down on $(hostname)"
fi

Written with AI help and checked against the logs of the machine it happened on.

Morning. What should be done by now?

Tell me the job you'd hand over first. I'll tell you honestly whether an agent can do it.

Reply within one working day. Or write to hello@dawnclerk.com.

↑↓ choose Enter open Esc close