The answers of bot don't appear on Rasa X

Hello, The conversation and the prediction are ok (in logs) but the answers do not appear.

Version with docker :
RASA_X_VERSION=0.37.0
RASA_VERSION=2.3.1

Everything is fine, but I can’t see the messages.

It’s the same with the rasa init model or my model.

Terminal loop :

rasa-x_1           | [2021-02-25 16:17:17 +0000] - (sanic.access)[INFO][172.27.0.11:50166]: GET http://vmlnxchatbot.unige.ch/api/conversations/6dcee7b8b36249c8ae80cc172b5e4fa8?format=full_conversation&since=0&environment=production  200 324
nginx_1            | 109.21.110.106 - - [25/Feb/2021:16:17:17 +0000] "GET /api/conversations/6dcee7b8b36249c8ae80cc172b5e4fa8?format=full_conversation&since=0&environment=production HTTP/1.1" 200 324 "http://vmlnxchatbot.unige.ch:8080/interactive" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
rasa-x_1           | [2021-02-25 16:17:18 +0000] - (sanic.access)[INFO][172.27.0.11:50168]: GET http://vmlnxchatbot.unige.ch/api/conversations/6dcee7b8b36249c8ae80cc172b5e4fa8?format=full_conversation&since=0&environment=production  200 324
nginx_1            | 109.21.110.106 - - [25/Feb/2021:16:17:18 +0000] "GET /api/conversations/6dcee7b8b36249c8ae80cc172b5e4fa8?format=full_conversation&since=0&environment=production HTTP/1.1" 200 324 "http://vmlnxchatbot.unige.ch:8080/interactive" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
rasa-x_1           | [2021-02-25 16:17:19 +0000] - (sanic.access)[INFO][172.27.0.11:50170]: GET http://vmlnxchatbot.unige.ch/api/conversations/6dcee7b8b36249c8ae80cc172b5e4fa8?format=full_conversation&since=0&environment=production  200 324
nginx_1            | 109.21.110.106 - - [25/Feb/2021:16:17:19 +0000] "GET /api/conversations/6dcee7b8b36249c8ae80cc172b5e4fa8?format=full_conversation&since=0&environment=production HTTP/1.1" 200 324 "http://vmlnxchatbot.unige.ch:8080/interactive" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
nginx_1            | 109.21.110.106 - - [25/Feb/2021:16:17:20 +0000] "GET /api/conversations/6dcee7b8b36249c8ae80cc172b5e4fa8?format=full_conversation&since=0&environment=production HTTP/1.1" 200 324 "http://vmlnxchatbot.unige.ch:8080/interactive" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
rasa-x_1           | [2021-02-25 16:17:20 +0000] - (sanic.access)[INFO][172.27.0.11:50172]: GET http://vmlnxchatbot.unige.ch/api/conversations/6dcee7b8b36249c8ae80cc172b5e4fa8?format=full_conversation&since=0&environment=production  200 324
rasa-x_1           | [2021-02-25 16:17:20 +0000] - (sanic.access)[INFO][172.27.0.8:47302]: GET http://rasa-x:5002/api/projects/default/models/tags/production?token=lTfP37NJ5Xf6ABE  204 0
rasa-x_1           | [2021-02-25 16:17:21 +0000] - (sanic.access)[INFO][172.27.0.9:52724]: GET http://rasa-x:5002/api/projects/default/models/tags/production?token=lTfP37NJ5Xf6ABE  204 0
db-migration_1     | [2021-02-25 16:17:21 +0000] - (sanic.access)[INFO][127.0.0.1:57800]: GET http://localhost:8000/health  200 56
rasa-x_1           | [2021-02-25 16:17:21 +0000] - (sanic.access)[INFO][172.27.0.11:50180]: GET http://vmlnxchatbot.unige.ch/api/conversations/6dcee7b8b36249c8ae80cc172b5e4fa8?format=full_conversation&since=0&environment=production  200 324
nginx_1            | 109.21.110.106 - - [25/Feb/2021:16:17:21 +0000] "GET /api/conversations/6dcee7b8b36249c8ae80cc172b5e4fa8?format=full_conversation&since=0&environment=production HTTP/1.1" 200 324 "http://vmlnxchatbot.unige.ch:8080/interactive" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
rasa-x_1           | [2021-02-25 16:17:22 +0000] - (sanic.access)[INFO][172.27.0.11:50182]: GET http://vmlnxchatbot.unige.ch/api/conversations/6dcee7b8b36249c8ae80cc172b5e4fa8?format=full_conversation&since=0&environment=production  200 324
nginx_1            | 109.21.110.106 - - [25/Feb/2021:16:17:22 +0000] "GET /api/conversations/6dcee7b8b36249c8ae80cc172b5e4fa8?format=full_conversation&since=0&environment=production HTTP/1.1" 200 324 "http://vmlnxchatbot.unige.ch:8080/interactive" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
rasa-x_1           | [2021-02-25 16:17:23 +0000] - (sanic.access)[INFO][172.27.0.11:50184]: GET http://vmlnxchatbot.unige.ch/api/conversations/6dcee7b8b36249c8ae80cc172b5e4fa8?format=full_conversation&since=0&environment=production  200 324
nginx_1            | 109.21.110.106 - - [25/Feb/2021:16:17:23 +0000] "GET /api/conversations/6dcee7b8b36249c8ae80cc172b5e4fa8?format=full_conversation&since=0&environment=production HTTP/1.1" 200 324 "http://vmlnxchatbot.unige.ch:8080/interactive" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
rasa-x_1           | [2021-02-25 16:17:24 +0000] - (sanic.access)[INFO][172.27.0.11:50186]: GET http://vmlnxchatbot.unige.ch/api/conversations/6dcee7b8b36249c8ae80cc172b5e4fa8?format=full_conversation&since=0&environment=production  200 324
nginx_1            | 109.21.110.106 - - [25/Feb/2021:16:17:24 +0000] "GET /api/conversations/6dcee7b8b36249c8ae80cc172b5e4fa8?format=full_conversation&since=0&environment=production HTTP/1.1" 200 324 "http://vmlnxchatbot.unige.ch:8080/interactive" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
rasa-x_1           | [2021-02-25 16:17:25 +0000] - (sanic.access)[INFO][172.27.0.11:50188]: GET http://vmlnxchatbot.unige.ch/api/conversations/6dcee7b8b36249c8ae80cc172b5e4fa8?format=full_conversation&since=0&environment=production  200 324
nginx_1            | 109.21.110.106 - - [25/Feb/2021:16:17:25 +0000] "GET /api/conversations/6dcee7b8b36249c8ae80cc172b5e4fa8?format=full_conversation&since=0&environment=production HTTP/1.1" 200 324 "http://vmlnxchatbot.unige.ch:8080/interactive" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
db-migration_1     | [2021-02-25 16:17:26 +0000] - (sanic.access)[INFO][127.0.0.1:57812]: GET http://localhost:8000/health  200 56
nginx_1            | 109.21.110.106 - - [25/Feb/2021:16:17:26 +0000] "GET /api/conversations/6dcee7b8b36249c8ae80cc172b5e4fa8?format=full_conversation&since=0&environment=production HTTP/1.1" 200 324 "http://vmlnxchatbot.unige.ch:8080/interactive" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
rasa-x_1           | [2021-02-25 16:17:26 +0000] - (sanic.access)[INFO][172.27.0.11:50192]: GET http://vmlnxchatbot.unige.ch/api/conversations/6dcee7b8b36249c8ae80cc172b5e4fa8?format=full_conversation&since=0&environment=production  200 324

