Azure Function App: deployment failure and kudu that is crashed also

Adrien Michaud 26 Reputation points
2021-10-29T16:05:48.353+00:00

Hello,
I have some trouble launching and updating some of my function app.
I tried using VSCode to update the function on my Azure function but I got:

17:47:48 app: Starting deployment...
17:50:08 app: Creating zip package...
17:53:57: Error: Server Error
502 - Web server received an invalid response while acting as a gateway or proxy server.
There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server. View troubleshooting tips here.

When I go to the kudu address which is : https://app.scm.azurewebsites.net/ I got a Service unavailable.
I checked the application settings and they seems alrights.

How can I see the problem preventing kudu from launching ?

Thanks for your help

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

2 answers

Sort by: Most helpful
  1. MayankBargali-MSFT 70,941 Reputation points Moderator
    2021-11-01T11:29:50.657+00:00

    @Adrien Michaud Have you looked into the Symptom and mitigation steps as mentioned in this troubleshooting document.
    If you have already verified the mitigation steps and still observing the issue then please share your function app name and timeframe in UTC when you have performed the deployment so I can assist you further.

    0 comments No comments

  2. Alan Holt 1 Reputation point
    2022-01-25T15:13:16.1+00:00

    Running into this same issue currently. Can't deploy code. Can't view kudu due to 502/503 error. Linked troubleshooting document doesn't help as that tells me to look in kudu...


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.