Slack bot stop replying

Hi friends,

Recently I have a problem with my bot, it is integrated with Slack and it had been working for a while without problems. Now It started getting stuck in some part of the story and it was working before. If I test it in Rasa X it works fine and the conversation flows properly. It seems to be isolated to Slack only. Which is a good way to troubleshoot this problem from Rasa container deployment.

All the best

Hi all,

Rasa Docker Image: 1.4.5 Rasa X: 0.22.2

Here is some information from the debug logs


2019-12-03 08:39:36 DEBUG    rasa.core.tracker_store  - Recreating tracker from sender id 'UMAAQ4QTB'


2019-12-03 08:39:36 DEBUG    rasa.core.processor  - Received user message 'Was?' with intent '{'name': 'utter_was', 'confidence': 0.997199296951294}' and entities '[]'


2019-12-03 08:39:36 DEBUG    rasa.core.processor  - Logged UserUtterance - tracker now has 411 events


2019-12-03 08:39:36 DEBUG    rasa.core.policies.memoization  - Current tracker state [{'prev_utter_coach_mentalhealth': 1.0, 'intent_utter_positive_answer': 1.0}, {'prev_utter_futuretopics': 1.0, 'intent_utter_positive_answer': 1.0}, {'prev_utter_only_one_topic': 1.0, 'intent_utter_positive_answer': 1.0}, {'prev_utter_guess': 1.0, 'intent_utter_positive_answer': 1.0}, {'prev_action_listen': 1.0, 'intent_utter_was': 1.0}]


2019-12-03 08:39:36 DEBUG    rasa.core.policies.memoization  - Launch DeLorean...


2019-12-03 08:39:36 DEBUG    rasa.core.policies.memoization  - Current tracker state [None, None, None, {}, {'prev_action_listen': 1.0, 'intent_utter_was': 1.0}]


2019-12-03 08:39:36 DEBUG    rasa.core.policies.memoization  - There is no memorised next action


2019-12-03 08:39:36 DEBUG    rasa.core.policies.form_policy  - There is no active form


2019-12-03 08:39:36 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_2_FormPolicy


2019-12-03 08:39:36 DEBUG    rasa.core.processor  - Predicted next action 'action_listen' with confidence 0.00.


2019-12-03 08:39:36 DEBUG    rasa.core.processor  - Action 'action_listen' ended with events '[]'


2019-12-03 08:39:36 DEBUG    rasa.core.tracker_store  - Recreating tracker from sender id 'UMAAQ4QTB'


2019-12-03 08:39:36 DEBUG    rasa.core.brokers.pika  - Published Pika events to queue 'rasa_production_events' on host 'rabbit':


{"sender_id": "UMAAQ4QTB", "event": "user", "timestamp": 1575362376.1514235, "text": "Was?", "parse_data": {"intent": {"name": "utter_was", "confidence": 0.997199296951294}, "entities": [], "intent_ranking": [{"name": "utter_was", "confidence": 0.997199296951294}, {"name": "utter_it_was_bad", "confidence": 0.0007982209208421409}, {"name": "utter_clueless", "confidence": 0.00037674984196200967}, {"name": "utter_time_0_24_s4", "confidence": 0.0002807205019053072}, {"name": "utter_no_similarities", "confidence": 0.0002792476734612137}, {"name": "utter_time_0_24_s3", "confidence": 0.00026293154223822057}, {"name": "utter_appreciation", "confidence": 0.0002110688219545409}, {"name": "utter_time_0_24", "confidence": 0.0002062706626020372}, {"name": "utter_name", "confidence": 0.00014554423978552222}, {"name": "utter_greet", "confidence": 5.636115383822471e-05}], "text": "Was?"}, "input_channel": "slack", "message_id": "a28b767505c046adb1e86f7d4b4f116b", "metadata": null}


2019-12-03 08:39:36 DEBUG    rasa.core.brokers.pika  - Published Pika events to queue 'rasa_production_events' on host 'rabbit':


{"sender_id": "UMAAQ4QTB", "event": "action", "timestamp": 1575362376.2028158, "name": "action_listen", "policy": "policy_2_FormPolicy", "confidence": 0.0}


2019-12-03 08:39:36 DEBUG    rasa.core.tracker_store  - Tracker with sender_id 'UMAAQ4QTB' stored to database


2019-12-03 08:39:36 DEBUG    rasa.core.lock_store  - Deleted lock for conversation 'UMAAQ4QTB'.

Also here is the happy path (which is working in Slack)

## OB 1
* utter_greet
    - utter_greet
    - utter_intro
    - utter_intro_pic
    - utter_heißt
* utter_name
    - utter_kennenzulernen
    - utter_übrigens
    - utter_young_bot
    - utter_importance
    - utter_probably_know
* utter_positive_answer
    - utter_thanks
    - utter_start
    - form_random01
    - form{"name": "form_random01"}
    - form{"name": null}
    - utter_thanks
    - utter_coach
    - utter_futuretopics
    - utter_only_one_topic
    - utter_guess
* utter_selfvalue
    - utter_right
> ob_to_s1

And it is the path that is getting stuck at utter_was with action_listen

## OB 3
* utter_greet
    - utter_greet
    - utter_intro
    - utter_intro_pic
    - utter_heißt
* utter_name
    - utter_kennenzulernen
    - utter_übrigens
    - utter_young_bot
    - utter_importance
    - utter_probably_know
    - utter_thanks
    - utter_start
    - form_random01
    - form{"name": "form_random01"}
    - form{"name": null}
    - utter_thanks
    - utter_coach
    - utter_futuretopics
    - utter_only_one_topic
    - utter_guess
* utter_was
    - utter_no_about_selfvalue
> ob_to_s1