Rasa X not showing responses

Rasa version: 2.2.4
Rasa X version: 0.35.0 
Windows 10, run using default docker-compose.yml

Hi, I cannot get a response in Rasa X. When I send message all I get is ‘…’ in Rasa X. rasa-production is working fine, because I can send a request with a message to it and I get response, but it’s not working via Rasa X.

These are logs from when I log into Rasa X:

db-migration_1     | [2021-02-08 16:22:08 +0000] - (sanic.access)[INFO][127.0.0.1:36468]: GET http://localhost:8000/health  200 56
rasa-x_1           | [2021-02-08 16:22:09 +0000] - (sanic.access)[INFO][172.23.0.9:36728]: GET http://rasa-x:5002/api/projects/default/models/tags/production?token=123  204 0
rasa-x_1           | [2021-02-08 16:22:09 +0000] - (sanic.access)[INFO][172.23.0.10:51506]: GET http://rasa-x:5002/api/projects/default/models/tags/production?token=123  204 0
rasa-x_1           | [2021-02-08 16:22:09 +0000] - (sanic.access)[INFO][172.23.0.1:59864]: POST http://localhost:5002/api/auth  200 4754
rasa-x_1           | [2021-02-08 16:22:09 +0000] - (sanic.access)[INFO][172.23.0.1:60370]: GET http://localhost:5002/api/data_tags  200 2
rasa-x_1           | [2021-02-08 16:22:09 +0000] - (sanic.access)[INFO][172.23.0.1:60382]: GET http://localhost:5002/api/conversations/slotNames  200 2
rasa-x_1           | [2021-02-08 16:22:09 +0000] - (sanic.access)[INFO][172.23.0.1:60374]: GET http://localhost:5002/api/projects/default/intents?fields[example_hashes]=false&fields[suggestions]=false  200 1588
rasa-x_1           | [2021-02-08 16:22:09 +0000] - (sanic.access)[INFO][172.23.0.1:60370]: GET http://localhost:5002/api/conversationEntities  200 2
rasa-x_1           | [2021-02-08 16:22:09 +0000] - (sanic.access)[INFO][172.23.0.1:59864]: GET http://localhost:5002/api/projects/default/git_repositories  200 2
rasa-x_1           | [2021-02-08 16:22:09 +0000] - (sanic.access)[INFO][172.23.0.1:60380]: GET http://localhost:5002/api/conversationIntents  200 2
rasa-x_1           | [2021-02-08 16:22:09 +0000] - (sanic.access)[INFO][172.23.0.1:60374]: GET http://localhost:5002/api/conversationPolicies  200 2
rasa-x_1           | [2021-02-08 16:22:09 +0000] - (sanic.access)[INFO][172.23.0.1:60370]: GET http://localhost:5002/api/conversations/inputChannels  200 8
rasa-x_1           | [2021-02-08 16:22:09 +0000] - (sanic.access)[INFO][172.23.0.1:60382]: GET http://localhost:5002/api/conversationActions  200 2
rasa-x_1           | [2021-02-08 16:22:09 +0000] - (sanic.access)[INFO][172.23.0.1:59864]: GET http://localhost:5002/api/projects/default/entities  200 2
rasa-x_1           | [2021-02-08 16:22:09 +0000] - (sanic.access)[INFO][172.23.0.1:60374]: GET http://localhost:5002/api/conversations?limit=20&offset=0&minimumUserMessages=1&intent=&entity=&action=&policies=&slots=&input_channels=&tags_any=&interactive=true&exclude_self=false  200 2
rasa-x_1           | [2021-02-08 16:22:09 +0000] - (sanic.access)[INFO][172.23.0.1:60380]: POST http://localhost:5002/api/telemetry  204 0
rasa-x_1           | [2021-02-08 16:22:09 +0000] - (sanic.access)[INFO][172.23.0.1:59864]: GET http://localhost:5002/api/user  200 3341
rasa-x_1           | [2021-02-08 16:22:09 +0000] - (sanic.access)[INFO][172.23.0.1:60382]: GET http://localhost:5002/api/features  200 2
rasa-x_1           | [2021-02-08 16:22:09 +0000] - (sanic.access)[INFO][172.23.0.1:60380]: GET http://localhost:5002/api/data_tags  200 2
rasa-x_1           | [2021-02-08 16:22:09 +0000] - (sanic.access)[INFO][172.23.0.1:60374]: GET http://localhost:5002/api/projects/default/logs?q=&intent=&tags=&limit=50&offset=0&sort_by=time&sort_order=desc  200 2
rasa-x_1           | [2021-02-08 16:22:10 +0000] - (sanic.access)[INFO][172.23.0.1:60366]: GET http://localhost:5002/api/version  200 691
rasa-x_1           | [2021-02-08 16:22:11 +0000] - (sanic.access)[INFO][172.23.0.1:60366]: GET http://localhost:5002/api/version  200 691
rasa-x_1           | [2021-02-08 16:22:12 +0000] - (sanic.access)[INFO][172.23.0.1:60370]: GET http://localhost:5002/api/telemetry?include_user_groups=true  200 88
rasa-x_1           | [2021-02-08 16:22:12 +0000] - (sanic.access)[INFO][172.23.0.1:60366]: GET http://localhost:5002/api/version  200 691
rasa-x_1           | [2021-02-08 16:22:12 +0000] - (sanic.access)[INFO][172.23.0.1:60366]: POST http://localhost:5002/api/telemetry  204 0
db-migration_1     | [2021-02-08 16:22:13 +0000] - (sanic.access)[INFO][127.0.0.1:36524]: GET http://localhost:8000/health  200 56
db-migration_1     | [2021-02-08 16:22:18 +0000] - (sanic.access)[INFO][127.0.0.1:36526]: GET http://localhost:8000/health  200 56
rasa-x_1           | [2021-02-08 16:22:19 +0000] - (sanic.access)[INFO][172.23.0.9:36786]: GET http://rasa-x:5002/api/projects/default/models/tags/production?token=123  204 0
rasa-x_1           | [2021-02-08 16:22:19 +0000] - (sanic.access)[INFO][172.23.0.10:51564]: GET http://rasa-x:5002/api/projects/default/models/tags/production?token=123  204 0

