Cryptic error when attempting to publish symbols to on-premises TFS
See original GitHub issueRequired 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:
- 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.
- 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
Error logs
TF400813: Resource not available for anonymous access. Client authentication required. - Azure DevOps Server
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:20 (8 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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…
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?