Azure Function Deployment Issue: [Kudu-RemoveWorkersStep] Fails with HttpClient.Timeout
Davydenko Vadym
0
Reputation points
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.
Sign in to answer