I run Rasa together with Rasa X on the same machine. I set up Rasa X with the ephemeral installer and connected to rasa with rasactl connect rasa
. It all works fine, except that it cannot communicate to the action server for some reason.
I had the action endpoint as action_endpoint: url: "http://localhost:5055/webhook"
on endpoints.yml
file. Also I tried setting up the action endpoint as an external endpoint from another machine. Both cases I verified that the servers themselves are working, but the rasa instance is just not connecting to it. I’m getting the following error (for all of the actions):
rasa.core.processor - Encountered an exception while running action 'action_get_userid'.Bot will continue, but the actions events are lost. Please check the logs of your action server for more information.
Traceback (most recent call last):
File "/home/ubuntu/envs/rasax/lib/python3.8/site-packages/rasa/core/processor.py", line 772, in _run_act(production-worker) ion
events = await action.run(
File "/home/ubuntu/envs/rasax/lib/python3.8/site-packages/rasa/core/actions/action.py", line 672, in run
raise RasaException(
rasa.shared.exceptions.RasaException: Failed to execute custom action 'action_get_userid' because no endpoint is configured to run this custom action. Please take a look at the docs and set an endpoint configuration via the --endpoints flag. https://rasa.com/docs/rasa/custom-actions