And this happens when I send message via Rasa X:

rasa-x_1           | [2021-02-08 16:23:39 +0000] - (sanic.access)[INFO][172.23.0.9:36850]: GET http://rasa-x:5002/api/projects/default/models/tags/production?token=123  204 0
rasa-x_1           | [2021-02-08 16:23:39 +0000] - (sanic.access)[INFO][172.23.0.10:51628]: GET http://rasa-x:5002/api/projects/default/models/tags/production?token=123  204 0
db-migration_1     | [2021-02-08 16:23:40 +0000] - (sanic.access)[INFO][127.0.0.1:36596]: GET http://localhost:8000/health  200 56
rasa-x_1           | [2021-02-08 16:23:40 +0000] - (sanic.access)[INFO][172.23.0.1:60490]: POST http://localhost:5002/api/telemetry  204 0
rasa-x_1           | [2021-02-08 16:23:40 +0000] - (sanic.access)[INFO][172.23.0.1:60496]: GET http://localhost:5002/api/conversations/bbccc53da2d34e2bbb635feefebf9e49?test_story=false  200 105
rasa-x_1           | [2021-02-08 16:23:40 +0000] - (sanic.access)[INFO][172.23.0.1:60508]: GET http://localhost:5002/api/projects/default/entities  200 2
rasa-x_1           | [2021-02-08 16:23:40 +0000] - (sanic.access)[INFO][172.23.0.1:60498]: GET http://localhost:5002/api/projects/default/intents?fields[example_hashes]=false&fields[suggestions]=false  200 1588
rasa-x_1           | [2021-02-08 16:23:40 +0000] - (sanic.access)[INFO][172.23.0.1:60496]: GET http://localhost:5002/api/conversations/bbccc53da2d34e2bbb635feefebf9e49?test_story=true  200 105
rasa-x_1           | [2021-02-08 16:23:40 +0000] - (sanic.access)[INFO][172.23.0.1:60506]: GET http://localhost:5002/api/conversations/bbccc53da2d34e2bbb635feefebf9e49?format=full_conversation&since=0&environment=production  200 324
rasa-x_1           | [2021-02-08 16:23:40 +0000] - (sanic.access)[INFO][172.23.0.1:60512]: GET http://localhost:5002/api/projects/default/models?limit=1&offset=0&tag=production  200 234
rasa-x_1           | [2021-02-08 16:23:42 +0000] - (sanic.access)[INFO][172.23.0.1:60506]: GET http://localhost:5002/api/conversations/bbccc53da2d34e2bbb635feefebf9e49?test_story=false  200 105
rasa-x_1           | [2021-02-08 16:23:42 +0000] - (sanic.access)[INFO][172.23.0.1:60506]: GET http://localhost:5002/api/conversations/bbccc53da2d34e2bbb635feefebf9e49?test_story=true  200 105
rasa-x_1           | [2021-02-08 16:23:42 +0000] - (sanic.access)[INFO][172.23.0.1:60512]: POST http://localhost:5002/api/conversations/bbccc53da2d34e2bbb635feefebf9e49/messages?environment=production  200 87
rasa-x_1           | [2021-02-08 16:23:42 +0000] - (sanic.access)[INFO][172.23.0.1:60512]: GET http://localhost:5002/api/conversations/bbccc53da2d34e2bbb635feefebf9e49?test_story=false  200 105
rasa-x_1           | [2021-02-08 16:23:42 +0000] - (sanic.access)[INFO][172.23.0.1:60512]: GET http://localhost:5002/api/conversations/bbccc53da2d34e2bbb635feefebf9e49?test_story=true  200 105
rasa-x_1           | [2021-02-08 16:23:43 +0000] - (sanic.access)[INFO][172.23.0.1:60512]: GET http://localhost:5002/api/conversations/bbccc53da2d34e2bbb635feefebf9e49?format=full_conversation&since=0&environment=production  200 324
rasa-x_1           | [2021-02-08 16:23:43 +0000] - (sanic.access)[INFO][172.23.0.1:60512]: GET http://localhost:5002/api/conversations/bbccc53da2d34e2bbb635feefebf9e49?format=full_conversation&since=0&environment=production  200 324
rasa-x_1           | [2021-02-08 16:23:44 +0000] - (sanic.access)[INFO][172.23.0.1:60512]: GET http://localhost:5002/api/conversations/bbccc53da2d34e2bbb635feefebf9e49?format=full_conversation&since=0&environment=production  200 324
rasa-x_1           | [2021-02-08 16:23:45 +0000] - (sanic.access)[INFO][172.23.0.1:60512]: GET http://localhost:5002/api/conversations/bbccc53da2d34e2bbb635feefebf9e49?format=full_conversation&since=0&environment=production  200 324
db-migration_1     | [2021-02-08 16:23:45 +0000] - (sanic.access)[INFO][127.0.0.1:36630]: GET http://localhost:8000/health  200 56
rasa-x_1           | [2021-02-08 16:23:45 +0000] - (sanic.access)[INFO][172.23.0.1:60512]: GET http://localhost:5002/api/conversations/bbccc53da2d34e2bbb635feefebf9e49?format=full_conversation&since=0&environment=production  200 324
rasa-x_1           | [2021-02-08 16:23:46 +0000] - (sanic.access)[INFO][172.23.0.1:60512]: GET http://localhost:5002/api/conversations/bbccc53da2d34e2bbb635feefebf9e49?format=full_conversation&since=0&environment=production  200 324
rasa-x_1           | [2021-02-08 16:23:46 +0000] - (sanic.access)[INFO][172.23.0.1:60512]: GET http://localhost:5002/api/conversations/bbccc53da2d34e2bbb635feefebf9e49?format=full_conversation&since=0&environment=production  200 324
rasa-x_1           | [2021-02-08 16:23:47 +0000] - (sanic.access)[INFO][172.23.0.1:60512]: GET http://localhost:5002/api/conversations/bbccc53da2d34e2bbb635feefebf9e49?format=full_conversation&since=0&environment=production  200 324
rasa-x_1           | [2021-02-08 16:23:47 +0000] - (sanic.access)[INFO][172.23.0.1:60512]: GET http://localhost:5002/api/conversations/bbccc53da2d34e2bbb635feefebf9e49?format=full_conversation&since=0&environment=production  200 324
rasa-x_1           | [2021-02-08 16:23:48 +0000] - (sanic.access)[INFO][172.23.0.1:60512]: GET http://localhost:5002/api/conversations/bbccc53da2d34e2bbb635feefebf9e49?format=full_conversation&since=0&environment=production  200 324
rasa-x_1           | [2021-02-08 16:23:48 +0000] - (sanic.access)[INFO][172.23.0.1:60512]: GET http://localhost:5002/api/conversations/bbccc53da2d34e2bbb635feefebf9e49?format=full_conversation&since=0&environment=production  200 324
rasa-x_1           | [2021-02-08 16:23:49 +0000] - (sanic.access)[INFO][172.23.0.9:36890]: GET http://rasa-x:5002/api/projects/default/models/tags/production?token=123  204 0
rasa-x_1           | [2021-02-08 16:23:49 +0000] - (sanic.access)[INFO][172.23.0.10:51668]: GET http://rasa-x:5002/api/projects/default/models/tags/production?token=123  204 0
rasa-x_1           | [2021-02-08 16:23:49 +0000] - (sanic.access)[INFO][172.23.0.1:60512]: GET http://localhost:5002/api/conversations/bbccc53da2d34e2bbb635feefebf9e49?format=full_conversation&since=0&environment=production  200 324
rasa-x_1           | [2021-02-08 16:23:50 +0000] - (sanic.access)[INFO][172.23.0.1:60512]: GET http://localhost:5002/api/conversations/bbccc53da2d34e2bbb635feefebf9e49?format=full_conversation&since=0&environment=production  200 324

