botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

InternalServerError - Cannot use Emulator to debug

Open suvamsh opened this issue 10 years ago • 4 comments

My bot works error free when I use the ConsoleConnector but when I use the ChatConnector and publish to Azure I get "InternalServerError". The problem is that I am developing in Node on a Mac and cannot use the Bot framework Emulator. Is there any suggestions as to how I can debug this? I have errors only in the deployed version, I would like to debug the web app which I deployed on Azure.

suvamsh avatar Nov 09 '16 16:11 suvamsh

There is a cross-platform emulator: https://docs.botframework.com/en-us/tools/bot-framework-emulator/#mac-and-linux-support-using-command-line-emulator

You might also consider enabling Azure App Insights on your deployed bot to get trace logs and other diagnostics information.

willportnoy avatar Nov 09 '16 17:11 willportnoy

I installed this and I am able to debug locally emulating a server. But my Azure endpoint is still saying "InternalServerError" when I try to ping it from the botframework Bot page. Is there anyway I can debug the web endpoint directly?

suvamsh avatar Nov 11 '16 10:11 suvamsh

You might consider following a guide like the following: https://azure.microsoft.com/en-us/documentation/articles/web-sites-nodejs-debug/

willportnoy avatar Nov 11 '16 17:11 willportnoy

Thanks I was able to fix my error.

suvamsh avatar Nov 16 '16 05:11 suvamsh