gpt4 book ai didi

需要 Azure 发布管道身份验证

转载 作者:行者123 更新时间:2023-12-05 04:43:40 27 4
gpt4 key购买 nike

我们有一些使用 Azure DevOps 发布管道部署到的现场服务器。我们已经使用这些发布管道几个月了,没有出现任何问题。今天,我们在下载该项目的工件时开始出现身份验证错误。

部署组中的节点显示在线,构建管道成功,但当我们尝试部署任何内容时,它显示以下错误。我们甚至尝试为我们的一个应用程序在每台服务器上完全重新配置 Azure 代理,以确保某些访问 token 没有过期或其他原因,但它仍然给出以下错误。除了“需要身份验证”之外,没有详细说明错误是什么。谷歌搜索也毫无结果。什么可能会导致“下载工件”阶段出现身份验证错误?

已提交给 Microsoft 的票证,除了建议跳过下载工件(这不起作用)之外,没有任何建议。

Authentication Required Error

更新:该部署适用于我的家庭电脑和我的本地工作电脑,因此问题似乎仅限于我们的网络服务器。这是启用 System.Debug 的日志。似乎没有什么帮助,但我可能错过了一些东西。

2021-10-18T20:44:18.1399175Z ##[debug]Evaluating condition for step: 'Download artifact - _myproject - _myproject'
2021-10-18T20:44:18.1439702Z ##[debug]Evaluating: succeeded()
2021-10-18T20:44:18.1445026Z ##[debug]Evaluating succeeded:
2021-10-18T20:44:18.1483132Z ##[debug]=> True
2021-10-18T20:44:18.1491321Z ##[debug]Result: True
2021-10-18T20:44:18.1532198Z ##[section]Starting: Download artifact - _myproject - _myproject
2021-10-18T20:44:18.1961448Z ==============================================================================
2021-10-18T20:44:18.1961906Z Task : Download pipeline artifact
2021-10-18T20:44:18.1962269Z Description : Download a named artifact from a pipeline to a local path
2021-10-18T20:44:18.1962470Z Version : 1.2.5
2021-10-18T20:44:18.1962782Z Author : Microsoft Corporation
2021-10-18T20:44:18.1963334Z Help : Download a named artifact from a pipeline to a local path
2021-10-18T20:44:18.1963578Z ==============================================================================
2021-10-18T20:44:18.4789044Z Download from the specified build: #2263
2021-10-18T20:44:18.4791191Z Download artifact to: D:\azagent\myproject\_work\r1\a/_myproject/_myproject
2021-10-18T20:44:18.8728223Z Verbose, [CreateDedupManifestClientAsync] Try 1/5, retryable exception caught. Retrying in 00:00:01. Microsoft.VisualStudio.Services.WebApi.VssServiceResponseException: Authentication Required
2021-10-18T20:44:18.8729052Z at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponseAsync(HttpResponseMessage response, CancellationToken cancellationToken)
2021-10-18T20:44:18.8729972Z at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpRequestMessage message, HttpCompletionOption completionOption, Object userState, CancellationToken cancellationToken)
2021-10-18T20:44:18.8730690Z at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync[T](HttpRequestMessage message, Object userState, CancellationToken cancellationToken)
2021-10-18T20:44:18.8731302Z at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.GetConnectionDataAsync(ConnectOptions connectOptions, Int64 lastChangeId, CancellationToken cancellationToken, Object userState)
2021-10-18T20:44:18.8731978Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.GetConnectionDataAsync(ConnectOptions connectOptions, Int32 lastChangeId, CancellationToken cancellationToken)
2021-10-18T20:44:18.8732555Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.ConnectAsync(ConnectOptions connectOptions, CancellationToken cancellationToken)
2021-10-18T20:44:18.8733094Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.EnsureConnectedAsync(ConnectOptions optionsNeeded, CancellationToken cancellationToken)
2021-10-18T20:44:18.8733663Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.CheckForServerUpdatesAsync(CancellationToken cancellationToken)
2021-10-18T20:44:18.8734201Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.FindServiceDefinitionAsync(String serviceType, Guid serviceIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:18.8734958Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.LocationForCurrentConnectionAsync(String serviceType, Guid serviceIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:18.8735519Z at Microsoft.VisualStudio.Services.WebApi.Location.LocationService.ResolveLocationDataAsync(Guid locationAreaIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:18.8736036Z at Microsoft.VisualStudio.Services.WebApi.Location.LocationService.GetLocationDataAsync(Guid locationAreaIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:18.8736631Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClientInstanceAsync(Type managedType, Guid serviceIdentifier, CancellationToken cancellationToken, VssHttpRequestSettings settings, DelegatingHandler[] handlers)
2021-10-18T20:44:18.8737255Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClientServiceImplAsync(Type requestedType, Guid serviceIdentifier, Func`4 getInstanceAsync, CancellationToken cancellationToken)
2021-10-18T20:44:18.8738854Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClientAsync[T](CancellationToken cancellationToken)
2021-10-18T20:44:18.8739525Z at Microsoft.VisualStudio.Services.WebApi.TaskExtensions.SyncResult[T](Task`1 task)
2021-10-18T20:44:18.8739923Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClient[T]()
2021-10-18T20:44:18.8740372Z at Microsoft.VisualStudio.Services.Agent.Blob.DedupManifestArtifactClientFactory.<>c__DisplayClass2_0.<CreateDedupManifestClientAsync>b__0()
2021-10-18T20:44:18.8740847Z at Microsoft.VisualStudio.Services.Content.Common.AsyncHttpRetryHelper`1.InvokeAsync(CancellationToken cancellationToken)
2021-10-18T20:44:18.8741215Z Verbose, Details:
2021-10-18T20:44:18.8741600Z No LastRequestResponse on exception VssServiceResponseException: Authentication Required
2021-10-18T20:44:19.9351139Z Verbose, [CreateDedupManifestClientAsync] Try 2/5, retryable exception caught. Retrying in 00:00:02.0448362. Microsoft.VisualStudio.Services.WebApi.VssServiceResponseException: Authentication Required
2021-10-18T20:44:19.9352093Z at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponseAsync(HttpResponseMessage response, CancellationToken cancellationToken)
2021-10-18T20:44:19.9352734Z at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpRequestMessage message, HttpCompletionOption completionOption, Object userState, CancellationToken cancellationToken)
2021-10-18T20:44:19.9353423Z at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync[T](HttpRequestMessage message, Object userState, CancellationToken cancellationToken)
2021-10-18T20:44:19.9354090Z at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.GetConnectionDataAsync(ConnectOptions connectOptions, Int64 lastChangeId, CancellationToken cancellationToken, Object userState)
2021-10-18T20:44:19.9354714Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.GetConnectionDataAsync(ConnectOptions connectOptions, Int32 lastChangeId, CancellationToken cancellationToken)
2021-10-18T20:44:19.9355275Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.ConnectAsync(ConnectOptions connectOptions, CancellationToken cancellationToken)
2021-10-18T20:44:19.9355818Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.EnsureConnectedAsync(ConnectOptions optionsNeeded, CancellationToken cancellationToken)
2021-10-18T20:44:19.9356323Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.CheckForServerUpdatesAsync(CancellationToken cancellationToken)
2021-10-18T20:44:19.9356861Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.FindServiceDefinitionAsync(String serviceType, Guid serviceIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:19.9357434Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.LocationForCurrentConnectionAsync(String serviceType, Guid serviceIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:19.9358243Z at Microsoft.VisualStudio.Services.WebApi.Location.LocationService.ResolveLocationDataAsync(Guid locationAreaIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:19.9358773Z at Microsoft.VisualStudio.Services.WebApi.Location.LocationService.GetLocationDataAsync(Guid locationAreaIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:19.9359406Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClientInstanceAsync(Type managedType, Guid serviceIdentifier, CancellationToken cancellationToken, VssHttpRequestSettings settings, DelegatingHandler[] handlers)
2021-10-18T20:44:19.9360043Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClientServiceImplAsync(Type requestedType, Guid serviceIdentifier, Func`4 getInstanceAsync, CancellationToken cancellationToken)
2021-10-18T20:44:19.9361138Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClientAsync[T](CancellationToken cancellationToken)
2021-10-18T20:44:19.9361660Z at Microsoft.VisualStudio.Services.WebApi.TaskExtensions.SyncResult[T](Task`1 task)
2021-10-18T20:44:19.9362070Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClient[T]()
2021-10-18T20:44:19.9362498Z at Microsoft.VisualStudio.Services.Agent.Blob.DedupManifestArtifactClientFactory.<>c__DisplayClass2_0.<CreateDedupManifestClientAsync>b__0()
2021-10-18T20:44:19.9363016Z at Microsoft.VisualStudio.Services.Content.Common.AsyncHttpRetryHelper`1.InvokeAsync(CancellationToken cancellationToken)
2021-10-18T20:44:19.9363388Z Verbose, Details:
2021-10-18T20:44:19.9363777Z No LastRequestResponse on exception VssServiceResponseException: Authentication Required
2021-10-18T20:44:22.0672040Z Verbose, [CreateDedupManifestClientAsync] Try 3/5, retryable exception caught. Retrying in 00:00:04.3215402. Microsoft.VisualStudio.Services.WebApi.VssServiceResponseException: Authentication Required
2021-10-18T20:44:22.0675355Z at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponseAsync(HttpResponseMessage response, CancellationToken cancellationToken)
2021-10-18T20:44:22.0677878Z at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpRequestMessage message, HttpCompletionOption completionOption, Object userState, CancellationToken cancellationToken)
2021-10-18T20:44:22.0679896Z at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync[T](HttpRequestMessage message, Object userState, CancellationToken cancellationToken)
2021-10-18T20:44:22.0681705Z at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.GetConnectionDataAsync(ConnectOptions connectOptions, Int64 lastChangeId, CancellationToken cancellationToken, Object userState)
2021-10-18T20:44:22.0683412Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.GetConnectionDataAsync(ConnectOptions connectOptions, Int32 lastChangeId, CancellationToken cancellationToken)
2021-10-18T20:44:22.0685178Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.ConnectAsync(ConnectOptions connectOptions, CancellationToken cancellationToken)
2021-10-18T20:44:22.0687056Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.EnsureConnectedAsync(ConnectOptions optionsNeeded, CancellationToken cancellationToken)
2021-10-18T20:44:22.0688698Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.CheckForServerUpdatesAsync(CancellationToken cancellationToken)
2021-10-18T20:44:22.0690182Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.FindServiceDefinitionAsync(String serviceType, Guid serviceIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:22.0691833Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.LocationForCurrentConnectionAsync(String serviceType, Guid serviceIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:22.0694193Z at Microsoft.VisualStudio.Services.WebApi.Location.LocationService.ResolveLocationDataAsync(Guid locationAreaIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:22.0695575Z at Microsoft.VisualStudio.Services.WebApi.Location.LocationService.GetLocationDataAsync(Guid locationAreaIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:22.0697636Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClientInstanceAsync(Type managedType, Guid serviceIdentifier, CancellationToken cancellationToken, VssHttpRequestSettings settings, DelegatingHandler[] handlers)
2021-10-18T20:44:22.0699432Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClientServiceImplAsync(Type requestedType, Guid serviceIdentifier, Func`4 getInstanceAsync, CancellationToken cancellationToken)
2021-10-18T20:44:22.0700506Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClientAsync[T](CancellationToken cancellationToken)
2021-10-18T20:44:22.0701793Z at Microsoft.VisualStudio.Services.WebApi.TaskExtensions.SyncResult[T](Task`1 task)
2021-10-18T20:44:22.0702700Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClient[T]()
2021-10-18T20:44:22.0703611Z at Microsoft.VisualStudio.Services.Agent.Blob.DedupManifestArtifactClientFactory.<>c__DisplayClass2_0.<CreateDedupManifestClientAsync>b__0()
2021-10-18T20:44:22.0704534Z at Microsoft.VisualStudio.Services.Content.Common.AsyncHttpRetryHelper`1.InvokeAsync(CancellationToken cancellationToken)
2021-10-18T20:44:22.0705338Z Verbose, Details:
2021-10-18T20:44:22.0706254Z No LastRequestResponse on exception VssServiceResponseException: Authentication Required
2021-10-18T20:44:26.4694926Z Verbose, [CreateDedupManifestClientAsync] Try 4/5, retryable exception caught. Retrying in 00:00:07.4023007. Microsoft.VisualStudio.Services.WebApi.VssServiceResponseException: Authentication Required
2021-10-18T20:44:26.4696834Z at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponseAsync(HttpResponseMessage response, CancellationToken cancellationToken)
2021-10-18T20:44:26.4697595Z at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpRequestMessage message, HttpCompletionOption completionOption, Object userState, CancellationToken cancellationToken)
2021-10-18T20:44:26.4698258Z at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync[T](HttpRequestMessage message, Object userState, CancellationToken cancellationToken)
2021-10-18T20:44:26.4698938Z at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.GetConnectionDataAsync(ConnectOptions connectOptions, Int64 lastChangeId, CancellationToken cancellationToken, Object userState)
2021-10-18T20:44:26.4699631Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.GetConnectionDataAsync(ConnectOptions connectOptions, Int32 lastChangeId, CancellationToken cancellationToken)
2021-10-18T20:44:26.4700281Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.ConnectAsync(ConnectOptions connectOptions, CancellationToken cancellationToken)
2021-10-18T20:44:26.4700879Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.EnsureConnectedAsync(ConnectOptions optionsNeeded, CancellationToken cancellationToken)
2021-10-18T20:44:26.4701470Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.CheckForServerUpdatesAsync(CancellationToken cancellationToken)
2021-10-18T20:44:26.4702073Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.FindServiceDefinitionAsync(String serviceType, Guid serviceIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:26.4702761Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.LocationForCurrentConnectionAsync(String serviceType, Guid serviceIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:26.4703411Z at Microsoft.VisualStudio.Services.WebApi.Location.LocationService.ResolveLocationDataAsync(Guid locationAreaIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:26.4704322Z at Microsoft.VisualStudio.Services.WebApi.Location.LocationService.GetLocationDataAsync(Guid locationAreaIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:26.4705006Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClientInstanceAsync(Type managedType, Guid serviceIdentifier, CancellationToken cancellationToken, VssHttpRequestSettings settings, DelegatingHandler[] handlers)
2021-10-18T20:44:26.4705725Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClientServiceImplAsync(Type requestedType, Guid serviceIdentifier, Func`4 getInstanceAsync, CancellationToken cancellationToken)
2021-10-18T20:44:26.4706315Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClientAsync[T](CancellationToken cancellationToken)
2021-10-18T20:44:26.4706760Z at Microsoft.VisualStudio.Services.WebApi.TaskExtensions.SyncResult[T](Task`1 task)
2021-10-18T20:44:26.4707247Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClient[T]()
2021-10-18T20:44:26.4707735Z at Microsoft.VisualStudio.Services.Agent.Blob.DedupManifestArtifactClientFactory.<>c__DisplayClass2_0.<CreateDedupManifestClientAsync>b__0()
2021-10-18T20:44:26.4708278Z at Microsoft.VisualStudio.Services.Content.Common.AsyncHttpRetryHelper`1.InvokeAsync(CancellationToken cancellationToken)
2021-10-18T20:44:26.4708663Z Verbose, Details:
2021-10-18T20:44:26.4709048Z No LastRequestResponse on exception VssServiceResponseException: Authentication Required
2021-10-18T20:44:33.9617890Z Verbose, [CreateDedupManifestClientAsync] Try 5/5, retryable exception caught. Retrying in 00:00:13.8309011. Microsoft.VisualStudio.Services.WebApi.VssServiceResponseException: Authentication Required
2021-10-18T20:44:33.9619853Z at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponseAsync(HttpResponseMessage response, CancellationToken cancellationToken)
2021-10-18T20:44:33.9620854Z at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpRequestMessage message, HttpCompletionOption completionOption, Object userState, CancellationToken cancellationToken)
2021-10-18T20:44:33.9622449Z at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync[T](HttpRequestMessage message, Object userState, CancellationToken cancellationToken)
2021-10-18T20:44:33.9624109Z at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.GetConnectionDataAsync(ConnectOptions connectOptions, Int64 lastChangeId, CancellationToken cancellationToken, Object userState)
2021-10-18T20:44:33.9624968Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.GetConnectionDataAsync(ConnectOptions connectOptions, Int32 lastChangeId, CancellationToken cancellationToken)
2021-10-18T20:44:33.9626162Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.ConnectAsync(ConnectOptions connectOptions, CancellationToken cancellationToken)
2021-10-18T20:44:33.9628510Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.EnsureConnectedAsync(ConnectOptions optionsNeeded, CancellationToken cancellationToken)
2021-10-18T20:44:33.9629698Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.CheckForServerUpdatesAsync(CancellationToken cancellationToken)
2021-10-18T20:44:33.9630828Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.FindServiceDefinitionAsync(String serviceType, Guid serviceIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:33.9632166Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.LocationForCurrentConnectionAsync(String serviceType, Guid serviceIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:33.9633218Z at Microsoft.VisualStudio.Services.WebApi.Location.LocationService.ResolveLocationDataAsync(Guid locationAreaIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:33.9634309Z at Microsoft.VisualStudio.Services.WebApi.Location.LocationService.GetLocationDataAsync(Guid locationAreaIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:33.9636019Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClientInstanceAsync(Type managedType, Guid serviceIdentifier, CancellationToken cancellationToken, VssHttpRequestSettings settings, DelegatingHandler[] handlers)
2021-10-18T20:44:33.9636772Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClientServiceImplAsync(Type requestedType, Guid serviceIdentifier, Func`4 getInstanceAsync, CancellationToken cancellationToken)
2021-10-18T20:44:33.9637302Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClientAsync[T](CancellationToken cancellationToken)
2021-10-18T20:44:33.9637709Z at Microsoft.VisualStudio.Services.WebApi.TaskExtensions.SyncResult[T](Task`1 task)
2021-10-18T20:44:33.9638034Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClient[T]()
2021-10-18T20:44:33.9639150Z at Microsoft.VisualStudio.Services.Agent.Blob.DedupManifestArtifactClientFactory.<>c__DisplayClass2_0.<CreateDedupManifestClientAsync>b__0()
2021-10-18T20:44:33.9639655Z at Microsoft.VisualStudio.Services.Content.Common.AsyncHttpRetryHelper`1.InvokeAsync(CancellationToken cancellationToken)
2021-10-18T20:44:33.9639980Z Verbose, Details:
2021-10-18T20:44:33.9640279Z No LastRequestResponse on exception VssServiceResponseException: Authentication Required
2021-10-18T20:44:47.8770587Z Verbose, [CreateDedupManifestClientAsync] Try 6/5, retryable exception caught, but retries have been exhausted. Throwing. Microsoft.VisualStudio.Services.WebApi.VssServiceResponseException: Authentication Required
2021-10-18T20:44:47.8771374Z at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponseAsync(HttpResponseMessage response, CancellationToken cancellationToken)
2021-10-18T20:44:47.8771952Z at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpRequestMessage message, HttpCompletionOption completionOption, Object userState, CancellationToken cancellationToken)
2021-10-18T20:44:47.8772597Z at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync[T](HttpRequestMessage message, Object userState, CancellationToken cancellationToken)
2021-10-18T20:44:47.8773209Z at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.GetConnectionDataAsync(ConnectOptions connectOptions, Int64 lastChangeId, CancellationToken cancellationToken, Object userState)
2021-10-18T20:44:47.8773846Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.GetConnectionDataAsync(ConnectOptions connectOptions, Int32 lastChangeId, CancellationToken cancellationToken)
2021-10-18T20:44:47.8774406Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.ConnectAsync(ConnectOptions connectOptions, CancellationToken cancellationToken)
2021-10-18T20:44:47.8774928Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.EnsureConnectedAsync(ConnectOptions optionsNeeded, CancellationToken cancellationToken)
2021-10-18T20:44:47.8775437Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.CheckForServerUpdatesAsync(CancellationToken cancellationToken)
2021-10-18T20:44:47.8775959Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.FindServiceDefinitionAsync(String serviceType, Guid serviceIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:47.8776553Z at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.LocationForCurrentConnectionAsync(String serviceType, Guid serviceIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:47.8777139Z at Microsoft.VisualStudio.Services.WebApi.Location.LocationService.ResolveLocationDataAsync(Guid locationAreaIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:47.8777674Z at Microsoft.VisualStudio.Services.WebApi.Location.LocationService.GetLocationDataAsync(Guid locationAreaIdentifier, CancellationToken cancellationToken)
2021-10-18T20:44:47.8778529Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClientInstanceAsync(Type managedType, Guid serviceIdentifier, CancellationToken cancellationToken, VssHttpRequestSettings settings, DelegatingHandler[] handlers)
2021-10-18T20:44:47.8779188Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClientServiceImplAsync(Type requestedType, Guid serviceIdentifier, Func`4 getInstanceAsync, CancellationToken cancellationToken)
2021-10-18T20:44:47.8779688Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClientAsync[T](CancellationToken cancellationToken)
2021-10-18T20:44:47.8780073Z at Microsoft.VisualStudio.Services.WebApi.TaskExtensions.SyncResult[T](Task`1 task)
2021-10-18T20:44:47.8780389Z at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClient[T]()
2021-10-18T20:44:47.8780800Z at Microsoft.VisualStudio.Services.Agent.Blob.DedupManifestArtifactClientFactory.<>c__DisplayClass2_0.<CreateDedupManifestClientAsync>b__0()
2021-10-18T20:44:47.8781330Z at Microsoft.VisualStudio.Services.Content.Common.AsyncHttpRetryHelper`1.InvokeAsync(CancellationToken cancellationToken)
2021-10-18T20:44:47.8781651Z Verbose, Details:
2021-10-18T20:44:47.8781946Z No LastRequestResponse on exception VssServiceResponseException: Authentication Required
2021-10-18T20:44:47.8839489Z ##[error]Authentication Required
2021-10-18T20:44:47.8847397Z ##[debug]Processed: ##vso[task.logissue type=error;]Authentication Required
2021-10-18T20:44:47.8855146Z ##[debug]Processed: ##vso[task.complete result=Failed;]
2021-10-18T20:44:47.8862951Z ##[debug] at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponseAsync(HttpResponseMessage response, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpRequestMessage message, HttpCompletionOption completionOption, Object userState, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync[T](HttpRequestMessage message, Object userState, CancellationToken cancellationToken)
at...

最佳答案

看起来原因简单得令人尴尬。某种策略或清理过程将 dev.azure.com 从我们服务器的受信任站点列表中删除。一旦我将其添加回此,它似乎就可以工作。

关于需要 Azure 发布管道身份验证,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69561019/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com