azure-pipelines-tasks: [BUG]: Cannot deploy to function app through DevOps. Can't find loc string for key: KuduStackTraceURL
Task name
No response
Task version
No response
Environment type (Please select at least one enviroment where you face this issue)
- Self-Hosted
- Microsoft Hosted
- VMSS Pool
- Container
Azure DevOps Server type
Azure DevOps Server (Please specify exact version in the textbox below)
Azure DevOps Server Version (if applicable)
No response
Operation system
Azure function app v4
Task log
2023-10-06T15:18:29.3695478Z Got service connection details for Azure App Service:'fa-pmtsvc-rtpreceive-dev-eastus'
2023-10-06T15:18:36.7380639Z NOTE: Function app is VNet integrated.
2023-10-06T15:19:00.2600842Z Updating App Service Application settings. Data: {"WEBSITE_RUN_FROM_PACKAGE":"1"}
2023-10-06T15:19:00.2601240Z Deleting App Service Application settings. Data: ["WEBSITE_RUN_FROM_ZIP"]
2023-10-06T15:19:00.2602137Z App Service Application settings are already present.
2023-10-06T15:19:03.9413211Z Validating deployment package for functions app before Zip Deploy
2023-10-06T15:19:18.1769632Z Package deployment using ZIP Deploy initiated.
2023-10-06T15:49:21.7950285Z ##[error]Failed to deploy web package to App Service.
2023-10-06T15:49:21.7963263Z ##[warning]Can't find loc string for key: KuduStackTraceURL
2023-10-06T15:49:21.7965704Z ##[error]KuduStackTraceURL https://$appname:***@appname/api/vfs/LogFiles/kudu/trace
2023-10-06T15:49:21.7967528Z ##[error]Error: Error: Failed to deploy web package to App Service. Conflict (CODE: 409)
2023-10-06T15:49:22.4655150Z Successfully added release annotation to the Application Insight : appinsightsresourceName
2023-10-06T15:49:23.3354593Z App Service Application URL: https://app name
2023-10-06T15:49:23.3529870Z ##[section]Finishing: Deploy Azure Function App
Relevant log output
2023-10-06T15:18:29.3695478Z Got service connection details for Azure App Service:'fa-pmtsvc-rtpreceive-dev-eastus'
2023-10-06T15:18:36.7380639Z NOTE: Function app is VNet integrated.
2023-10-06T15:19:00.2600842Z Updating App Service Application settings. Data: {"WEBSITE_RUN_FROM_PACKAGE":"1"}
2023-10-06T15:19:00.2601240Z Deleting App Service Application settings. Data: ["WEBSITE_RUN_FROM_ZIP"]
2023-10-06T15:19:00.2602137Z App Service Application settings are already present.
2023-10-06T15:19:03.9413211Z Validating deployment package for functions app before Zip Deploy
2023-10-06T15:19:18.1769632Z Package deployment using ZIP Deploy initiated.
2023-10-06T15:49:21.7950285Z ##[error]Failed to deploy web package to App Service.
2023-10-06T15:49:21.7963263Z ##[warning]Can't find loc string for key: KuduStackTraceURL
2023-10-06T15:49:21.7965704Z ##[error]KuduStackTraceURL https://$appname:***@appname/api/vfs/LogFiles/kudu/trace
2023-10-06T15:49:21.7967528Z ##[error]Error: Error: Failed to deploy web package to App Service. Conflict (CODE: 409)
2023-10-06T15:49:22.4655150Z Successfully added release annotation to the Application Insight : appinsightsresourceName
2023-10-06T15:49:23.3354593Z App Service Application URL: https://app name
2023-10-06T15:49:23.3529870Z ##[section]Finishing: Deploy Azure Function App
Aditional info
No response
About this issue
- Original URL
- State: open
- Created 9 months ago
- Reactions: 3
- Comments: 26 (6 by maintainers)
I’ve just started seeing this problem with deployments this afternoon, been doing multiple deployments every day up to now with no issues.
if I’m not wrong, there was a potential fix for this issue which was shipped in version 228. If you’re still seeing this error, please enable the debug logs (system.debug=true) and if possible, send us the failed debug logs to analyze further.
Thanks
We have the same issue for an Azure Function app in a private network. We are deploying via our custom Windows agent.
Any fixes for the above error… 2023-10-06T15:18:29.3695478Z Got service connection details for Azure App Service:‘fa-pmtsvc-rtpreceive-dev-eastus’ 2023-10-06T15:18:36.7380639Z NOTE: Function app is VNet integrated. 2023-10-06T15:19:00.2600842Z Updating App Service Application settings. Data: {“WEBSITE_RUN_FROM_PACKAGE”:“1”} 2023-10-06T15:19:00.2601240Z Deleting App Service Application settings. Data: [“WEBSITE_RUN_FROM_ZIP”] 2023-10-06T15:19:00.2602137Z App Service Application settings are already present. 2023-10-06T15:19:03.9413211Z Validating deployment package for functions app before Zip Deploy 2023-10-06T15:19:18.1769632Z Package deployment using ZIP Deploy initiated. 2023-10-06T15:49:21.7950285Z ##[error]Failed to deploy web package to App Service. 2023-10-06T15:49:21.7963263Z ##[warning]Can’t find loc string for key: KuduStackTraceURL 2023-10-06T15:49:21.7965704Z ##[error]KuduStackTraceURL https://$appname:***@appname/api/vfs/LogFiles/kudu/trace 2023-10-06T15:49:21.7967528Z ##[error]Error: Error: Failed to deploy web package to App Service. Conflict (CODE: 500)
while runing realease build pipeline I am getting this error …Any help will be appreciable