How to resolve the error as “500 internal server error” in Bot Framework Channel Emulator?

前端 未结 7 1481
既然无缘
既然无缘 2021-02-09 08:20

I am working on Bot framework technology, recently Microsoft announced the new version (V3) of bot. I was already developed bots using old version, now I am trying to upgrade m

7条回答
  •  旧巷少年郎
    2021-02-09 09:21

    It seems that if you deploy your bot to the cloud and try to test it from the emulator it will give this error. The emulator seemed to work in 2 cases:

    1- Localhost with security disabled (remove appid and app password)

    2- localhost with security enabled (add appid and app password)

    both endpoints via http only because it's localhost. If you deploy to the cloud you can test it in the emulator available on the Bot Portal. Make sure the endpoint for the hosted bot is https enabled.

    I followed the steps in this troubleshoot guide and it fixed it for me: https://docs.microsoft.com/en-us/bot-framework/troubleshoot-authentication-problems

    I didn't understand what actually caused the problem though. What I noticed was: desktop emulator works with localhost only.

提交回复
热议问题