Azure Function Deployment Issue: [Kudu-RemoveWorkersStep] Fails with HttpClient.Timeout

Davydenko Vadym 5 Reputation points
2025-08-28T12:03:22.3133333+00:00

I’m trying to publish a TypeScript Azure Function to a Function App running on Flex Consumption plan.

  • Inbound traffic to the Function App is disabled.
  • Outbound traffic goes into a VNET.
  • The storage account has public access disabled and Private Endpoint connected to the same VNET.

When deploying from local, both of the following commands lead to the same error logs:

func azure functionapp publish some-function-name --typescript

and

az functionapp deployment source config-zip \
  -g rg-abc \
  -n some-function-name \
  --src "path/to/zip" \
  --timeout 6000

Observed Behavior

Both commands generate nearly identical deployment logs and end with:

[Kudu-RemoveWorkersStep] starting.

Deployment was successful with Error: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.

[2025-08-28T10:43:06.033Z] "Deployment was partially successful, Please check the printed logs.
  • When using func azure functionapp publish, the deployment actually succeeds (functions are published and run), even though the error is printed.
  • When using az functionapp deployment source config-zip, the deployment fails entirely (no functions deployed).

Full Log Snippet (from func azure functionapp publish):

func azure functionapp publish some-function-name --typescript
Getting site publishing info...
[2025-08-28T10:25:53.401Z] Starting the function app deployment...
[2025-08-28T10:25:53.406Z] Creating archive for current directory...
Uploading 60.69 MB [##############################################################################]
Deployment in progress, please wait...
Starting deployment pipeline.
[Kudu-SourcePackageUriDownloadStep] Skipping download. Zip package is present at /tmp/zipdeploy/b13b497c-c3fe-4f5c-a549-e714726624dc.zip
[Kudu-ValidationStep] starting.
[Kudu-ValidationStep] completed.
[Kudu-ExtractZipStep] starting.
[Kudu-ExtractZipStep] completed.
[Kudu-ContentValidationStep] starting.
[Kudu-ContentValidationStep] completed.
[Kudu-PreBuildValidationStep] Skipping pre-build validation (remotebuild = false).
[Kudu-OryxBuildStep] Skipping oryx build (remotebuild = false).
[Kudu-PostBuildValidationStep] starting.
[Kudu-PostBuildValidationStep] completed.
[Kudu-PackageZipStep] starting.
[Kudu-PackageZipStep] completed.
[Kudu-UploadPackageStep] starting.
[Kudu-UploadPackageStep] completed. Uploaded package to storage successfully.
[Kudu-RemoveWorkersStep] starting.
Deployment was successful with Error: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
[2025-08-28T10:43:06.033Z] "Deployment was partially successful, Please check the printed logs.

Does anyone know why this happens and how to fix it?

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.


3 answers

Sort by: Most helpful
  1. Davydenko Vadym 5 Reputation points
    2026-10-13T10:02:25.5+00:00

    forgot to give my solution back in time, but I faced that issue again and the fix was: https://github.com/Azure/Azure-Functions/issues/2635#issuecomment-3788663697

    Was this answer helpful?

    0 comments No comments

  2. nikithakoshy 80 Reputation points
    2025-10-28T09:14:28.7066667+00:00

    I have the same issue with the Flex consumption Function App, and removing the private endpoint resolved the problem. I also found that it was working fine before, and this issue has only recently started occurring.

    Was this answer helpful?

    0 comments No comments

  3. Raymond Tang 21 Reputation points
    2025-09-19T00:15:46.29+00:00

    @Praveen Kumar Gudipudi Flex Consumption Plan doesn't support the debug console url.

    I am starting to get similar error in the last few days while it has been working fine in the past.

    If I remove the private endpoint for my function app, it works. So I think there is something wrong with my network/pe configurations.

    search in (traces) "Kudu" and timestamp > ago(30m)
    

    19/09/2025, 11:57:28.778 am

    Deployment was successful with Error: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing. 19/09/2025, 11:52:24.761 am [Kudu-RemoveWorkersStep] starting. 19/09/2025, 11:52:24.750 am [Kudu-UploadPackageStep] completed. Uploaded package to storage successfully. 19/09/2025, 11:52:23.741 am [Kudu-UploadPackageStep] starting. 19/09/2025, 11:52:23.739 am [Kudu-PackageZipStep] completed. 19/09/2025, 11:52:21.423 am [Kudu-PackageZipStep] starting. 19/09/2025, 11:52:21.421 am [Kudu-PostBuildValidationStep] completed. 19/09/2025, 11:52:21.420 am [Kudu-PostBuildValidationStep] starting. 19/09/2025, 11:52:21.419 am [Kudu-OryxBuildStep] Skipping oryx build (remotebuild = false). 19/09/2025, 11:52:21.418 am [Kudu-PreBuildValidationStep] Skipping pre-build validation (remotebuild = false). 19/09/2025, 11:52:21.417 am [Kudu-ContentValidationStep] completed. 19/09/2025, 11:52:21.417 am [Kudu-ContentValidationStep] starting. 19/09/2025, 11:52:21.415 am [Kudu-ExtractZipStep] completed.

    Related post: https://www.reddit.com/r/AZURE/comments/1nkrbzy/azure_flex_consumption_python_functions/

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.