An Azure service that provides an event-driven serverless compute platform.
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
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I’m trying to publish a TypeScript Azure Function to a Function App running on Flex Consumption plan.
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.
func azure functionapp publish, the deployment actually succeeds (functions are published and run), even though the error is printed.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?
An Azure service that provides an event-driven serverless compute platform.
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
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.
@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/