How can we increase the response time for the messages

Hi Team,

Due to the rest api calls that are made in the backend, I am getting response timeout error. Can you please help me on that. Is there any timeout parameter that needs to be increased in config file. Please find below error snapshot.

File “/usr/lib/python3.6/site-packages/sanic/app.py”, line 917, in handle_request response = await response File “/usr/lib/python3.6/site-packages/rasax/community/api/decorators.py”, line 179, in decorated_function return await await_and_return_response(args, kwargs, request) File “/usr/lib/python3.6/site-packages/rasax/community/api/decorators.py”, line 109, in await_and_return_response response = await response File “/usr/lib/python3.6/site-packages/rasax/community/api/decorators.py”, line 199, in decorated_function return await f(request, *args, **kwargs) File “/usr/lib/python3.6/site-packages/rasax/community/api/blueprints/stack.py”, line 709, in chat_to_bot message_object, token=request.headers.get(“Authorization”) File “/usr/lib/python3.6/site-packages/rasax/community/services/stack_service.py”, line 342, in send_message send_stack_token=False, File “/usr/lib/python3.6/site-packages/rasax/community/services/stack_service.py”, line 120, in request **kwargs, File “/usr/lib64/python3.6/site-packages/aiohttp/client.py”, line 1005, in aenter self._resp = await self._coro File “/usr/lib64/python3.6/site-packages/aiohttp/client.py”, line 497, in _request await resp.start(conn) File “/usr/lib64/python3.6/site-packages/aiohttp/client_reqrep.py”, line 857, in start self._continue = None File “/usr/lib64/python3.6/site-packages/aiohttp/helpers.py”, line 585, in exit raise asyncio.TimeoutError from None concurrent.futures._base.TimeoutError

Many Thanks for your support so far.

1 Like

Hey @Raju when are you getting this timeout? As in, are you training a model or what’s happening? And also in Rasa X or Rasa? It may be best to create a github issue for this actually