I apologise in advance for what I am sure is a trivial issue, but having spent a few hours going through the docs and various blogs, I’m no further on and becoming frustrated.
I have a simple bot, which works fine via shell.
I have a small web server, and I’m trying to deploy the bot via the guide here:
I have created a simple page, added a break in the firewall of the VPS for port 5005 and started rasa using the command
rasa run --debug --enable-api --cors "*"
I have added the following to endpoints.yml
#web
action_endpoint:
url: "http://localhost:5005/webhook"
and the following to credential.yml
`socketio:
user_message_evt: user_uttered
bot_message_evt: bot_uttered
session_persistence: false`
Yet when I try and access the bot, I get nothing. I can see the widget and type entries into to, but the bot isn’t responding. Running rasa using debug suggests my prompts are not reaching it.
Inspecting the widget, I notice the following CORS errors:
Access to XMLHttpRequest at '[URL]:5005/?EIO=4&transport=polling&t=OPc9hMR' from origin '[URL]' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I have redacted my URL with [URL]
I’m sure I have missed something trivial or basic, but any help would be really appreciated.
VBK