Slack http timeout

Getting this error on my rasa run terminal logs:

2022-06-20 13:48:53 WARNING rasa.core.channels.slack - Received retry #1 request from slack due to http_timeout. Exception occurred while handling uri: ‘http://bb57-2401-4900-1c62-89aa-7297-3bc4-f6a0-bd1f.in.ngrok.io/webhooks/slack/webhook’ Traceback (most recent call last): File “handle_request”, line 83, in handle_request class Sanic(BaseSanic, metaclass=TouchUpMeta): File “/home/ayushman11/FogTeams/intelligence-layer/fogcub/lib/python3.8/site-packages/rasa/core/channels/slack.py”, line 538, in webhook return await self.process_message( File “/home/ayushman11/FogTeams/intelligence-layer/fogcub/lib/python3.8/site-packages/rasa/core/channels/slack.py”, line 358, in process_message return response.text( File “/home/ayushman11/FogTeams/intelligence-layer/fogcub/lib/python3.8/site-packages/sanic/response.py”, line 308, in text raise TypeError( TypeError: Bad body type. Expected str, got NoneType)

I could see this happening in the following situations:

  1. If I try to utter message several times within a Custom Action.
  2. If the utter message text is a long paragraph
  3. If rasa tries to alter the required slots in a form using the async required_slots function with FormValidation

I know that Slack has a timeout for 3 secs, but what is the workaround for this problem?