Web inscpector :

api/projects/default/git_repositories:1 Failed to load resource: the server responded with a status of 401 (Unauthorized) api/projects/default/logs?q=&intent=&tags=&limit=1&offset=0:1 Failed to load resource: the server responded with a status of 401 (Unauthorized) api/data_tags:1 Failed to load resource: the server responded with a status of 401 (Unauthorized) api/projects/default/intents?fields[example_hashes]=false&fields[suggestions]=false:1 Failed to load resource: the server responded with a status of 401 (Unauthorized) api/conversationIntents:1 Failed to load resource: the server responded with a status of 401 (Unauthorized) api/conversations/slotNames:1 Failed to load resource: the server responded with a status of 401 (Unauthorized) api/conversationEntities:1 Failed to load resource: the server responded with a status of 401 (Unauthorized) api/conversationActions:1 Failed to load resource: the server responded with a status of 401 (Unauthorized) api/conversationPolicies:1 Failed to load resource: the server responded with a status of 401 (Unauthorized) api/conversations/inputChannels:1 Failed to load resource: the server responded with a status of 401 (Unauthorized) api/projects/default/entities:1 Failed to load resource: the server responded with a status of 401 (Unauthorized) api/telemetry:1 Failed to load resource: the server responded with a status of 401 (Unauthorized) api/conversations?limit=30&offset=0&minimumUserMessages=1&intent=&entity=&action=&policies=&slots=&input_channels=&tags_any=&interactive=true&exclude_self=false:1 Failed to load resource: the server responded with a status of 401 (Unauthorized) api/telemetry?include_user_groups=true:1 Failed to load resource: the server responded with a status of 401 (Unauthorized) api/user:1 Failed to load resource: the server responded with a status of 401 (Unauthorized) api/data_tags:1 Failed to load resource: the server responded with a status of 401 (Unauthorized)

