I’m trying to follow this guide on how to connect Rasa to Aimybox for interacting with your assistant by voice.
It works just fine if I follow the guide step by step, creating the chatbot locally and then making it public with ngrok.
What I wanted to do next was to connect the chatbot that I have running on my server, so that I don’t need to have ngrok running all the time. So what I did was just replacing
val dialogApi = RasaDialogApi(unitId, "https://be1daa0d.ngrok.io/webhooks/rest/webhook")
with
val dialogApi = RasaDialogApi(unitId, "http://<my-ip>/webhooks/rest/webhook")
but this time I get no answer from the bot. What am I doing wrong?
Also, I would like to make the application work offline, without needing of ngrok or a server being running, how can I achieve that?
Mhm, this should be the right url. Can you try hitting this url (http://<my-ip>/core/webhooks/rest/webhook) manually (e.g. with curl) to see if it works?
Maybe I spotted the problem… If I use http instead of https with my ngrok link, it works fine if I send a test request, but doesn’t work with Aimybox -> just like what happens with my server.
So maybe the problem is that Aimybox doesn’t accept not protected connections. I still need to find a workaround though…