Rasa X does not connect to Production/Worker hosts

Hi @amardeep, is it only the rasa-worker that is having this issue, or also rasa-production?

Hi @akelad this is happening on both rasa- worker and rasa-production .

I have run only one command after docker-compose was up to set the user.

docker-compose exec rasa-x bash -c "python /app/scripts/manage_users.py create me ****** admin --update"

After that I am able to login to RASA X UI via browser but cannot train model.

error from rasa-x container :

ERROR:rasax.community.api.blueprints.models:Cannot connect to host rasa-worker:5005 ssl:default [Connection refused]

Encountered an exception while training. Please check the logs of the rasa worker container for more information.

Hi @akelad I was able to solve this issue today. This could be a bug in docker-compose method .

I generated a fresh .env file and generated all new passwords using openssl again . With new passwords it worked fine. This particular token was causing error :hot_face:

RASA_X_TOKEN=EWqzovCplp7L+9zqYmgBBg==

May be plus (+) character is messing up the setup. This causes the failure in Rasa 0.33.1 and 0.32.2 as well.

Hello all!

I am also experiencing the same problem with rasa-worker and rasa-production. Are there any solutions for this problem?

Hello,

I have the same issue with docker-compose : token with character + is KO.

RASA_X_VERSION=0.33.2 RASA_VERSION=2.0.6 RASA_X_TOKEN=TJrMm/UB+zsDbJYHvMJ+og==

After generate a new token without symbol + it’s OK !

Thanks

1 Like