-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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]: Cannot deploy to function app through DevOps. Can't find loc string for key: KuduStackTraceURL #19077
Comments
Hi @mohibakhan are you facing this error intermittently? |
I received this same error on initial setup of our deploy |
if I'm not wrong, there was a potential fix for this issue which was shipped in version 228. Thanks |
I've just started seeing this problem with deployments this afternoon, been doing multiple deployments every day up to now with no issues. |
I am not seeing this error now. |
Still I'm getting this error while deploying the ZIP package to Azure Functions. |
Any fixes for the above error.. while runing realease build pipeline I am getting this error ..Any help will be appreciable |
did you fix this issue ? I am still facing this issye |
We have the same issue for an Azure Function app in a private network. We are deploying via our custom Windows agent. |
We have recently started to get the same error when deploying standard logic apps via pipelines in devops, "Can't find loc string for key: KuduStackTraceURL". It looks like the actual deployment to Azure succeeds since there is a deployment in Azure with the corresponding date/time. As a temporary fix we manually press the button "Rerun failed jobs"... sometimes a couple of times, but the error should not happen in the first place. |
We have the same issue for an Azure Function in a private network with a private endpoint. We are deploying via our custom Windows agent. I'm using the task : |
I'm also encountering this error with a public Azure function on Windows, with the same Task/Version as above. I have full logs from Devops pipeline, although cannot send them publicly. Please advise how I can provide them to you. |
Same here. Started happening when we added private endpoints. First we had to create a self hosted Agent, that cleared the initial error. Now this was the next error and we can't get past it. Here is the log:
|
We were able to resolve after getting in touch with our Azure admins. They had to add a Private Link to the Network interface properties in Azure: which is at: Each of our Function Apps has its own private endpoint/NIC, so each one needed a Private Link. |
This still seems to be happening so filed microsoft/azure-pipelines-tasks-common-packages#276 From the last 30 days |
Hi all, I was just facing this issue recently after applying some terraform configuration to our environments. In the Azure App Service deploy task, I changed the Deployment method option to Web Deploy or Run from Package seems to resolve the problem. Previously, this option was left unchecked. When unchecked, auto-detect is used. According to the log file, the failed runs occurred during "Zip Deploy". However, even if I chose the 'Run from Package' option, this is very similar to the Zip Deploy method and even mentions it is using the Zip Deploy method in the log output, it works. What's interesting is if I go back and uncheck the 'Select deployment method' option from the task, I no longer get the error. This did this testing using the same build artifacts/same release. Not sure what will happen if I updated files in a branch and built with artifacts that would contain different file contents. But toggling this setting in the release pipeline seems to have did something to make it work better. Not sure if this is worth mentioning in your other issue @FinVamp1 Edit: worth mentioning that this was a problem with a web app, not a function app as some others have mentioned above. |
Mi nombre es Brandon Sepúlveda y en mi trabajo tuve que actualizar una app web desarrollada en Springboot con java 17 en un servidor web app de azure linux, en el primer deploy de mi app web no ocurrieron errores, en la siguiente actualización a través de un pipeline me ocurrió el mismo error que se comenta más arriba. Para solucionar esto, cambié el "Deploy method" a "auto" y me dirigí a mi portal azure, donde está mi app web y le di al botón reiniciar, luego ejecuté manualmente el pipeline y esto funcionó. my linkdin: |
I've been trying to deploy a blazor app, .net 8, through a azure devops yml pipeline, retrying rerun failed jobs doesn't resolve it. I have found a solution described here: |
I hope someone has similar case to ours because this seems to be an error with multiple possible causes. In our case, it turned out to be a non-existing storage pointed ty the WEBSITE_CONTENTAZUREFILECONNECTIONSTRING setting. I suppose it could also be the case if that is not accessible due to firewall. |
Versions 237 of the Functions Task should resolve this. The App Service Task should also be updated. I will check to see if this helps. |
Hi @FinVamp1: I added a comment just now on this bug #18766 both bugs look very similar if not identical. Should I expect a resolution of #18766 also on Versions 237 of Functions task? If so, what is the expected timeline to get that version rolled out and how do we make sure our DevOps pipeline is pulling it? Thanks. |
@olivoarroba I don't think this will necessarily resolve #18766 as I need to investigate where the delay is. |
Thanks @FinVamp1. Can you elaborate on what difference do you see between the two bugs? I'd like to understand better so that I can provide better traces to help on these issues. |
Hello, @olivoarroba I had scoped this issue down to resolving the localized string error and this change rolled out in the 237 version for both v1 and v2 of the task. This has helped with the occurrences of this warning.
A number of the reports on this on issue are referencing "Error: Error: Failed to deploy web package to App Service. Conflict" so I am trying to see what the issue is that people are trying to solve here other than the stack trace error and the deployment failure. For #18766 the v2 task calls zipdeploy/validate and this is where the delay seems to be. If you have an open support case on this then please send me the case number via finbarr at microsoft.com and I'll ask the engineer to escalate to us. I'll try and look at your deployment logs. I'll see what we can do with the timeouts and the app setttings confusion. |
HI @FinVamp1: I sent you an email with the support case number and some information about the issue we are observing, thanks for looking into this. |
I encountered this after switching from .NET 6 In Proc to .NET 8 Isolated, and moved to Flex Consumption. The resolution. was to use AzureFunctionApp@2 instead of AzureFunctionApp@1. |
We still encounter the issue with the current version of the task:
We are trying to deploy to an Azure Function that has been previously created by a Bicep template. The pipeline task is defined as follows: - task: AzureFunctionApp@2
displayName: 'Azure Function App Deploy: ${{ parameters.FunctionName }}'
inputs:
azureSubscription: ${{ parameters.AzureSubscriptionName }}
appType: functionApp
appName: ${{ parameters.FunctionName }}
package: '$(Agent.WorkFolder)/**/${{parameters.ArtifactFileName}}' |
Task name
No response
Task version
No response
Environment type (Please select at least one enviroment where you face this issue)
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
Relevant log output
Aditional info
No response
The text was updated successfully, but these errors were encountered: