The site warm-up request failed with response code: 'ServiceUnavailable'.

細井勉 0 Reputation points
2025-06-09T07:37:37.45+00:00

When deploying a project from Visual Studio Professional 2022 (64-bit) version 17.13.3 to a deployment slot with the following settings:

Configuration: Release

Target Framework: .NET 9.0

Deployment Mode: Framework

Target Runtime: win-x64

The message "Web App has been successfully published" appears, but shortly after, the message "The site warm-up request failed with response code: 'ServiceUnavailable'" almost always appears.

If I attempt the deployment again without giving up, this message does not appear the second time. In other words, every time I deploy, I need to attempt the deployment twice for it to be successfully completed.

It seems there might be a timing issue with the site's warm-up process. If there are any solutions for improvement, I would appreciate your guidance.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,933 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.