On Rasa x local my model works fine. When I run the same model on Rasa x server the “Talk to your bot” UI hangs with the flashing “…” and I get the following in the log
rasa-production_1 | /opt/venv/lib/python3.8/site-packages/tzlocal/unix.py:158: UserWarning: Can not find any timezone configuration, defaulting to UTC.
rasa-production_1 | warnings.warn('Can not find any timezone configuration, defaulting to UTC.')
rasa-production_1 | /opt/venv/lib/python3.8/site-packages/rasa/utils/train_utils.py:561: UserWarning: model_confidence is set to `softmax`. It is recommended to try using `model_confidence=linear_norm` to make it easier to tune fallback thresholds.
rasa-production_1 | rasa.shared.utils.io.raise_warning(
rasa-production_1 | 2021-11-05 19:45:42 ERROR rasa.core.channels.rest - An exception occured while handling user message 'weather'.
rasa-production_1 | Traceback (most recent call last):
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/rasa/core/channels/rest.py", line 120, in receive
rasa-production_1 | await on_new_message(
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/rasa/core/channels/channel.py", line 89, in handler
rasa-production_1 | await app.agent.handle_message(message)
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/rasa/core/agent.py", line 576, in handle_message
rasa-production_1 | return await processor.handle_message(message)
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/rasa/core/processor.py", line 108, in handle_message
rasa-production_1 | await self._predict_and_execute_next_action(message.output_channel, tracker)
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/rasa/core/processor.py", line 657, in _predict_and_execute_next_action
rasa-production_1 | action, prediction = self.predict_next_action(tracker)
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/rasa/core/processor.py", line 379, in predict_next_action
rasa-production_1 | prediction = self._get_next_action_probabilities(tracker)
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/rasa/core/processor.py", line 921, in _get_next_action_probabilities
rasa-production_1 | prediction = self.policy_ensemble.probabilities_using_best_policy(
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/rasa/core/policies/ensemble.py", line 816, in probabilities_using_best_policy
rasa-production_1 | winning_prediction = self._best_policy_prediction(tracker, domain, interpreter)
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/rasa/core/policies/ensemble.py", line 693, in _best_policy_prediction
rasa-production_1 | predictions = {
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/rasa/core/policies/ensemble.py", line 694, in <dictcomp>
rasa-production_1 | f"policy_{i}_{type(p).__name__}": self._get_prediction(
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/rasa/core/policies/ensemble.py", line 728, in _get_prediction
rasa-production_1 | prediction = policy.predict_action_probabilities(
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/rasa/core/policies/ted_policy.py", line 692, in predict_action_probabilities
rasa-production_1 | confidence, is_e2e_prediction = self._pick_confidence(
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/rasa/core/policies/ted_policy.py", line 652, in _pick_confidence
rasa-production_1 | predicted_action_name = domain.action_names_or_texts[np.argmax(confidences[0])]
rasa-production_1 | IndexError: list index out of range