Live NodeJS Server Returns A "This page isn’t working" Error On Browser GET Request.
Good morning from here, Microsoft team,
I followed Microsoft's guide on this page to deploy my NodeJS (ExpressJS to be exact) app.
On starting the server, I get the log
Thu, 27 Apr 2023 10:20:20 GMT body-parser deprecated undefined extended: provide extended option at index.js:12:27
(node:17860) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.(Use
node --trace-deprecation ...
to show where the warning was created)App server, live on port 3000!
Which is exactly what I should receive if the server was started correctly. It listens on port 3000 and all known env variables are set on the server.
However, when I navigate to my server domain at https://trackstack-server-test.azurewebsites.net, from my browser (via GET), it loads for about 2 - 5 minutes and I get an error page that says:
This page isn’t working
trackstack-server-test.azurewebsites.net is currently unable to handle this request.
HTTP ERROR 500
(You can navigate to the URL as well to see for yourselves.)
Please, what can I do to correct this?
Thank you.