1 Like

Are you running Rasa X locally as Python package? Can you please try to log out and in and then see if the problems still persists?

Hi, thanks for your reply.
I followed and installed the docker version with the install script sudo bash ./install.sh.
I started with
cd /etc/rasa
sudo docker-compose up -d
on Docker Compose Installation
I just changed the port in docker-compose.yml from nginx:

nginx:
        restart: always
        image: "rasa/nginx:${RASA_X_VERSION}"
        ports:
          - "8080:8080"  

I try to log out and log in, same thing.
Thank you in advance. Best

Could you please try without the port change? :thinking:

No, same with original port.

Here are the logs of the docker rasa_rasa-production_1.
We can see that the intentions are detected and the responses sent.

  [state 5] user intent: affirm | previous action name: action_listen
2021-03-12 14:53:09 DEBUG    rasa.core.policies.rule_policy  - There is no applicable rule.
2021-03-12 14:53:09 DEBUG    rasa.core.policies.ensemble  - Made prediction using user intent.
2021-03-12 14:53:09 DEBUG    rasa.core.policies.ensemble  - Added `DefinePrevUserUtteredFeaturization(False)` event.
2021-03-12 14:53:09 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_TEDPolicy.
2021-03-12 14:53:09 DEBUG    rasa.core.processor  - Predicted next action 'utter_happy' with confidence 0.74.
2021-03-12 14:53:09 DEBUG    rasa.core.processor  - Policy prediction ended with events '[<rasa.shared.core.events.DefinePrevUserUtteredFeaturization object at 0x7fb690492a00>]'.
2021-03-12 14:53:09 DEBUG    rasa.core.processor  - Action 'utter_happy' ended with events '[BotUttered('Great, carry on!', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {"template_name": "utter_happy"}, 1615560789.8380055)]'.
2021-03-12 14:53:09 DEBUG    rasa.core.policies.memoization  - Current tracker state:
[state 0] user intent: greet | previous action name: utter_greet
[state 1] user intent: greet | previous action name: action_listen
[state 2] user intent: greet | previous action name: utter_greet
[state 3] user intent: affirm | previous action name: action_listen
[state 4] user intent: affirm | previous action name: utter_happy
2021-03-12 14:53:09 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2021-03-12 14:53:09 DEBUG    rasa.core.policies.rule_policy  - Current tracker state:
[state 1] user intent: greet | previous action name: action_listen
[state 2] user intent: greet | previous action name: utter_greet
[state 3] user intent: greet | previous action name: action_listen
[state 4] user intent: greet | previous action name: utter_greet
[state 5] user intent: affirm | previous action name: action_listen
[state 6] user intent: affirm | previous action name: utter_happy
2021-03-12 14:53:09 DEBUG    rasa.core.policies.rule_policy  - There is no applicable rule.
2021-03-12 14:53:09 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_TEDPolicy.
2021-03-12 14:53:09 DEBUG    rasa.core.processor  - Predicted next action 'action_listen' with confidence 0.79.
2021-03-12 14:53:09 DEBUG    rasa.core.processor  - Policy prediction ended with events '[]'.
2021-03-12 14:53:09 DEBUG    rasa.core.processor  - Action 'action_listen' ended with events '[]'.
2021-03-12 14:53:09 DEBUG    rasa.core.tracker_store  - Recreating tracker from sender id '7918c9f9c67846fe85eb4d46b98f5cdc'
2021-03-12 14:53:09 DEBUG    rasa.core.tracker_store  - Tracker with sender_id '7918c9f9c67846fe85eb4d46b98f5cdc' stored to database
2021-03-12 14:53:09 DEBUG    rasa.core.lock_store  - Deleted lock for conversation '7918c9f9c67846fe85eb4d46b98f5cdc'.

