BotFramework-Composer icon indicating copy to clipboard operation
BotFramework-Composer copied to clipboard

Internal server error 500 when accessing from WebChat and other integrated channels

Open Tz611 opened this issue 1 year ago • 2 comments

I have built the bot from node template in bot framework composer and then published to the resource that was newly created, in Azure Portal. However, when I access the bot via webchat and integrated telegram channel, there is internal server error 500 whenever I send message to the bot in the Azure bot service. The screenshot of the error is attached below. image

Version

Version: 2.1.2 Electron: 8.2.4 Chrome: 80.0.3987.165 NodeJS: 12.13.0 V8: 8.0.426.27-electron.0

Browser

  • [ ] Electron distribution
  • [ ] Chrome
  • [ ] Safari
  • [yes ] Firefox
  • [ ] Edge

OS

  • [ ] macOS
  • [yes ] Windows
  • [ ] Ubuntu

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Azure Portal then click the Resource where the bot is registered, and then click the bot, then click on "Test in Webchat"'
  2. Send a trigger message and No response from the bot
  3. when I see the logs in the webchat channel, the above included screenshot of errors occur.

Expected behavior

Since I have created the flow and triggers in the bot with Bot Framework Composer, there should be return message from the bot whenever I send a trigger message.

Screenshots

image

image

Additional context

When I tested with the bot from Csharp template, there is no error like this and the testing in the Webchat as well as from integrated telegram went smoothly. This error is occurring in the bot created from the node template. Thus, is the error relating to the node modules? I already checked my firewall from my device and the bot framework composer is also allowed.

How can I solve that internal server error 500?

Tz611 avatar Feb 15 '24 09:02 Tz611

@Tz611 does the bot work locally? If it doesn't this may be the cause. Did you publish straight from the template without any changes?

OEvgeny avatar Feb 15 '24 18:02 OEvgeny

internal server error means you bot app is crashing so I am assuming your bot code is running on Azure web app then you must go to advance tools=> kudu=>check default docker logs there you might find the actual reason of app crashing.

amangit007 avatar Feb 17 '24 08:02 amangit007