Hello, I have created some dockerfiles to make it easier to launch rasa and the action-server. Both of them start fine and work as expected.
Unfortunately, when I want to start the interactive learning mode, my custom actions can not be executed, because the action server is not reachable.
My steps are the following ones:
- launch rasa and actionserver via
sudo docker-compose up
These two work succesfully after:
Name Command State Ports
-------------------------------------------------------------------------------------------
rasamount_action_server_1 ./entrypoint.sh start --ac ... Up 0.0.0.0:5055->5055/tcp
rasamount_rasa_1 rasa run --cors * --endpoi ... Up 0.0.0.0:5005->5005/tcp
- Trying to launch the interactive mode via
sudo docker run -it -v $(pwd):/app andileni/v2 interactive
The interactive mode will show up, however my custom actions are lost with the following message:
? The bot wants to run 'barcode_form', correct? Yes
2019-12-18 16:43:48 ERROR rasa.core.actions.action - Failed to run custom action 'barcode_form'. Couldn't connect to the server at 'http://action_server:5055/webhook'. Is the server running? Error: Cannot connect to host action_server:5055 ssl:None [Name or service not known]
2019-12-18 16:43:48 ERROR rasa.core.processor - Encountered an exception while running action 'barcode_form'. Bot will continue, but the actions events are lost. Please check the logs of your action server for more information.
It seems like http://action_server:5055/webhook
is only visible for the rasa instace that is launched with the action server, can I change this behavior?
Or is there an example somewhere in the docs?
Kind regards Andreas