Hey there i am getting this message : ( i use Docker container and my n8n setup is self hosted)
Hey @Anshul_Soni hope all is well, welcome to the community.
Thanks for sharing the screenshot. The error you’re seeing:
Bad Request: bad webhook: An HTTPS URL must be provided for webhook
…means that Telegram requires your webhook to be publicly accessible over HTTPS, but your current n8n instance is not accessible that way - most likely it’s running with just plain HTTP or locally without a reverse proxy + SSL.
Telegram requires a valid public HTTPS endpoint for setting webhooks. Since you’re self-hosting with Docker, you could try the following approaches::
- Option 1: If you have your own domain - use a reverse proxy with HTTPS (e.g., Traefik, Nginx, Caddy). Another option would be using Cloudflare tunnel if you are using their services.
- Option 2: if you do or don’t have your own domain - use n8n.cloud or Webhook Relay, Ngrok, or Zrok for testing.
You can do port forwarding with ngrok to make your bot running well
thanks, but what i need to do in docker cause i cannot see creating Env options here (using docker desktop)
okay so i have forwarded the port do i need to paste this URL anywhere ?
you can do port forwarding by exposing the port use -p flag, so maybe you can use docker -p 3000:5678 n8n/latest (i guess)
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
