Skip to content

Request to fix error related to KuduStackTraceURL #276

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

Closed
FinVamp1 opened this issue Feb 6, 2024 · 2 comments
Closed

Request to fix error related to KuduStackTraceURL #276

FinVamp1 opened this issue Feb 6, 2024 · 2 comments

Comments

@FinVamp1
Copy link

FinVamp1 commented Feb 6, 2024

#217 was opened to try and address this.
I think the issue here is that it was added at the wrong level.

common-npm-packages/azure-arm-rest/Strings/resources.resjson/en-US/resources.resjson

Whereas it should be added at https://github.com/microsoft/azure-pipelines-tasks-common-packages/blob/main/common-npm-packages/azurermdeploycommon/azure-arm-rest/Strings/resources.resjson/en-US/resources.resjson and is still missing from there.

The Task imports it from here.

 catch(error) {
        let stackTraceUrl:string = this._appServiceKuduService.getKuduStackTraceUrl();
        tl.error(tl.loc('PackageDeploymentFailed'));
        tl.error(tl.loc('KuduStackTraceURL', stackTraceUrl));
        throw Error(error);
    }

import { Kudu } from 'azure-pipelines-tasks-azure-arm-rest/azure-arm-app-service-kudu';

Can you please look at this again?

It is happening still. From the last 30 days.

WarningMessage TaskVersion count_
Can't find loc string for key: KuduStackTraceURL 1.231.0 6662
Can't find loc string for key: KuduStackTraceURL 2.231.0 3300

@v-mohithgc
Copy link
Contributor

Hi @FinVamp1 , the PR for the proposed changes is merged #277 and the new version of azure-pipelines-tasks-azurermdeploycommon (3.235.0) is out.
Please proceed with next step of actions from the task end.
Thank you.

@ajklotz
Copy link

ajklotz commented Feb 21, 2024

We have a web application being deployed to our CI environment that is facing this error:

2024-02-21T15:15:39.5508142Z ##[error]Failed to deploy web package to App Service.
2024-02-21T15:15:39.5509205Z ##[warning]Can't find loc string for key: KuduStackTraceURL
2024-02-21T15:15:39.5510272Z ##[error]KuduStackTraceURL https://******.scm.azurewebsites.net/api/vfs/LogFiles/kudu/trace
2024-02-21T15:15:39.5511581Z ##[error]Error: Package deployment using ZIP Deploy failed. Refer logs for more details.

Edit: I was able to resolve my problem (for now) by toggling the 'Select deployment option' in the release task. Made a comment about this in the other issue mentioned above.

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

No branches or pull requests

3 participants