How to fix HTTP Error 500.1002 - Internal Server Error when I tried to deploy my echo bot to azure.

Vishnu Dut 0 Reputation points
2024-05-20T19:14:19.93+00:00

I'm currently working on building a bot using Bot framework. I edited the echo bot to display a welcome message and a login screen. Everything works fine in my bot emulator. Therefore I wanted to deploy this basic bot and test it in teams before proceeding with my remaining code.

I followed all the instructions given in the microsoft documentation.

https://learn.microsoft.com/en-us/azure/bot-service/provision-and-publish-a-bot?view=azure-bot-service-4.0&tabs=userassigned%2Ccsharp

After deploying when I try to test the bot in web chat nothing appears. I checked the issues tab and found the following.
User's image

I then activated the log stream to check the error in the console. Found out there was the following error.

User's image

I then checked my kudu debug console.

User's image

I checked inside the iisnode in the wwwroot and got the following

User's image

Earlier there was one more error popping up but I updated the node version in the Environment Variables in the App Service then the issue stopped appearing. But the current issue is the above one. I'm unable to deploy the bot which was working fine in local and test it in cloud. Any Help would be greatly appreciated. Thanks in advance.

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
847 questions
Azure Startups
Azure Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Startups: Companies that are in their initial stages of business and typically developing a business model and seeking financing.
397 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.