I’m having trouble getting a Telegram trigger node to work on my VPS. The same workflow works perfectly in my local environment, but when I deploy it on my VPS with SSL, the bot gets stuck on “Listening for test event” and doesn’t proceed. Incoming messages don’t trigger any event.
I’ve tested this both with Docker and PM2 to run n8n in the background, and the issue persists. Locally, I’m using ngrok to expose the bot, while on the VPS I’m using a domain with SSL created using Certbot.
What is the error message (if any)?
In the logs, I see repeated messages saying:
The session “xxxxxx” is not registered.
Please share your workflow
The workflow is quite simple, it just includes a Telegram trigger node that listens to incoming messages. Here’s the workflow:
Share the output returned by the last node
No output is returned as the trigger doesn’t activate in the VPS environment.
Information on your n8n setup
n8n version: 1.61.0
Database (default: SQLite): Default (SQLite)
n8n EXECUTIONS_PROCESS setting (default: own, main): Own
Running n8n via (Docker, pm2): Initially Docker, now PM2
Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.
```
<your workflow>
```
Make sure that you’ve removed any sensitive information from your workflow and include dummy data or pinned data as much as you can!
What config options do you have set in your VPS? Could you share that here?
Are you using the same Telegram bot in another workflow or on another server?
Are you using a reverse proxy, if so what service are you using?