python echo bot is working on local but not working on azure portal. It is not responding in 'Test in Web Chat' box.
Also after clicking on bot message endpoint its showing - Application Error (screenshots attached)
please help.


python echo bot is working on local but not working on azure portal. It is not responding in 'Test in Web Chat' box.
Also after clicking on bot message endpoint its showing - Application Error (screenshots attached)
please help.


Can you try to connect to your bot using the bot emulator? Also, here are some troubleshooting steps to consider.
Sorry i did not get you. I am able to connect my bot to emulator locally.Everything is working fine locally
But after deployment of bot (the only thing i have changed is app id and password in config file before deployment) its not working. Its not replying in 'Test in web chat' box.
I tried this deployed bot to connect with my bot emulator locally with ngrok. Its not working and responding with HTTP 503 Error.
Here is my config.py file
import os
class DefaultConfig:
""" Bot Configuration """
PORT = 3978
APP_ID = '6faeba63-xxxxx--xxxxx-xxxxx-51cd21174261' #bot app id
APP_PASSWORD = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' #bot password
QNA_KNOWLEDGEBASE_ID = 'c12edxxxxxxx1887b67c1876' #qna credentials
QNA_ENDPOINT_KEY = '8de3caxxxx68f3dc6f6fb8'
QNA_ENDPOINT_HOST = 'https://xxxx.azurewebsites.net/qnamaker'
Glad it's fixed. Feel free to share your fix so others can benefit from it, thanks!
Yes i was executing zip command incorrectly.
/my_bot: zip -r my_bot.zip ./my_bot #wrong. this command i was executing from outside of my bot dir.
/my_bot: zip -r my_bot.zip . #correct . Executing inside of bot directory.
5 people are following this question.