I’ve configured Telegram connector precisely following the instruction in the docs, but the bot does not respond to any messages. I’ve seen some users put --enable-api key to the rasa run command. Could it be it or some other thing I am missing?
can you share something regarding this, and as Violetta suggested first try and confirm with us that are you able to chat with the bot, yes then Telegram is working fine and then we will investigate the proxy issue. Good Luck
My setup is following: I am working on a server that doesn’t have public ports open. To have a public access to the telegram endpoint I use a proxy that redirects traffic from an open URL to port 8443 on my machine. The proxy is working fine – I have checked it with a simple uvicorn app.
I do rasa run -vv. In the logs I see this (I’ve hidden my bot’s token and my proxy address): https://api.telegram.org:443"GET /bot<MY_TOKEN>/setWebhook?url=<MY_PROXY>%2Fwebhooks%2Ftelegram%2Fwebhook HTTP/1.1" 200 64. This might mean that the connection is OK.
However, the bot doesn’t respond to the messages and in the logs I don’t get any confirmation that the messages were received.
@BunnyNoBugs I’m so sorry, I have not much experience in implementing rasa with Telegram, else I have provided the solution, I agree that I forgot to reply to your post, please accept my apologies. Is your issue still persist?
I have the same issue with rasa telegram integration. I’ve checked via telegram API if the webhook is set after start of rasa server. But the result was that the webhook was not set.
After the manual set via REST with http://localhost:5005/webhooks/telegram/set_webhook the integration works.
I’m using Rasa Version 3.3.0 and Python Version 3.9.