Botframework-emulator: Intermittent 500 error with the latest emulator on localhost

Created on 2 Jul 2019  Â·  10Comments  Â·  Source: microsoft/BotFramework-Emulator

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.

Version

4.4.2

Describe the bug

I had Intermittent 500 error with the latest emulator(4.4.2)

To Reproduce

Steps to reproduce the behavior:

  1. Starting bot at localhost with the latest emulator
  2. While doing testing, it will suddenly give you 500 errors.

Expected behavior

No 500 error if there is no problem with the code.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

We used the Virtual Assistant solution(https://github.com/microsoft/botframework-solutions), but I guess it is not the root cause of this problem. It because this issue is resolved by downgrading the version to 4.2.1.

[bug]

Bug

All 10 comments

Hi @angie4u ,

Can you provide any more detail or perhaps screenshots about the scenario in which the 500 errors occurred? Were you starting a conversation with the bot, were you in the middle of a conversation with the bot, or did you happen to click an adaptive card button?

It's hard to diagnose a 500 without some more information. Taking a screenshot of the Emulator log panel with the payload of the error would be very helpful.

image

After waiting a few seconds, the bot is starting to work!
image

It happens during the middle of a conversation intermittently! If you need more information, please let me know!

I'll try to reproduce with the same sample you used and update this thread.

Hi @angie4u ,

Please try out your VA bot with the newest release of the Emulator, 4.5.2. The Emulator should now show the error messages you are getting more clearly due to #1673.

If you are still seeing errors, please take a screenshot of the inspector panel as you did before and post it here. You can also just copy the JSON payload from the inspector panel as well and post it here in a code block:

{

  ... some error payload

}

Hello @tonyanziano,
Thanks for your support! I will test again if the error occurs again, I will post here with screenshots.

Hello team,
I still have the same error like below with latest Bot emulator(4.5.2-71403)
image
image

I got this information from Application Insight service. Is this error because of the limitation of ngrok?
image

I found that my ngrok cause the problem. (I use free tier for ngrok https://ngrok.com/pricing) When I test with embedded webchat, it works fine! Thank you for your help!

Glad to hear you figured it out! Closing this issue now.

Was this page helpful?
0 / 5 - 0 ratings