Slack bot can't connect to mysql database

Hello,

my chatbot is connected to mysql database to retreive information and creating custom action ,I have tried it locally and it works correctly and then I used ngrok and integrate it to slack but he could not connect to database to retreive information. Can anyone help me to solve this problem. here is my chatbot locally and on slack.

slack

What happens if you use the --debug flag with your rasa run command? This will tell you if it’s actually picking up the email entity or not.