Cannot deploy my function app. Is Kudu down?

Tzedakis, Panagiotis 0 Reputation points
2024-07-29T04:27:19.2333333+00:00

I am trying to deploy my function app via Bicep and it keeps getting the following errors. It keeps doing this all the time and the deployment tasks takes ages until I stop it manually.

Initially, I get this:

[debug]Could not parse response: {}

[debug]Response: undefined

[debug]Encountered a retriable status code: 503. Message: 'Service Unavailable'.

[debug][GET]https://$my-func:*@my-func.scm.azurewebsites.net/api/settings**

And then, I keep getting the following response:

[debug]encountered request timedout issue in Kudu. Retrying again

[debug]CLIENT_RESETSTREAMONRETRY=undefined

[debug][GET]https://$my-func:*@my-func.scm.azurewebsites.net/api/settings**

Can you help please ?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,990 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tzedakis, Panagiotis 0 Reputation points
    2024-07-29T09:01:30.4733333+00:00

    Found the solution to my issue. I use the WEBSITE_SKIP_CONTENTSHARE_VALIDATION variable set to 1, which does not automatically create the file share needed to deploy my Azure Function App.

    Once I added Bicep code to create the file share on the storage account with the name of my function app, everything worked like a charm!

    WEBSITE_SKIP_CONTENTSHARE_VALIDATION: 1
    
    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.