I’m running n8n locally, and by default, it uses HTTP (http://localhost:5678). I want to use the Telegram Trigger node, but I get this error:
Bad Request: bad webhook: An HTTPS URL must be provided for webhook
I understand that Telegram requires an HTTPS webhook, so I tried using ngrok by running:
ngrok http 5678
This gives me an HTTPS URL (e.g., https://abcd-1234.ngrok.io). However, in the Telegram Trigger node, the webhook URLs are still using http://localhost:5678 and cannot be changed manually.
Is there a way to make n8n automatically use the ngrok URL for webhooks?
I am stuck at this stage 5 days now. I have tried about everything I can think of and I used perplexity.ai and meta.ai to try and fix it and I still cannot get it to work. Any help is appreciated. I have done all those steps and do believe I am missing something because the webhook is not available in the telegram node and the webhook node does not connect to the telegram node.
I did mount my new container already and deleted it and mounted it many ways. I made changes to my .env file. I have done everything but I cannot get the telegram to talk to my node correctly. When I look at it in the POST in the URL it has a http instead of a https address. I have no idea how to correct that. That could be a feature that should be implemented by n8n to just allow input and then it should extrapolate the other settings from there. I have made so many changes I now do not even know what to input into those fields or if I am using the correct node. I started with a telegram node and i changed it to a webhook node. All help is appreciated. I am trying to setup a discord team for everyone who would like to learn what to do when they come across some issues. I would like to expand my knowledge of how to build in this environment and the collaboration could actually help make suggestions for improvements on the program. Only the novice sees issues that the expert can overcome. Look me up on discord Diablo Loco in the n8n discord.