Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Azure Functions - Can't find loc string for key: KuduStackTraceURL #20877

Open
1 of 7 tasks
nchhabradev opened this issue Feb 23, 2025 · 2 comments
Open
1 of 7 tasks

Comments

@nchhabradev
Copy link

New issue checklist

Task name

No response

Task version

No response

Issue Description

A bug happened!2025-02-21T22:13:07.0445198Z ##[section]Starting: Deploy Azure Function
2025-02-21T22:13:07.0455618Z ==============================================================================
2025-02-21T22:13:07.0456183Z Task : Azure Functions
2025-02-21T22:13:07.0456334Z Description : Update a function app with .NET, Python, JavaScript, PowerShell, Java based web applications
2025-02-21T22:13:07.0456512Z Version : 1.247.1
2025-02-21T22:13:07.0456677Z Author : Microsoft Corporation
2025-02-21T22:13:07.0456811Z Help : https://aka.ms/azurefunctiontroubleshooting
2025-02-21T22:13:07.0456965Z ==============================================================================
2025-02-21T22:13:07.8319770Z Got service connection details for Azure App Service:'cargocustomer-test-func-win'
2025-02-21T22:13:10.0264205Z NOTE: Skipping AzureWebJobsStorage connection string validation since Key Vault reference is used.
2025-02-21T22:13:10.0717091Z Updating App Service Application settings. Data: {"WEBSITE_RUN_FROM_PACKAGE":"1"}
2025-02-21T22:13:10.0721953Z Deleting App Service Application settings. Data: ["WEBSITE_RUN_FROM_ZIP"]
2025-02-21T22:13:10.0722816Z App Service Application settings are already present.
2025-02-21T22:13:10.4159625Z Validating deployment package for functions app before Zip Deploy
2025-02-21T22:13:10.5576256Z Package deployment using ZIP Deploy initiated.
2025-02-21T22:13:10.7123420Z ##[error]Failed to deploy web package to App Service.
2025-02-21T22:13:10.7133671Z ##[warning]Can't find loc string for key: KuduStackTraceURL
2025-02-21T22:13:10.7137651Z ##[error]KuduStackTraceURL https://$cargocustomer-test-func-win:***@cargocustomer-test-func-win.scm.azurewebsites.net/api/vfs/LogFiles/kudu/trace
2025-02-21T22:13:10.7140121Z ##[error]Error: Error: Failed to deploy web package to App Service. Ip Forbidden (CODE: 403)
2025-02-21T22:13:11.4380476Z App Service Application URL: https://cargocustomer-test-func-win.azurewebsites.net
2025-02-21T22:13:11.4489477Z ##[section]Finishing: Deploy Azure Function

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Azure function app v4

Relevant log output

A bug happened!2025-02-21T22:13:07.0445198Z ##[section]Starting: Deploy Azure Function
2025-02-21T22:13:07.0455618Z ==============================================================================
2025-02-21T22:13:07.0456183Z Task         : Azure Functions
2025-02-21T22:13:07.0456334Z Description  : Update a function app with .NET, Python, JavaScript, PowerShell, Java based web applications
2025-02-21T22:13:07.0456512Z Version      : 1.247.1
2025-02-21T22:13:07.0456677Z Author       : Microsoft Corporation
2025-02-21T22:13:07.0456811Z Help         : https://aka.ms/azurefunctiontroubleshooting
2025-02-21T22:13:07.0456965Z ==============================================================================
2025-02-21T22:13:07.8319770Z Got service connection details for Azure App Service:'cargocustomer-test-func-win'
2025-02-21T22:13:10.0264205Z NOTE: Skipping AzureWebJobsStorage connection string validation since Key Vault reference is used.
2025-02-21T22:13:10.0717091Z Updating App Service Application settings. Data: {"WEBSITE_RUN_FROM_PACKAGE":"1"}
2025-02-21T22:13:10.0721953Z Deleting App Service Application settings. Data: ["WEBSITE_RUN_FROM_ZIP"]
2025-02-21T22:13:10.0722816Z App Service Application settings are already present.
2025-02-21T22:13:10.4159625Z Validating deployment package for functions app before Zip Deploy
2025-02-21T22:13:10.5576256Z Package deployment using ZIP Deploy initiated.
2025-02-21T22:13:10.7123420Z ##[error]Failed to deploy web package to App Service.
2025-02-21T22:13:10.7133671Z ##[warning]Can't find loc string for key: KuduStackTraceURL
2025-02-21T22:13:10.7137651Z ##[error]KuduStackTraceURL https://$cargocustomer-test-func-win:***@cargocustomer-test-func-win.scm.azurewebsites.net/api/vfs/LogFiles/kudu/trace
2025-02-21T22:13:10.7140121Z ##[error]Error: Error: Failed to deploy web package to App Service. Ip Forbidden (CODE: 403)
2025-02-21T22:13:11.4380476Z App Service Application URL: https://cargocustomer-test-func-win.azurewebsites.net
2025-02-21T22:13:11.4489477Z ##[section]Finishing: Deploy Azure Function

Full task logs with system.debug enabled

 [REPLACE THIS WITH YOUR INFORMATION] 

Repro steps

@v-schhabra
Copy link
Contributor

Hi @nchhabradev
Could you please add the "system.debug" to "true" and share the complete pipeline failure logs?

@v-schhabra v-schhabra self-assigned this Feb 26, 2025
@v-schhabra
Copy link
Contributor

Hi @nchhabradev
Could you please share the complete pipeline logs?
We need your logs to investigate this issue further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants