Rasa Version - 2.8.16
Context:
I’m creating a bot that talks to users in slack, fetches information about the user from the backend, and replies according to it. I’m running a form whose questions are fetched from my backend and then are to be asked to the user.
Issue:
I’m getting a slack time-out error, perhaps because of execution time in custom actions. And to handle it I’m trying to send a dispatcher_message from actions before the form begins. But even this message is not received in slack.
I checked similar issues raised by other developers as well.
opened 01:31PM - 23 May 19 UTC
closed 11:25AM - 14 Aug 19 UTC
type:bug
**Rasa version**: rasa==1.0.1
**Python version**: Python 3.6.7
**Operating… system** (windows, osx, ...):
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
**Issue**:
If there is a delay (say 3 seconds) in executing a logic written in a custom action, then no response will be sending back to the slack channel after executing that custom action.
Steps to reproduce the issue?
- Integrate to slack
- Create a custom action with three minutes delay for executing the logic (easy way is to add time.sleep(3))
- Then execute dispatcher.utter_message
- Now, test it from slack and check the server logs. It keeps trying to execute the same custom action multiple times due to the timeout and no response will be sending back to slack.
This is mainly affecting some scenario where we need custom action to call some third party APIs, since it may takes more than 2 seconds to get response from third party APIs. In this case, it continuously executing the same custom action and multiple API calls being made to the third party service. Kindly let me know, if there any way to avoid this situation, when creating custom actions.
Please let me know, if you need anymore details.
opened 02:21AM - 18 Mar 19 UTC
closed 05:49PM - 30 Apr 19 UTC
status:more-details-needed
**Rasa Core version**: 0.3.13
**Python version**: 3.6
**Operating system**… (windows, osx, ...): Linux Ubuntu 16.04
**Issue**: I've used rasa core since last year and the connection between slack and rasa core was good. But when I try to use the latest version of rasa core to connect slack, I did not get any response from rasa core. Would you please help me to check if there is anything wrong with my configuration? I look through all the issues about slack connection raised in here but did not find the same situation.
In Event Subscription Section, I input the following events:


In Interactive Components, I input: http://ce8fdf9b.ngrok.io/webhooks/slack/webhook
In my credentials file, I included slack channel and token:

This is the commands I used, which is to run rasa core:
python -m rasa_core.run -d models/current/dialogue -u models/current/nlu --port 5002 --credentials credentials.yml
Every time I send a message from slack, I can get 200 response code in rasa terminal console, but I did not get replies in slack.

In ngrok, it also shows 200 response code:

The example I used is "joke robot". I can get replies when I run in command lines, but I never succeed when using slack.
Would you help to find the reason why it failed to reply? Let me know if I should provide more evidence. Thank you so much!
@erohmensing can you take a look, please?
Also let me know if anything else is needed.
Thanks