I've built a Node.js web application and deployed it as an Azure web app. The web app basically gets data from an Azure storage account and displays it to the client. Very simple.
Sometimes it can take a while for the data to get back to the client. So I'm using promises to handle the asynchronous nature of this issue.
On a development server, there are no problems. The data always makes it back to the client. (Tested on Internet Explorer, Chrome, and Firefox)
However, in the Azure web app, sometimes the data makes it back to the client, and sometimes the request fails (always after 5 seconds), and the client can see a 500 (internal server) error in the browser's developer tools.
Now even though the client receives a 500 error, the azure log stream shows no problems, and the server continues working like a problem never occurred.
This web app is built with a free tier service plan which uses shared resources. Is this the problem or has anyone had any experience with this problem in Azure?