question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cryptic error when attempting to publish symbols to on-premises TFS

See original GitHub issue

Required Information

Type: Bug Enter Task Name: Index Sources & Publish Symbols

Environment

  • Server - TFS on-premises?

    • If using TFS on-premises, provide the version: 17.143.28912.1
  • Agent - Private

    • If using private agent, provide the OS of the machine running the agent and the agent version:
Capability name Capability value
Agent.OS Windows_NT
Agent.OSVersion 10.0.14393
Agent.Version 2.131.0

Issue Description

Running the task results in the described error. Looking at the task code, the following execution flow emerges:

  1. The code reaches https://github.com/microsoft/azure-pipelines-tasks/blob/c5de8d6beb30280eae54e6f0c2a17bb59ad98d92/Tasks/PublishSymbolsV2/PublishSymbols.ps1#L175-L177 and discovers that there is no account name, no PAT and Aad is not used.
  2. So, the code executes https://github.com/microsoft/azure-pipelines-tasks/blob/c5de8d6beb30280eae54e6f0c2a17bb59ad98d92/Tasks/PublishSymbolsV2/PublishSymbols.ps1#L19-L20, sending an unauthenticated request to the on-premises Azure DevOps server.

This is strange. I would expect it at least to pass -UseDefaultCredentials. As it is now, the request is aborted, which is totally expected.

In effect, it makes it impossible to publish symbols to the on premises Azure DevOps server.

Task logs

log_6_588891.zip

Error logs

TF400813: Resource not available for anonymous access. Client authentication required. - Azure DevOps Server

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:20 (8 by maintainers)

github_iconTop GitHub Comments

5reactions
MarkKharitonovcommented, Sep 14, 2021

I do not have the reopen button. It is to create it from scratch. I would not bother, they seem to ignore our issues anyway…

3reactions
MarkKharitonovcommented, Apr 7, 2020

Is there any progress on this bug? Should I open a Microsoft Support case to attract attention? Or maybe spam my entire organisation begging for developers to upvote this issue? Can the poor folks stuck with on-prem get some loving finally?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error while using "Index sources and publish symbols" task in ...
Trying to use "Index sources and publish symbols" in our Builds. We are facing below error-. TF400813: Resource not available for anonymous access....
Read more >
DevOps on Azure on Twitter: "@roukebroersma We're back! Our ...
Cryptic error when attempting to publish symbols to on-premises TFS · Issue ... If using TFS on-premises, provide the version: 17.143.28912.1 Agent -...
Read more >
Publish symbols with Azure Pipelines - Microsoft Learn
With Azure Pipelines, you can publish your symbols to Azure Artifacts symbol server using the Index sources and publish symbols task. You can ......
Read more >
TFS 2018 Update 2 Failure using VSTS Symbol Server
On-prem TFS does not support using a package management feed as a symbol server. You will have to publish the symbols to a...
Read more >
vocab.txt · tfshaman/distilbert-base-uncased-finetuned-clinc at main
Log In · Sign Up · tfshaman. /. distilbert-base-uncased-finetuned-clinc. Copied. like 0. Text Classification PyTorch TensorBoard Transformers.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found