Deploy to Web App in Visual Studio Code 504 Gatewat Timeout

Duarte, Itzel 1 Reputation point
2022-12-06T18:42:27.867+00:00

Hi,

I am trying to deploy a web app using the VSCode extension 'Azure App Service'.

I have previously successfully deployed but recently started getting a 504 Gateway Timeout error.

I thought it might be on my end so a colleague also tried to deploy and got the same error.

I then updated application settings to include WEBSITE_ENABLE_SYNC_UPDATE_SITE = false per this response:

https://learn.microsoft.com/en-us/answers/questions/474028/deploying-to-azure-app-services-causes-timeout-err.html

but am still getting a 504 Gateway Timeout error.

Any suggestions or insight would be greatly appreciated!

Thank you

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

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 24,951 Reputation points Microsoft Employee Moderator
    2022-12-07T09:43:25.343+00:00

    @Duarte, Itzel Thank you for reaching out to Microsoft Q&A, apologize for the inconvenience caused on this. Could you please run the Webapp Down detector of your app under the diagnose and solve problems to identify the cause.

    If you observe that there were any high memory /CPU utilization, then it is expected that deployment will fail since the resources are being exhausted in that case try scaling the app service plan to next tier and retry the deployment and let us know if you still faces the issue.

    Feel free to reach back to me if you have any questions on this.

    0 comments No comments

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.