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

**URL:** <https://forum.rasa.com/t/concurrent-futures-base-cancellederror-with-long-running-custom-actions/32487>\
**Category:** Rasa Open Source\
**Created:** [August 12, 2020, 5:13am UTC](https://forum.rasa.com/t/concurrent-futures-base-cancellederror-with-long-running-custom-actions/32487 "2020-08-12T05:13:40Z")\
**Posts on this page:** 1\
**Showing post:** 26

<div class="post-metadata">

**Author:** ![veerendrapj1976](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/veerendrapj1976/32/15259_2.png) [@veerendrapj1976](https://forum.rasa.com/u/veerendrapj1976)\
**Post date:** [June 7, 2021, 10:47am UTC](https://forum.rasa.com/t/concurrent-futures-base-cancellederror-with-long-running-custom-actions/32487/26 "2021-06-07T10:47:56Z")

</div>

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

---

_[View the full topic](https://forum.rasa.com/t/concurrent-futures-base-cancellederror-with-long-running-custom-actions/32487)._
