I’m trying to connect my Telegram bot to n8n, but when I activate the Telegram Trigger node, I get this error:
Bad Request: bad webhook: An HTTPS URL must be provided
I’m running n8n locally on my Windows machine at http://localhost:5678
.
I understand Telegram requires a webhook URL that starts with HTTPS.
Can someone please guide me on how to fix this?
1 Like
tridi
May 20, 2025, 6:46pm
2
Hi AliNaraghiA welcome to n8n community
You can use Cloudflare Tunnel for this issue. Please learn more through the following reference:
Cloudflare Tunnel provides you with a secure way to connect your resources to Cloudflare without a publicly routable IP address. With Tunnel, you do not send traffic to an external IP — instead, a lightweight daemon in your infrastructure...
1 Like
Hi @AliNaraghiA
Your local computer isn’t accessible from the internet, so Telegram can’t connect to it. To use Telegram or any external service, you’ll need to run n8n on a web server with a publicly accessible HTTPS URL.
Best,
Robert Breen