Hi everyone! I’ve been having trouble after installing Rasa X with Docker Compose manually.
I first install docker compose manually following every step provided by this page, using windows: https://rasa.com/docs/rasa-x/installation-and-setup/install/docker-compose/#docker-compose-manual-install
When I run the Docker Compose on my computer, the api’s log goes from a 200 state to a 404 with the following error:
rasa-x_1 | Starting Rasa X/Enterprise server (http)... ?
rasa-x_1 | [2022-01-14 15:38:23 +0000] [10] [INFO] Goin' Fast @ http://0.0.0.0:5002
rasa-x_1 | INFO:rasax.community.telemetry:Skipping request to external service: telemetry key not set.
rasa-x_1 | INFO:rasax.community.telemetry:Skipping request to external service: telemetry key not set.
rasa-x_1 | INFO:rasax.community.telemetry:Skipping request to external service: telemetry key not set.
rasa-x_1 | INFO:rasax.community.telemetry:Skipping request to external service: telemetry key not set.
rasa-x_1 | INFO:rasax.community.telemetry:Skipping request to external service: telemetry key not set.
rasa-x_1 | [2022-01-14 15:38:23 +0000] [22] [INFO] Starting worker [22]
rasa-x_1 | INFO:rasax.community.telemetry:Skipping request to external service: telemetry key not set.
rasa-x_1 | INFO:rasax.community.telemetry:Skipping request to external service: telemetry key not set.
rasa-x_1 | INFO:rasax.community.telemetry:Skipping request to external service: telemetry key not set.
rasa-x_1 | INFO:rasax.community.services.event_service:Starting event service (standalone: False).
rasa-x_1 | INFO:rasax.community.telemetry:Skipping request to external service: telemetry key not set.
rasa-x_1 | [2022-01-14 15:38:24 +0000] [21] [INFO] Starting worker [21]
rasa-x_1 | [2022-01-14 15:38:24 +0000] [24] [INFO] Starting worker [24]
rasa-x_1 | [2022-01-14 15:38:24 +0000] [26] [INFO] Starting worker [26]
rasa-x_1 | INFO:rasax.community.telemetry:Skipping request to external service: telemetry key not set.
rasa-x_1 | [2022-01-14 15:38:25 +0000] - (sanic.access)[INFO][172.18.0.9:40142]: GET http://rasa-x:5002/api/config?token=zNGT************** 200 893
rasa-x_1 | [2022-01-14 15:38:25 +0000] - (sanic.access)[INFO][172.18.0.8:44970]: GET http://rasa-x:5002/api/config?token=zNGT************** 200 893
rasa-x_1 | ERROR:asyncio:Task was destroyed but it is pending!
rasa-x_1 | task: <Task pending name='Task-13' coro=<Connection.disconnect() done, defined at /usr/local/lib/python3.8/dist-packages/aioredis/connection.py:750> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7f8aa06f4880>()]>>
rasa-x_1 | [2022-01-14 15:38:30 +0000] - (sanic.access)[INFO][172.18.0.9:40182]: GET http://rasa-x:5002/api/models/tags/production?token=zNGT************** 404 159
When I log into Rasa from the browser with the previous configured user and password, the next error pops up:
When I enter Chrome’s console with F12, the next errors show up:
When I click on the api’s urls that appear in the console, I get this message:
{“reasons”:[“Authorization header not present.”],“exception”:“Unauthorized”}
So, I was wondering if after the manual installation there’s an extra step I’m missing to make Rasa X work or if there’s a configuration mistake or bug that isn’t allowing me to run it.
When entering the “docker compose ps” command in Powershell, every port appear as “UP”
rasamanual_app_1 ./entrypoint.sh run python ... Up 5055/tcp
rasamanual_db-migration_1 python -m rasax.community. ... Up (healthy) 8000/tcp
rasamanual_db_1 /opt/bitnami/scripts/postg ... Up 5432/tcp
rasamanual_duckling_1 duckling-example-exe --no- ... Up 8000/tcp
rasamanual_nginx_1 /docker-entrypoint.sh ngin ... Up 80/tcp,
0.0.0.0:80->8080/tcp,:::80->8080/tcp,
0.0.0.0:443->8443/tcp,:::443->8443/tcp
rasamanual_rabbit_1 /opt/bitnami/scripts/rabbi ... Up 15671/tcp, 15672/tcp, 25672/tcp,
4369/tcp, 5551/tcp, 5552/tcp, 5671/tcp,
5672/tcp
rasamanual_rasa-production_1 rasa x --no-prompt --produ ... Up 5005/tcp
rasamanual_rasa-worker_1 rasa x --no-prompt --produ ... Up 5005/tcp
rasamanual_rasa-x_1 /tini -g -- sh -c user_id= ... Up 5002/tcp
rasamanual_redis_1 /opt/bitnami/scripts/redis ... Up 6379/tcp ```
These are all the versions I have already installed (validated with Rasa’s Comptatibility Matrix)
RASA_X_VERSION="1.0.1"
RASA_VERSION="2.8.15"
RASA_X_DEMO_VERSION ="latest"
I have Python v3.8
Thank you so much for reading and your help.