Rasa-X: Your model training has failed

Hi, I am using REI installation for my deployment of Rasa chatbot that my team is developing. We successfully trained and deployed model via “Upload from files” option, but as soon as we want to “Train model” (code from git repository) we get “Your model training has failed” alert. Logs from worker node are:

handle_request:133: RuntimeWarning: coroutine ‘async_if_callback_url..decorated_function..wrapped’ was never awaited “_run_response_middleware”,

RuntimeWarning: Enable tracemalloc to get the object allocation traceback

[2022-06-09 21:06:32 +0000] [1] [ERROR] Exception occurred while handling uri: ‘http://rasa-x-rasa-worker.smarttherapy.svc:5005/model/train?force=true&save_to_default_model_directory=true&callback_url=http://rasa-x-rasa-x.smarttherapy.svc:5002/api/projects/default/models/jobs/16/result?token%3DrasaXToken&token=rasaToken

Traceback (most recent call last): File “handle_request”, line 83, in handle_request )

File “/opt/venv/lib/python3.8/site-packages/rasa/server.py”, line 234, in decorated return await result if isawaitable(result) else result

File “/opt/venv/lib/python3.8/site-packages/rasa/server.py”, line 574, in decorated_function request.app.add_task(wrapped())

File “/opt/venv/lib/python3.8/site-packages/sanic/app.py”, line 1609, in add_task return self._loop_add_task(

File “/opt/venv/lib/python3.8/site-packages/sanic/app.py”, line 1565, in _loop_add_task task = loop.create_task(prepped, name=name)

TypeError: create_task() takes no keyword arguments

My environment is: $ rasactl status

Name: smarttherapy

Status: Running


Version: 1.1.1

Enterprise: inactive

Rasa production version: 3.0.10

Rasa worker version: 3.0.10

Project path: not defined

Any guesses what can cause such a problem? Thanks in advance for help :slight_smile: