Sure @akelad. I also included couple more pieces of info below them to help further.
/etc/rasa$ sudo docker-compose logs rasa-production
Attaching to rasa_rasa-production_1
rasa-production_1 | 2020-03-18 07:58:57.754024: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer.so.6'; dlerror: libnvinfer.s
o.6: cannot open shared object file: No such file or directory
rasa-production_1 | 2020-03-18 07:58:57.754440: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer_plugin.so.6'; dlerror: libnv
infer_plugin.so.6: cannot open shared object file: No such file or directory
rasa-production_1 | 2020-03-18 07:58:57.754521: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:30] Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with
TensorRT, please make sure the missing libraries mentioned above are installed properly.
rasa-production_1 | 2020-03-18 07:59:22 ERROR pika.adapters.utils.io_services_utils - Socket failed to connect: <socket.socket fd=21, family=AddressFamily.AF_INET, type=2049, prot
o=6, laddr=('172.18.0.7', 59920)>; error=111 (Connection refused)
rasa-production_1 | 2020-03-18 07:59:22 ERROR pika.adapters.utils.connection_workflow - TCP Connection attempt failed: ConnectionRefusedError(111, 'Connection refused'); dest=(<Ad
dressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('172.18.0.4', 5672))
rasa-production_1 | 2020-03-18 07:59:22 ERROR pika.adapters.utils.connection_workflow - AMQPConnector - reporting failure: AMQPConnectorSocketConnectError: ConnectionRefusedError(
111, 'Connection refused')
rasa-production_1 | 2020-03-18 07:59:27 ERROR pika.adapters.utils.io_services_utils - Socket failed to connect: <socket.socket fd=25, family=AddressFamily.AF_INET, type=2049, prot
o=6, laddr=('172.18.0.7', 59938)>; error=111 (Connection refused)
rasa-production_1 | 2020-03-18 07:59:27 ERROR pika.adapters.utils.connection_workflow - TCP Connection attempt failed: ConnectionRefusedError(111, 'Connection refused'); dest=(<Ad
dressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('172.18.0.4', 5672))
rasa-production_1 | 2020-03-18 07:59:27 ERROR pika.adapters.utils.connection_workflow - AMQPConnector - reporting failure: AMQPConnectorSocketConnectError: ConnectionRefusedError(
111, 'Connection refused')
rasa-production_1 | 2020-03-18 07:59:32 ERROR pika.adapters.utils.io_services_utils - Socket failed to connect: <socket.socket fd=25, family=AddressFamily.AF_INET, type=2049, prot
o=6, laddr=('172.18.0.7', 59946)>; error=111 (Connection refused)
rasa-production_1 | 2020-03-18 07:59:32 ERROR pika.adapters.utils.connection_workflow - TCP Connection attempt failed: ConnectionRefusedError(111, 'Connection refused'); dest=(<Ad
dressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('172.18.0.4', 5672))
rasa-production_1 | 2020-03-18 07:59:32 ERROR pika.adapters.utils.connection_workflow - AMQPConnector - reporting failure: AMQPConnectorSocketConnectError: ConnectionRefusedError(
111, 'Connection refused')
rasa-production_1 | 2020-03-18 09:15:11.952044: E tensorflow/stream_executor/cuda/cuda_driver.cc:351] failed call to cuInit: UNKNOWN ERROR (303)
rasa-production_1 | 2020-03-18 09:23:10 WARNING rasa.core.featurizers - Feature 'intent_restart' could not be found in feature map.
rasa-production_1 | 2020-03-18 09:26:46 ERROR rasa.core.processor - Encountered an exception while running action 'submit_form'. Bot will continue, but the actions events are lost
. Please check the logs of your action server for more information.
rasa-production_1 | 2020-03-18 09:35:23 ERROR rasa.core.channels.rasa_chat - JWT public key invalid, fetching new one.
rasa-production_1 | 2020-03-18 09:35:23 WARNING rasa.core.featurizers - Feature 'intent_restart' could not be found in feature map.
rasa-production_1 | 2020-03-18 09:35:33 ERROR rasa.core.processor - Encountered an exception while running action 'submit_form'. Bot will continue, but the actions events are lost
. Please check the logs of your action server for more information.
rasa-production_1 | 2020-03-18 09:36:27 ERROR rasa.core.processor - Encountered an exception while running action 'submit_form'. Bot will continue, but the actions events are lost
. Please check the logs of your action server for more information.
/etc/rasa$ sudo docker-compose logs app
Attaching to rasa_app_1
app_1 | 2020-03-18 09:35:00 INFO rasa_sdk.endpoint - Starting action endpoint server...
app_1 | 2020-03-18 09:35:00 ERROR rasa_sdk.executor - Failed to register package 'actions.actions'.
app_1 | Traceback (most recent call last):
app_1 | File "/app/rasa_sdk/executor.py", line 206, in register_package
app_1 | self._import_submodules(package)
app_1 | File "/app/rasa_sdk/executor.py", line 191, in _import_submodules
app_1 | package = importlib.import_module(package)
app_1 | File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
app_1 | return _bootstrap._gcd_import(name[level:], package, level)
app_1 | File "<frozen importlib._bootstrap>", line 994, in _gcd_import
app_1 | File "<frozen importlib._bootstrap>", line 971, in _find_and_load
app_1 | File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
app_1 | ModuleNotFoundError: No module named 'actions.actions'
app_1 | 2020-03-18 09:35:33 ERROR rasa_sdk.endpoint - No registered action found for name 'submit_form'.
app_1 | 2020-03-18 09:36:27 ERROR rasa_sdk.endpoint - No registered action found for name 'submit_form'.
The submit form is in actions/actions.py as recommended in the tutorial:
cat actions/actions.py | grep -i submit
class SubmitForm(FormAction):
return "submit_form"
def submit(
dispatcher.utter_message("Thanks for submitting the information, we’ll review and update soon.")
And the submit form is working locally.
Bot loaded. Type a message and press enter (use '/stop' to exit):
Your input -> submit
What kind of information is this?