Problems loading model using Rasa X with Docker Compose

Hi. I’m having problems deploying using Docker Compose. When I upload a model, I can only see it’s Domain.

From the logs of the rasa_production container I get: Could not load model due to http://rasa-x:5002/api/projects/default/models/tags/production.

I’m having the same issue. any solutions?

I noticed that there was a new docker image for rasa-x today, but I’m still having the same issue.

Hi. Was able to get it working doing the manual installation, setting the following versions.

RASA_X_VERSION=0.33.2
RASA_VERSION=2.1.2-full
RASA_SDK_VERSION=2.0.0

I also trained the model using version 2.1.2.

I was running Rasa X 0.32.2 with Rasa 1.10.10 on Google VM instance. It was running fine. Then I decided to upgrade to Rasa X 0.33.2 with Rasa 2.0.2

Reproduce steps:

  1. Create Google VM instance and run it.
  2. SSH into the instance remotely.
  3. Download Rasa installation file:

curl -sSL -o install.sh https://storage.googleapis.com/rasa-x-releases/latest/install.sh

  1. Run the installation file

sudo bash ./install.sh

The script will download and execute rasa_x_playbook.yml file, and it also creates /etc/rasa directory.

  1. change directory to

cd /etc/rasa

  1. Run docker-compose

sudo docker-compose up -d

  1. Set admin password

sudo python rasa_x_commands.py create --update admin me password

This is when the problem begins.

I have tried to use the version that you suggested above: RASA_X_VERSION=0.33.2 and RASA_VERSION=2.1.2 by hard-coding the version number in rasa_x_playbook.yml file. Then run the playbook file manually, then docker-compose file.

When I checked the VM instant at a given IP address, I got this error:

http:///api/health

{“version”:“0.33.2”,“status”:“failure”,“message”:“See the server logs for more information.”,“reason”:“The server encountered an internal error and cannot complete the request.”,“details”:{},“help”:null,“code”:500}

how and where did you set the version number? RASA_X_VERSION=0.33.2 RASA_VERSION=2.1.2-full RASA_SDK_VERSION=2.0.0

any suggestions are greatly appreciated.

I followed the steps on the Docker Compose Manual Installation. Then you can set the specific versions on the .env file.

update: version 0.33.2 didn’t work for me. But version 0.34.0 did. I believe it is the latest official version. Rasa installation scripts are now pointing to 0.34.0