Connecting RASA on EC2 to Telegram

Hi all,

I am excited to connect RASA (version 2.2.x) to Telegram but I am facing some issue. I have created my bot on EC2, configured Nginx and generated SSL. I am currently able to run my bot on HTTPS at port 443 (https://{ec2-public-dns}/webhooks/rest/webhook).

However, when I tried to connect to Telegram (I have completed the steps over here Telegram), I get no response from the bot. There are no error messages and no other messages when I run the bot.

Any advice will be appreciated. Thank you.

[Edit] I am not using ngrok as I already have Nginx as my reverse proxy. Or is ngrok compulsory (as all the tutorials and solutions are all based on ngrok)?

[Edit 2] This is the command I am running to start the server

rasa run --enable-api --cors “*”

Do you find the solution for nginx?