I had no problems when using Rasa X v0.30.1. Does anybody have a solution for this?

So, I’ve managed to solve this problem on Windows. I had to change:

event_broker:
  type: "pika"
  url: ${RABBITMQ_HOST}
  username: ${RABBITMQ_USERNAME}
  password: ${RABBITMQ_PASSWORD}
  queue: ${RABBITMQ_QUEUE}

to:

event_broker:
  type: "pika"
  url: ${RABBITMQ_HOST}
  username: ${RABBITMQ_USERNAME}
  password: ${RABBITMQ_PASSWORD}
  queues:
  - ${RABBITMQ_QUEUE}

in endpoints.yml.

Unfortunately, I’m trying to deploy chatbot on Linux server now and I’m facing the same issue, even with changed endpoints.yml. Could someone provide me working endpoints.yml, credentials.yml and environments.yml? I’m using ones from Installation Guide from manual install section. I’m also setting all permissions like in tutorial.

EDIT:

What’s interesting, even though chatbot is not responding in ‘talk to your bot’, it can classify message in interactive learning mode. You can see it on prtscr below.

Yes looks like Rasa-X on Linux has been broken for a while. Even if you rasa init and take the trained model from that you still get the … reply

If I check the logs with sudo docker-compose logs -t rasa-x there are a lot of 404 errors which is probably the issue. Hopefully they will fix soon but 0.35.1 still doesn’t work.

