ERROR asyncio - Task exception was never retrieved future: <Task finished name=‘Task-2’ coro=<configure_app..run_cmdline_io() done, defined at c:\users\siddesh.conda\envs\rasa_bot\lib\site-packages\rasa\core\run.py:132> exception=TimeoutError()> Traceback (most recent call last): File “c:\users\siddesh.conda\envs\rasa_bot\lib\site-packages\rasa\core\run.py”, line 136, in run_cmdline_io await console.record_messages( File “c:\users\siddesh.conda\envs\rasa_bot\lib\site-packages\rasa\core\channels\console.py”, line 182, in record_messages async for response in bot_responses: File “c:\users\siddesh.conda\envs\rasa_bot\lib\site-packages\rasa\core\channels\console.py”, line 137, in send_message_receive_stream async for line in resp.content: File “c:\users\siddesh.conda\envs\rasa_bot\lib\site-packages\aiohttp\streams.py”, line 39, in anext rv = await self.read_func() File “c:\users\siddesh.conda\envs\rasa_bot\lib\site-packages\aiohttp\streams.py”, line 328, in readline await self._wait(‘readline’) File “c:\users\siddesh.conda\envs\rasa_bot\lib\site-packages\aiohttp\streams.py”, line 296, in _wait await waiter File “c:\users\siddesh.conda\envs\rasa_bot\lib\site-packages\aiohttp\helpers.py”, line 596, in exit raise asyncio.TimeoutError from None asyncio.exceptions.TimeoutError
i also get ERROR asyncio - Task exception was never retrieve rasa while DEFAULT_STREAM_READING_TIMEOUT_IN_SECONDS = 50 inside console.py
my code inside the action.py is mentioned below
class ActionMonthlyBallance(Action): # added by siddesh to monthaly ballance
"""provides monthly ballance"""
def name(self) -> Text:
"""Unique identifier of the action"""
return "action_monthly_ballance"
def run(
self,
dispatcher: CollectingDispatcher,
tracker: Tracker,
domain: Dict[Text, Any],
) -> List[Dict]:
"""Executes the action"""
response= requests.get("http://_adress").json()
message= "your income is ",response["data"]["data"][0]["Income"]["value"]
dispatcher.utter_message(text=message)
return[]
i observed that i am facing the issue only if output is float or int number, string is not causing any issue. for string it is perfectly working fine