NodeJS:- service is unavailable error 503

Ashutosh Thakur 1 Reputation point
2021-03-24T04:37:22.837+00:00

For more than 30hrs my node js website is showing service is unavailable. We are using this just for testing and not used for more than 30hrs but still the same error is showing to us.

Please resolve this error as soon as possible.
Thanks

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,866 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. ajkuma 22,401 Reputation points Microsoft Employee
    2021-03-24T14:02:51.89+00:00

    @Ashutosh Thakur , Firstly, apologies for any inconvenience.
    Just to clarify, did you provision this WebApp only just before ~30 hrs? /Is this a new WebApp (just recently deployed)?
    What App Service Plan are you using? In which region have you provisioned the WebApp? Were there any changes just before the issue started?

    This (503 -service unavailable) problem is often caused by application level issues, such as:

    • requests taking a long time
    • application using high memory/CPU
    • application crashing due to an exception.

    To start with - In Azure Portal > On the App Service App, in the left navigation, click on Diagnose and solve problems – Checkout the tile for “Diagnostic Tools” > “Availability and Performance” & "Best Practices", to fetch more details on the error.

    81213-image.png

    0 comments No comments

  2. ajkuma 22,401 Reputation points Microsoft Employee
    2021-03-24T14:07:33.06+00:00

    @Ashutosh Thakur , Adding more:

    -Check to see if Service health points to any issues -https://learn.microsoft.com/azure/service-health/service-health-overview
    -On Free or Shared tiers - If an app exceeds the quotas, the app is stopped until the quota resets - kindly review this.
    -If feasible restart the WebApp and check.

    Kindly try the steps outlined here and let us know how it goes. I'll follow-up with you further.