Rasa 1.4.5 Tracker Store Elasticache for redis AWS

I am using rasa 1.4.5 with a tracker store on an Elasticache for redis on AWS. And it returns the following message:

    [2020-10-07 10:50:21 +0000] [28531] [ERROR] Exception occurred in one of response middleware handlers
Traceback (most recent call last):
  File "/home/ubuntu/envs/zurich/lib/python3.7/site-packages/sanic/app.py", line 1017, in handle_request
    request, response, request_name=name
  File "/home/ubuntu/envs/zurich/lib/python3.7/site-packages/spf/framework.py", line 696, in _run_response_middleware_19_12
    _response = await _response
  File "/home/ubuntu/envs/zurich/lib/python3.7/site-packages/sanic_cors/extension.py", line 241, in unapplied_cors_response_middleware
    request_context = context.request[id(req)]
  File "/home/ubuntu/envs/zurich/lib/python3.7/site-packages/spf/context.py", line 72, in __getitem__
    raise e1
  File "/home/ubuntu/envs/zurich/lib/python3.7/site-packages/spf/context.py", line 58, in __getitem__
    return self._inner().__getitem__(item)
KeyError: 139771229429344

Could someone help me to know what is happening?

it was a problem with the redis library version

1 Like