Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Application Error message when browsing Azure deployed web app

I created a simple web app (serverless) and deployed the web app using Azure App Service VS Code extension. I chose Linux + Node LTS environment. I configured deployment source to a local Git repo (also tried remote GitHub repo) and deployed. The deployment shows successful message. But when I browse the site, it throws a message (after 3-4 mins) that there was an ":( Application error". The admin diagnostics link doesn't show any error. Any reason why this could be happening? Where can I find error details? The web app compiles/runs fine on the local host.

like image 498
Sudhi Ramamurthy Avatar asked Apr 28 '26 03:04

Sudhi Ramamurthy


1 Answers

Enable Log Streamming, then you'll be able to figure out what the problem is:

https://learn.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs

As another option, you can also instrument your application with Application Insights:

https://learn.microsoft.com/en-us/azure/azure-monitor/app/nodejs

like image 178
Thiago Custodio Avatar answered Apr 29 '26 19:04

Thiago Custodio