Facing problem in Slack integration with Rasa 1.* command line way. Steps followed are at
Created a workspace (“DataHacksConf2019”), a channel ("#rasachatbot") and an app (“rasachatbotdemo”).
Noted down Bot user OAuth (starting with xoxb)
Turned Event subscription ON. Subscribe to workspace events: message.channel , message.groups , message.im and message.mpim
Re-installed the app
Changed credentials.yml file with the Slack chat bot OAuth token (starting with xoxb) and channel ("#rasachatbot")
Ngrok: In a separate window
C:\Temp\ngrok.exe http 5055
Noted down the token like 3d3f77f1
Changed endpoints.yml (same port as ngrok)
action_endpoint: url: "http://3d3f77f1.ngrok.io:5055/webhook"
In another window, with activate rasa environment on a different port 5002
python -W ignore -m rasa run --connector slack --port 5002 --cors *
Now, deployed on port 5002 to the internet:
C:\Temp\ngrok.exe http 5002
Noted down different ngrok token, used that below in Slack
In Slack App Event subscription, Verifed (rasa server, ngrok, actions, all must be running)
Started chatting in Slack
The message seems to go from Slack to ngrok on 5002 (says status ok 200), but from there its not showing up in rasa server running on 5002
Am I missing anything?
All necessary files are at TeachingDataScience/Jupyter/iplbot at master · yogeshhk/TeachingDataScience · GitHub