This could be an error in the communication between your rasa-production and rabbit containers. You can try the following to test your containers are able to communicate with each other:

From the terminal enter the following to access the rasa_production container:

sudo docker exec -it rasa_rasa-production_1 bash

Then issue this CURL request to Rabbit:

curl http://user:$RABBITMQ_PASSWORD@rasa_rabbit_1:15672/api/healthchecks/node

What is the response?

1 Like

Thank you so much for helpful response @m.vielkind (and sorry for my late reply).

Response from rabbit:

{"status":"failed","reason":"resource alarm(s) in effect:[{resource_limit,disk,rabbit@localhost}]"}

I changed

 RABBITMQ_DISK_FREE_LIMIT: "{mem_relative, 0.1}"

to

 RABBITMQ_DISK_FREE_ABSOLUTE_LIMIT: 512mb

in docker-compose.yml and it’s working fine now :slight_smile:

2 Likes

@m.vielkind it’s not working bro i am not getting any errors in console Pls help me Now i can’t disconnect my git repo that i attached to RASA X I get this

Oh My God! Thank you very much for your hint about RabbitMQ DiskAlarms!!!

We had this problem for a long time, that RasaX will stop creating new Conversations and therefore not working anymore or logging anything from external socketIO Connections.

It seems, like we ran into the DiskAlert and therefore new Inputs where blocked by RabbitMQ. Setting a fixed (or much lower) DiskLimit immediately fixed the error and MAYBE this will help us to FINALLY be able to run RasaX more stable.

Thanks!

@sahibpreetsingh12 did you found any solution? I am facing the same issue and changing RabbitMQ disk limit doesn’t solve it.