#telegram failing

1 messages · Page 1 of 1 (latest)

hollow creek
#

"Telegram plugin fails with ETIMEDOUT in Docker host-network mode on Unraid. Node.js fetch to api.telegram.org works fine but the grammy polling fails. OpenClaw version 2026.4.24."

sick pastureBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

crisp vectorBOT
#

This smells like the getUpdates long-poll path, not basic Telegram reachability. A simple Node fetch("https://api.telegram.org")/getMe can pass while grammY/OpenClaw polling still times out, because polling holds a long HTTPS request and uses OpenClaw’s Telegram transport/undici dispatcher.

I’d try this order:

openclaw channels status --probe
openclaw channels logs --channel telegram
openclaw logs --follow

Then in Docker/Unraid, force the Telegram path toward IPv4 and restart the container:

{
  channels: {
    telegram: {
#
      network: {
        autoSelectFamily: false,
        dnsResultOrder: "ipv4first",
      },
    },
  },
}

or as env:

OPENCLAW_TELEGRAM_DISABLE_AUTO_SELECT_FAMILY=1
OPENCLAW_TELEGRAM_DNS_RESULT_ORDER=ipv4first