带有异常消息的 TFS 2013 生成错误:找到(类型 VssServiceResponseException)

TFS 2013 build error with Exception Message: Found (type VssServiceResponseException)

排队新版本时出现以下错误。我没有找到很多关于此 'found' 异常的文档。有人可以帮我解决这个问题吗

TF215097: An error occurred while initializing a build for build definition \Adhoc build: 
Exception Message: One or more errors occurred. (type AggregateException)
Exception Stack Trace:    at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at Microsoft.VisualStudio.Services.Client.VssServerDataProvider.CheckForServerUpdates()
   at Microsoft.VisualStudio.Services.Client.VssServerDataProvider.GetResourceLocations(Guid serviceOwner)
   at Microsoft.VisualStudio.Services.Client.VssConnection.GetClientInstance(Type managedType)
   at Microsoft.VisualStudio.Services.Client.VssConnection.GetClientServiceImpl(Type requestedType, Func`2 getInstance)
   at Microsoft.TeamFoundation.Client.TfsConnection.GetClientT
   at Microsoft.TeamFoundation.Build.Client.FileContainerHelper.GetFile(TfsTeamProjectCollection projectCollection, String itemPath, Stream outputStream)
   at Microsoft.TeamFoundation.Build.Client.FileContainerHelper.GetFileAsString(TfsTeamProjectCollection projectCollection, String itemPath)
   at Microsoft.TeamFoundation.Build.Client.ProcessTemplate.Download(String sourceGetVersion)
   at Microsoft.TeamFoundation.Build.Hosting.BuildControllerWorkflowManager.PrepareRequestForBuild(WorkflowManagerActivity activity, IBuildDetail build, WorkflowRequest request, IDictionary`2 dataContext)
   at Microsoft.TeamFoundation.Build.Hosting.BuildWorkflowManager.TryStartWorkflow(WorkflowRequest request, WorkflowManagerActivity activity, BuildWorkflowInstance& workflowInstance, Exception& error, Boolean& syncLockTaken)

Inner Exception Details:

Exception Message: Found (type VssServiceResponseException)
Exception Stack Trace:    at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponse(HttpResponseMessage response)
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__a.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__2`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.<GetConnectionDataAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Client.VssServerDataProvider.<ConnectAsync>d__6.MoveNext()

我找到了问题和解决方案,因此回答了我自己的问题以帮助其他人。

似乎是 TFS 服务器中的互联网连接问题,此块构建模板下载。从下面的论坛得到答案

http://www.totaldotnet.com/sub/tfs-2013-inner-exception-message-found-type-vssserviceresponseexception