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 my bots to newer version. For that everything working fine but after published my bot into azure, then by using the publish URL I am trying to test in bot framework channel emulator (3.0.0.54) it gives always "500, internal server error". But when I added skype channel to my bot then it will working fine.
Only the problem is when I am testing in bot framework channel emulator with Published URL of my bot application, then only I got the error as "Internal server error".
I think there may be problem with latest version bot framework channel emulator
Clear your browser cache and cookies Check these articles on deleting the cache on an Android phone or iPhone, if you use a mobile device. Alternatively, you can test opening the page from another browser. For instance, if you use Chrome, try Firefox or vice versa.
The HTTP 500 internal server error is a general-purpose error code that means there is a problem on the website's server, but the exact problem couldn't be definitively identified. In other words, the server doesn't know what the exact problem is.
A permission issue. When the webserver has no permissions to access the site files, it may throw an HTTP 500 error. The solution to this issue is to change the website file's permissions recursively .
I discovered that a single public method apart from Post in Controller makes Bot Framework throw 500 InternalServerError. Simply keep only private and public Post method in your Controller and that should fix it. Thanks you were right, every method should be kept private except by Post methods, thanks, you cured my headache!!
If you try to visit a website and see a “500 Internal Server Error” message, it means something has gone wrong with the website. This isn’t a problem with your browser, your computer, or your internet connection.
If you are receiving 500 errors and there are no further events within Application Insights from your bot, check the following: First, test your bot locally with the Bot Framework Emulator. Make sure your appsettings.json and any other configuration files are being packaged correctly during the deployment process.
However you see this displayed, this is an error with HTTP status code 500. The 500 error code is a generic message that appears when something unexpected happened on the web server and the server can’t offer more specific information. Rather than giving you a normal web page, an error occurred on the web server and the server gave your browser ...
Please download the file from https://ngrok.com/download
Unzip the file and use command prompt to run the below command
ngrok http -host-header=rewrite 9000
screenshot
Note :ngrok should be in running state .if your getting same 500 error while trying next time please start from step 1. For more reference .https//docs.botframework.com/en-us/tools/bot-framework-emulator/#navtitle
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With