Environment:
-
OS: Ubuntu
-
Setup: Docker-compose (Dockge)
-
Access: Cloudflare Tunnel + Cloudflare Access (Zero Trust)
-
n8n Version: Latest Docker
Current Situation:
My n8n dashboard is now fully accessible at https://n8n.e*******.site. The Cloudflare Tunnel is active and stable. However, the Telegram Trigger node is not receiving any messages/events from Telegram.
What has been configured:
-
Environment Variables:
-
N8N_HOST=n8n.e*******.site
-
N8N_PROTOCOL=https
-
WEBHOOK_URL=https://n8n.e*******.site/ (Verified that n8n generates HTTPS webhook URLs).
-
-
Network Routing:
-
Cloudflare Tunnel points to the Docker Bridge IP 172.17.0.1:5678.
-
Dashboard loads perfectly, so the tunnel-to-container path is working.
-
-
Cloudflare Access Policy:
-
I have a Zero Trust Access policy protecting the dashboard.
-
Question: I suspect this policy is blocking Telegram’s incoming Webhooks. Should I add a Bypass Policy specifically for the /webhook/* path?
-
-
Bot Testing:
-
Bot token is correct.
-
Manually reset webhooks via deleteWebhook API.
-
No errors shown in n8n UI, but the “Test Step” just waits forever for an event.
-
Specific Questions:
-
Is a Bypass Policy for path /webhook/* enough to let Telegram through Cloudflare Access?
-
Are there any specific Cloudflare WAF or Bot Fight Mode settings that usually block Telegram’s servers?
-
Should I use 172.17.0.1 or the container name for better stability in this specific tunnel setup?
Thanks for the help!