Hello,
I am facing an issue while running Rasa X setup on Kubernetes. Specifically, the rasa-production Pod can not fetch a model from the rasa-x endpoint http://acc-bot-rasa-x-rasa-x:5002/api/projects/default/models/tags/production
.
I have double checked that there is a model on rasa x server. This is the full error message when rasa-production Pod starts:
2020-11-30 17:22:31 INFO root - Starting Rasa server on http://localhost:5005
2020-11-30 17:22:31 DEBUG rasa.core.utils - Using the default number of Sanic workers (1).
2020-11-30 17:22:31 INFO root - Enabling coroutine debugging. Loop id 94704641788752.
2020-11-30 17:22:31 DEBUG root - Could not load interpreter from 'None'.
2020-11-30 17:22:31 DEBUG rasa.core.brokers.broker - Instantiated event broker to 'PikaEventBroker'.
2020-11-30 17:22:31 DEBUG rasa.core.tracker_store - Connected to RedisTrackerStore.
2020-11-30 17:22:31 DEBUG rasa.core.lock_store - Connected to lock store 'InMemoryLockStore'.
2020-11-30 17:22:31 DEBUG rasa.core.nlg.generator - Instantiated NLG to 'TemplatedNaturalLanguageGenerator'.
2020-11-30 17:22:31 ERROR rasa.core.agent - Could not load model due to http://acc-bot-rasa-x-rasa-x:5002/api/projects/default/models/tags/production.
/opt/venv/lib/python3.7/site-packages/rasa/shared/utils/io.py:93: UserWarning: The model at 'None' could not be loaded. Error: http://acc-bot-rasa-x-rasa-x:5002/api/projects/default/models/tags/production
/opt/venv/lib/python3.7/site-packages/rasa/shared/utils/io.py:93: UserWarning: Agent could not be loaded with the provided configuration. Load default agent without any model.
2020-11-30 17:22:31 DEBUG rasa.core.nlg.generator - Instantiated NLG to 'TemplatedNaturalLanguageGenerator'.
2020-11-30 17:22:31 INFO root - Rasa server is up and running.
To me the strange the strange thing is the two “None” that appear when the program tries to load interpreter and model. Lookig at the code in rasa.core.agent
module it seems there is actually supposed to be a model_path
that seems to be None here. However at the same time, the exception raised is the link to the rasa model server, from where it should download the model…
Help highly appreciated. Thanks!