Microsoft.VisualStudio.Services.WebApi.VssServiceResponseException:未知主机

时间:2017-08-01 16:56:51

标签: tfs azure-pipelines

TFS 2015.我正在构建服务器上安装VSO代理。此代理需要在其自己的AD帐户下运行。代理安装正常,但在TFS中显示为脱机。日志包含以下错误:

> 16:32:37.077613
> --------------------------------------------------------------------------- 16:32:37.077613
> Microsoft.VisualStudio.Services.WebApi.VssServiceResponseException:
> Unknown Host
> 
> 16:32:37.077613    at
> Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponse(HttpResponseMessage
> response)
> 
> 16:32:37.077613    at
> Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__79.MoveNext()
> 
> 16:32:37.077613 --- End of stack trace from previous location where
> exception was thrown ---
> 
> 16:32:37.077613    at
> System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
> 
> 16:32:37.077613    at
> System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
> task)
> 
> 16:32:37.077613    at
> Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__76`1.MoveNext()
> 
> 16:32:37.077613 --- End of stack trace from previous location where
> exception was thrown ---
> 
> 16:32:37.077613    at
> System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

当我在网络服务帐户下的管理员帐户下运行代理时,它会联机。此外,在这些情况下,上述异常不会出现在日志中。我将服务帐户用户添加到服务池的Agent Pool AdministartorAgent pool Service Account组,但这没有帮助。它错过了哪些权限?

0 个答案:

没有答案