Asyncio TimeoutError

I am using Rasa X docker-compose setup, as my deployment infrastructure. The server was created according to specification in the docs. I have an assistant, which contains a few scenarios and model is ~400MB. I constantly obtain error like this in my Rasa X logs:

rasa-x_1           | [2021-07-06 20:31:26 +0000] [21] [ERROR] Exception occurred while handling uri: '$
rasa-x_1           | Traceback (most recent call last):                                                                                                                   
rasa-x_1           |   File "/usr/local/lib/python3.8/dist-packages/sanic/", line 973, in handle_request                                                            
rasa-x_1           |     response = await response                                                                                                                        
rasa-x_1           |   File "/usr/local/lib/python3.8/dist-packages/rasax/community/api/", line 216, in decorated_function                                   
rasa-x_1           |     return await await_and_return_response(args, kwargs, request)                                                                                    
rasa-x_1           |   File "/usr/local/lib/python3.8/dist-packages/rasax/community/api/", line 146, in await_and_return_response                            
rasa-x_1           |     response = await response                                                                                                                        
rasa-x_1           |   File "/usr/local/lib/python3.8/dist-packages/rasax/community/api/blueprints/", line 44, in get_models                                     
rasa-x_1           |     models, total_models = await _model_service(request).get_models(                                                                                 
rasa-x_1           |   File "/usr/local/lib/python3.8/dist-packages/rasax/community/services/", line 747, in get_models                                   
rasa-x_1           |     minimum_compatible_version = await self.minimum_compatible_version()                                                                             
rasa-x_1           |   File "/usr/local/lib/python3.8/dist-packages/rasax/community/services/", line 160, in minimum_compatible_version                   
rasa-x_1           |     info = await stack_service.version()                                                                                                             
rasa-x_1           |   File "/usr/local/lib/python3.8/dist-packages/rasax/community/services/", line 92, in version                                       
rasa-x_1           |     response = await session.get(                                                                                                                    
rasa-x_1           |   File "/usr/local/lib/python3.8/dist-packages/aiohttp/", line 504, in _request                                                             
rasa-x_1           |     await resp.start(conn)                                                                                                                           
rasa-x_1           |   File "/usr/local/lib/python3.8/dist-packages/aiohttp/", line 860, in start                                                         
rasa-x_1           |     self._continue = None
rasa-x_1           |   File "/usr/local/lib/python3.8/dist-packages/aiohttp/", line 596, in __exit__
rasa-x_1           |     raise asyncio.TimeoutError from None
rasa-x_1           | asyncio.exceptions.TimeoutError
rasa-x_1           |
rasa-x_1           | [2021-07-06 20:31:26 +0000] - (sanic.access)[INFO][]: GET$
models?limit=1&offset=0&tag=production  500 214

The model was manually uploaded into Rasa X (it wasn’t working via API). It sometimes works and sometimes it doesn’t. I’m using RASA X 0.41 (newest at the moment) and RASA 2.6.2.

Anyone has any idea what can cause that behaviour? It’s quite important, because it makes Rasa X completely useless in terms of production and only solution I have is getting rid of it and switch to only Rasa Open Source.

Thanks in advance!

Same problem.

@lynndisco Go for Rasa X 0.39 check the rasa compatibility matrix for this version. It will solve your. issue.