Hi, my team is test deploying a rasa open source 3.0.8 chatbot (without rasa-x). We have a stack of docker containers (rasa+actions+duckling) that succesfully works via ngrok:
What we achieved so far in our local test deployment:
-
we get connection and bot responses locally to our
facebook
channel via messaging on a test page and test app and we get the widget working with bot responses at the localhostrest
channel. Facebook connection is tested via ngrok. -
This is done in a local Docker stack via
docker compose
We are trying to deploy the service in amazon ECS, what we achieved so far is:
-
We hosted the service in ECS, getting an amazon url for the webhooks.
-
We get
Hello from Rasa: 3.0.8
atamazonurl/prod
-
we get
status:ok
at/prod/webhooks/facebook
and/prod/webhooks/rest
, by acessing the provided url anywhere
Now we are facing the following issues
-
We can’t connect our webpage widget to the test rest webhook. However
POST
requests and bot responses work fine on the rest channel. One of our engineers says it is CORS related but he hasn’t managed to figure it out. -
We can’t add the webhook in the app manager at developers facebook. We get
The callback URL or verify token couldn't be validated. Please verify the provided information or try again later.
If we test the webhook directly as in Webhook Setup - Messenger Platform - Documentation - Facebook for Developers we also getfailure, invalid token
Our verification token has not changed and has the format hello_world
.
Any help appreciated, does anyone have any experience deploying in the cloud without rasa-x?