Static Web App randomly goes offline with 503 errors

Adrian Campos 20 Reputation points
2025-04-11T15:00:37.8333333+00:00

I have a production static web app with managed functions that randomly goes down and returns 503s. Here are the trouble shooting steps I've taken:

  1. Diagnose and solve problems blade - This shows absolutely no issues. It shows nothing but 200 level requests and seems to not report any of the 500s even after hitting the app 15 times and getting 503's 15 times.
  2. Monitoring tab - shows zero 500 responses
  3. Service Health - No service health issues reported for static web apps

Since there is no way to "restart/reboot" the underlying infrastructure, the only way I can get it to start serving pages correctly again is to force a redeploy from my azure devops pipelines. After that, everything starts working again.

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,131 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.