Problem when inviting testers

When the testers finish the conversation and I refresh conversations page then I get the following error:

[ERROR] Exception occurred while handling uri: ‘http://x.x.x.x:5002/api/conversations?limit=20&offset=0&intent=&entity=&action=&policies=&exclude_self=true
Traceback (most recent call last):
File “/home/iamtheuserofthis/anaconda3/envs/py_chat_v1/lib/python3.6/site-packages/sanic/”, line 917, in handle_request
response = await response
File “/home/iamtheuserofthis/anaconda3/envs/py_chat_v1/lib/python3.6/site-packages/rasax/community/api/”, line 184, in decorated_function
return await await_and_return_response(args, kwargs, request)
File “/home/iamtheuserofthis/anaconda3/envs/py_chat_v1/lib/python3.6/site-packages/rasax/community/api/”, line 114, in await_and_return_response
response = await response File “/home/iamtheuserofthis/anaconda3/envs/py_chat_v1/lib/python3.6/site-packages/rasax/community/api/”, line 52, in decorated_function
return await response File “/home/iamtheuserofthis/anaconda3/envs/py_chat_v1/lib/python3.6/site-packages/rasax/community/api/blueprints/”, line 101, in list_clients user) File “/home/iamtheuserofthis/anaconda3/envs/py_chat_v1/lib/python3.6/site-packages/rasax/community/services/”, line 615, in get_clients
user[“username”], UserService(request[“db_session”]))
TypeError: ‘NoneType’ object is not subscriptable

Hi @iamtheuserofthis would you mind sharing steps to reproduce this issue?

1 Like

@ricwo Steps to replicate the error:

  1. Export an environment variable to make sure it uses the machine’s ip
    export RASA_X_HOSTNAME=https://ip.of.the.server; rasa x
  2. When I generate the invite testers link , it works fine from the same machine. But when anyone else on my network uses the link , it shows th above err.

P.S. I am running rasa in a Conda env
Idk if it works in Venv, it must idk

Thanks @iamtheuserofthis. I have not been able to reproduce this issue. Can you try updating to the latest version of rasa-x and see if the error persists? The latest version is 0.19.1, and a new patch release 0.19.2 will be out in the next couple of hours

@ricwo it has stopped throwing error and crashing.
However sometimes the replies on the testers’ end are seen out of order or with an overlapped replies but when we see conversations on the rasa x conversations tab, it shows the whole conversation properly.
Almost everything else works perfectly now.

@iamtheuserofthis great!

However sometimes the replies on the testers’ end are seen out of order or with an overlapped replies

can you post a screenshot of what that looks like? is this something you can reliably reproduce?

@ricwo Sorry for the extremely delayed reply but we decided to move forward without rasa-x earlier, there were/are more pressing issues which needed handling. We used the very helpful tracker store and custom scripts to test and improve our model. Thank you for your willing cooperation.