I have a problem with a POST request sent to my Azure app service from a static web app. The front end is written in Vue.js, the back end in Python.
When I send this request, the response is an Internal Server Error(error 500). In the app log I can see there's a HttpRequestException.
Have you got any ideas on how to solve?
N.B. The app works well in local environment.
@LUPO DANIELE Thank you for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.
Based on the shared information from the screenshot, I have looked at the webapp logs in the backend below are the couple of observations:
I can see that your web app is hosted on Free tier app service plan which is a shared plan accessed by across multiple customers.
We see there is high CPU usage and memory usage on the app service backend instance as well.
I would suggest you to scale up your app service plan from free tier to dedicated plans (like Basic, standard, premium) and check whether if you still face the issue.
Posting scaling the app service plan to next tier if you still face the issue, I suggest you run the WebApp Down detector under Diagnose and solve problems of your webapp from the portal to identify the case.
Feel free to reach back to me if you have any further questions on this.