TF400813: 资源不可用于匿名访问。需要进行客户端身份验证。
Príkaz Delete pipeline agent:
Ak sa zistí, že vymazanie nie je úspešné, chyba sa nahlási ako vyššie. Podrobný záznam chýb je nasledovný:
[2020-09-08 13:11:34Z WARN VisualStudioServices] Inštancia vydaného poskytovateľa tokenov v základnom 6503226 vyžaduje interaktívnu výzvu, ktorú aktuálne nastavenia neumožňujú [2020-09-08 13:11:34Z ERR VisualStudioServices] GET request tohttps://xx.itsvse.com/_apis/conn ... mp;lastChangeId64=8nie je autorizovaný. Podrobnosti: TF400813: Zdroje nie sú dostupné pre anonymný prístup. Je potrebná autentifikácia klienta. [2020-09-08 13:11:34Z INFO VisualStudioServices] Dokončená prevádzka Location.GetConnectionData [2020-09-08 13:11:34Z INFO terminál] WRITE LINE: Neúspešné: Agent je odstraňovaný zo servera [2020-09-08 13:11:34Z ERR agent] Microsoft.VisualStudio.Services.Common.VssUnauthorizedException: TF400813: Zdroje nie sú dostupné na anonymný prístup. Je potrebná autentifikácia klienta. at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task'1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts) 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 Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.GetConnectionDataAsync(ConnectOptions connectOptions, Int64 lastChangeId, CancellationToken cancellationToken, Object userState) at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.GetConnectionDataAsync(ConnectOptions connectOptions, Int32 lastChangeId, CancellationToken cancellationToken) at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.ConnectAsync(ConnectOptions connectOptions, CancellationToken cancellationToken) at Microsoft.VisualStudio.Services.Agent.LocationServer.ConnectAsync(VssConnection jobConnection) at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.IsHostedServer(String serverUrl, VssCredentials credentials) at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.UnconfigureAsync(CommandSettings command) at Microsoft.VisualStudio.Services.Agent.Listener.Agent.ExecuteCommand(CommandSettings command) [2020-09-08 13:11:34Z ERR terminál] CHYBA ZÁPISU: TF400813: Zdroj nie je dostupný na anonymný prístup. Je potrebná autentifikácia klienta. Použite vsts-agent na pripojenie k Azure DevOps Server 2020 na konfiguráciu proxy klienta a môžete sa prihlásiť cez PAT, Negotiate, Integrated a Alternate.
Dôvodom chyby jeRozhranie Access API neprešlo autentifikáciou, čo spôsobilo, že pipeline agent nemohol bežne vymazať。
riešenie
Otvorte IIS Configuration Manager, nájdite stránku "Azure DevOps Server", nájdite autentifikačnú funkciu, vyberte Windows Authentication, otvorte "Provider" vpravo a vyberte Negotiate-> Pridajte medzi dostupné programy, OK, ako je znázornené na obrázku nižšie:
Spustite príkaz Delete Pipeline Agent znova, zadajte "Negotiate" ako autentifikačný spôsob, zadajte administrátorský účet a heslo a môžete ho úspešne vymazať, ako je znázornené na obrázku nižšie:
(Koniec)
|