Issue: Webohooks Not Working on VPS with SSL, but Works Locally with Ngrok

Describe the problem/error/question

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
  • Operating system: Ubuntu 24.04

Thanks!!

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @IvannVerano,

Welcome to the community :tada:

Tip for sharing your workflow in the forum

Pasting your n8n workflow


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?

1 Like

Thank you very much for your reply. In the end I changed ngrix for traefik and now it works.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.