Deploying to Function. Getting Error: The gateway did not receive a response from 'Microsoft.Web' within the specified time period. (CODE: 504)

Christiaan Westgeest 46 Reputation points
2021-07-13T07:49:44.23+00:00

We use a combination of Azure Devops Build and Release pipelines to release code to a number of Azure Functions.
As of yesterday late afternoon, the Release steps started failing, with the following error message:

Error: The gateway did not receive a response from 'Microsoft.Web' within the specified time period. (CODE: 504)

I've run the Release again with debug enabled, but the logs don't show any more details pertaining to the error message.
Logs on the side of the Function show no errors, and 'Diagnose and solve problems' doesn't find anything either.

I do notice that the Deployment Center logs cannot be loaded for any of the Functions (stays on Loading).
The Release Pipeline logs also show:

[warning]Error: Failed to update deployment history. Error: Bad Request (CODE: 400)

Since most posts about this topic seem to suggest it's likely an Azure issue that does not show up correctly in the Azure Status page, but is generally resolved after a while, I've then decided to wait some 12 hours before trying again. We are now 16 hours on, but the issue still persists.

Is anyone currently having similar issues?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,901 questions
{count} vote

Accepted answer
  1. MayankBargali-MSFT 69,581 Reputation points
    2021-07-16T07:58:47.53+00:00

    The issue should have mitigated now. If someone is still facing the issue for any of the regions feel free to tag me in or open a support ticket with us to assist you further.

    For Azure DevOps is currently not supported in this Microsoft Q&A platform. You may ask Azure DevOps related questions/ongoing issue in this https://developercommunity.visualstudio.com/spaces/21/index.html developer community.


0 additional answers

Sort by: Most helpful