Hi everyone,
I’m struggling to get the Telegram Trigger node to work in my local n8n setup (Docker on Mac M4). I’ve spent several hours troubleshooting and I’m stuck. Here are the details:
The Setup:
-
n8n Version: Latest (Running via Docker Desktop)
-
OS: macOS (M4 chip)
-
Tunnel: ngrok (URL:
https://stoloniferously-tubuliflorous-pedro.ngrok-free.app/) -
Workflow: Simple Telegram Trigger → No-Op (for testing)
What I’ve done:
-
Webhook Registration: I manually registered the webhook using
https://api.telegram.org/bot``<ID>:<TOKEN>/setWebhook?url=https://stoloniferously-tubuliflorous-pedro.ngrok-free.app/webhook/<ID>/webhook.- Result:
{"ok":true,"result":true,"description":"Webhook was set"}.
- Result:
-
Webhook Info: Checking
/getWebhookInfoshows the correct URL, butpending_update_countjust keeps increasing when I send messages to the bot. -
ngrok: The tunnel is online, but the “Connections” table stays at 0. No POST requests are hitting my local machine from Telegram.
-
n8n Configuration: The workflow is Active. I’ve tried toggling it on/off and using both Production and Test URLs.
The Problem: Even though the webhook is “set”, Telegram doesn’t seem to be able to “reach” my ngrok tunnel, or ngrok isn’t passing the traffic to Docker.
Has anyone faced issues with Telegram Webhooks and ngrok on Mac M4/Docker recently? Are there any specific environment variables for Docker I might be missing to allow this traffic?
Thanks in advance!