But, on Rasa X, we don’t see the answers :

Thank you in advance,
Best

Do you see any logs related to the event_broker, pika, or rabbitmq?? How does your endpoints.yml look like?

Of course, everything looks ok to me. You will find the file of all the containers logs attached.
logs containers rasa.txt (110.4 KB)

Thank you,
Best

I haven’t changed anything in the endpoint.yml.

models:
  url: ${RASA_MODEL_SERVER}
  token: ${RASA_X_TOKEN}
  wait_time_between_pulls: ${RASA_MODEL_PULL_INTERVAL}
tracker_store:
  type: sql
  dialect: "postgresql"
  url: ${DB_HOST}
  port: ${DB_PORT}
  username: ${DB_USER}
  password: ${DB_PASSWORD}
  db: ${DB_DATABASE}
  login_db: ${DB_LOGIN_DB}
lock_store:
  type: "redis"
  url: ${REDIS_HOST}
  port: ${REDIS_PORT}
  password: ${REDIS_PASSWORD}
  db: ${REDIS_DB}
cache:
  type: "redis"
  url: ${REDIS_HOST}
  port: ${REDIS_PORT}
  password: ${REDIS_PASSWORD}
  db: ${REDIS_CACHE_DB}
  key_prefix: "rasax_cache"
event_broker:
  type: "pika"
  url: ${RABBITMQ_HOST}
  username: ${RABBITMQ_USERNAME}
  password: ${RABBITMQ_PASSWORD}
  queues:
  - ${RABBITMQ_QUEUE}
action_endpoint:
  url: ${RASA_USER_APP}/webhook
  token:  ""

I think that part of the logs explains it:

rabbit_1           | 2021-03-22 12:24:51.737 [info] <0.446.0> Free disk space is insufficient. Free bytes: 4862803968. Limit: 8365965312
rabbit_1           | 2021-03-22 12:24:51.737 [warning] <0.396.0> disk resource limit alarm set on node rabbit@localhost.
rabbit_1           |
rabbit_1           | **********************************************************
rabbit_1           | *** Publishers will be blocked until this alarm clears ***
rabbit_1           | **********************************************************

You need to provide more disk space to your VM.

Thank you very much !! :grinning: :confetti_ball:

I had not seen because it is only a “warning”. I increased to 10GB of free space and everything is now working perfectly!

Thanks again and see you later :wave: