Nov '24 (edited) • Support Needed 💻
[Solved] n8n Telegram does not work behind reverse proxy
Hi,
I have n8n running on Docker, Synology NAS which uses nginx proxy.
The Telegram trigger is not triggered when I send a message to a Telegram bot I created. The node is spinning but does not receive message.
It appears to be proxy but no idea what to change.
Thanks for your feedback!
J
I might have extra relevant info:
Tried this for my setup https://api.telegram.org/bot 64<=BotApiToken=>/getWebhookInfo
Iow my cert might not
{ "ok": true, "result": { "url": "", "has_custom_certificate": false, "pending_update_count": 23 } }
ChatGPT said:
Yes, this is a response from Telegram’s getWebhookInfo API method, providing details about the webhook status for a Telegram bot. Here’s what each field means:
  • "ok": true: Indicates that the API request was successful.
  • "result": Contains the webhook details.
Within "result":
  1. "url": "": The webhook URL is empty, meaning no webhook is currently set up for this bot.
  2. "has_custom_certificate": false: Indicates that no custom certificate is being used (Telegram uses its default if this is false).
  3. "pending_update_count": 23: Indicates there are 23 pending updates (messages or actions) waiting to be delivered to the bot, likely due to the absence of an active webhook.
To resolve this:
  • Set a valid webhook URL using Telegram’s setWebhook method to ensure updates are sent to your server.
4o
0
8 comments
Jan Hoedt
4
[Solved] n8n Telegram does not work behind reverse proxy
AI Automation Society
skool.com/ai-automation-society
A community built to master no-code AI automations. Join to learn, discuss, and build the systems that will shape the future of work.
Leaderboard (30-day)
Powered by