CancelledError in random calls throughout the day

Good afternoon!

We have recently found an error that happens randomly in a production environment, where have Rasa in Docker form.

The traceback from the error is the following:

2019-10-17 12:16:53 ERROR    rasa.core.processor  - Encountered an exception while running action 'action_get_info'. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code.
2019-10-17 12:16:53 DEBUG    rasa.core.processor  - 
Traceback (most recent call last):
  File "/rasa/core/processor.py", line 431, in _run_action
    events = await action.run(output_channel, nlg, tracker, self.domain)
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 129, in throw
    return self.gen.throw(type, value, traceback)
  File "/rasa/core/actions/action.py", line 410, in run
    json=json_body, method="post", timeout=DEFAULT_REQUEST_TIMEOUT
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 129, in throw
    return self.gen.throw(type, value, traceback)
  File "/rasa/utils/endpoints.py", line 136, in request
    **kwargs
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 129, in throw
    return self.gen.throw(type, value, traceback)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/client.py", line 1005, in __aenter__
    self._resp = await self._coro
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 129, in throw
    return self.gen.throw(type, value, traceback)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/client.py", line 497, in _request
    await resp.start(conn)
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 129, in throw
    return self.gen.throw(type, value, traceback)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/client_reqrep.py", line 844, in start
    message, payload = await self._protocol.read()  # type: ignore  # noqa
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 129, in throw
    return self.gen.throw(type, value, traceback)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/streams.py", line 588, in read
    await self._waiter
concurrent.futures._base.CancelledError

When we have tried to replicate the error locally by setting a sleep longer than this timeout, it does not happen. However, it happened when debugging and stopping to check step by step a request.

How can this be solved?

Thanks!

Seems to be related to https://github.com/RasaHQ/rasa/issues/4047. Feel free to add a comment over there.

We actually have read this thread, but it appears as a Closed issue and it has no resolution, therefore it is no help to us.