When I am trying to run an action which takes around 40-50 sec (as it requires sending a mail), the rasa server is crashing due to a timeout error with the following trace:
Traceback (most recent call last):
File “c:\users\10685510\desktop\venv\lib\site-packages\rasa\core\processor.py”, line 750, in _run_action
output_channel, nlg, temporary_tracker, self.domain
File “c:\users\10685510\desktop\venv\lib\site-packages\rasa\core\actions\action.py”, line 613, in run
json=json_body, method=“post”, timeout=DEFAULT_REQUEST_TIMEOUT
File “c:\users\10685510\desktop\venv\lib\site-packages\rasa\utils\endpoints.py”, line 151, in request
**kwargs,
File “c:\users\10685510\desktop\venv\lib\site-packages\aiohttp\client.py”, line 1012, in aenter
self._resp = await self._coro
File “c:\users\10685510\desktop\venv\lib\site-packages\aiohttp\client.py”, line 504, in _request
await resp.start(conn)
File “c:\users\10685510\desktop\venv\lib\site-packages\aiohttp\client_reqrep.py”, line 847, in start
message, payload = await self._protocol.read() # type: ignore # noqa
File “c:\users\10685510\desktop\venv\lib\site-packages\aiohttp\streams.py”, line 591, in read
await self._waiter
concurrent.futures._base.CancelledError
I am using a virtual environment in cmd…The reason started with 2.1.2 is that is was first developed by someone else who started with that version long back
@CAkhil I’d recommend to install anaconda and install rasa version 2.8.1 and rasa-sdk 2.8.1 and train the model and do let me know if issue persist? Is that ok?
Please install Anaconda from Anaconda | Individual Edition , then create the conda environment using the following command
Sure @nik202 …I have a doubt…what would be the difference if i use cmd instead of anaconda?..also is it okay if directly use 2.8.1 in cmd instead of anaconda?