concurrent.futures._base.CancelledError with long running custom actions

Hi , I am also facing same problem (using Rasa 2.6.0) . I am using Rest, MS Teams (botframework) and Slack channel. This error is coming only in case of Slack channel. Is there any specific configuration for slack channel ? I also tried to increase the SANIC_REQUEST_TIMEOUT and SANIC_RESPONSE_TIMEOUT to 360 but no success. Any pointers in this regard will really help. In forum there are similar issues reported but no resolution. I am pasting the error log.

2021-06-07 12:36:12 ERROR rasa.core.channels.slack - Exception when trying to handle message. 2021-06-07 12:36:12 ERROR rasa.core.channels.slack - Traceback (most recent call last): File “c:\users\user\anaconda3\envs\rasa_2_6\lib\site-packages\rasa\core\channels\slack.py”, line 373, in process_message await on_new_message(user_msg) File “c:\users\user\anaconda3\envs\rasa_2_6\lib\asyncio\coroutines.py”, line 129, in throw return self.gen.throw(type, value, traceback) File “c:\users\user\anaconda3\envs\rasa_2_6\lib\site-packages\rasa\core\channels\channel.py”, line 89, in handler await app.agent.handle_message(message) File “c:\users\user\anaconda3\envs\rasa_2_6\lib\asyncio\coroutines.py”, line 129, in throw return self.gen.throw(type, value, traceback) File “c:\users\user\anaconda3\envs\rasa_2_6\lib\site-packages\rasa\core\agent.py”, line 576, in handle_message return await processor.handle_message(message) File “c:\users\user\anaconda3\envs\rasa_2_6\lib\asyncio\coroutines.py”, line 129, in throw return self.gen.throw(type, value, traceback) File “c:\users\user\anaconda3\envs\rasa_2_6\lib\site-packages\rasa\core\processor.py”, line 108, in handle_message await self._predict_and_execute_next_action(message.output_channel, tracker) File “c:\users\user\anaconda3\envs\rasa_2_6\lib\asyncio\coroutines.py”, line 129, in throw return self.gen.throw(type, value, traceback) File “c:\users\user\anaconda3\envs\rasa_2_6\lib\site-packages\rasa\core\processor.py”, line 660, in _predict_and_execute_next_action action, tracker, output_channel, self.nlg, prediction File “c:\users\user\anaconda3\envs\rasa_2_6\lib\asyncio\coroutines.py”, line 129, in throw return self.gen.throw(type, value, traceback) File “c:\users\user\anaconda3\envs\rasa_2_6\lib\site-packages\rasa\core\processor.py”, line 798, in _run_action await self.execute_side_effects(events, tracker, output_channel) File “c:\users\user\anaconda3\envs\rasa_2_6\lib\asyncio\coroutines.py”, line 129, in throw return self.gen.throw(type, value, traceback) File “c:\users\user\anaconda3\envs\rasa_2_6\lib\site-packages\rasa\core\processor.py”, line 699, in execute_side_effects await self._send_bot_messages(events, tracker, output_channel) File “c:\users\user\anaconda3\envs\rasa_2_6\lib\asyncio\coroutines.py”, line 129, in throw return self.gen.throw(type, value, traceback) File “c:\users\user\anaconda3\envs\rasa_2_6\lib\site-packages\rasa\core\processor.py”, line 715, in _send_bot_messages await output_channel.send_response(tracker.sender_id, e.message()) File “c:\users\user\anaconda3\envs\rasa_2_6\lib\asyncio\coroutines.py”, line 129, in throw return self.gen.throw(type, value, traceback) File “c:\users\user\anaconda3\envs\rasa_2_6\lib\site-packages\rasa\core\channels\channel.py”, line 231, in send_response await self.send_text_message(recipient_id, message.pop(“text”), **message) File “c:\users\user\anaconda3\envs\rasa_2_6\lib\asyncio\coroutines.py”, line 129, in throw return self.gen.throw(type, value, traceback) File “c:\users\user\anaconda3\envs\rasa_2_6\lib\site-packages\rasa\core\channels\slack.py”, line 57, in send_text_message channel=recipient, as_user=True, text=message_part, type=“mrkdwn” File “c:\users\user\anaconda3\envs\rasa_2_6\lib\asyncio\coroutines.py”, line 129, in throw return self.gen.throw(type, value, traceback) File “c:\users\user\anaconda3\envs\rasa_2_6\lib\site-packages\rasa\core\channels\slack.py”, line 49, in _post_message await self.client.chat_postMessage(channel=channel, **kwargs) concurrent.futures._base.CancelledError