gpt4 book ai didi

tfs - 被服务器 TFS 错误拒绝

转载 作者:行者123 更新时间:2023-12-03 02:52:40 32 4
gpt4 key购买 nike

我正在构建一个应用程序,但出现错误。有人可以帮助我了解如何解决这个问题吗?

Exception Message: The request was rejected by the server.Technical information: HTTP code 400: Bad Request (type TeamFoundationServerInvalidRequestException)Exception Stack Trace:
at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.ReadResponse(HttpWebResponse webResponse, WebException webException) at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.IsAuthenticationChallenge(TfsMessage requestMessage, HttpWebResponse webResponse, WebException webException, TfsMessage& responseMessage) at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequest() at Microsoft.TeamFoundation.Client.Channels.TfsHttpRequestChannel.Request(TfsMessage message, TimeSpan timeout) at Microsoft.TeamFoundation.Client.Channels.TfsHttpRetryChannel.Request(TfsMessage message, TimeSpan timeout) at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs)
at Microsoft.TeamFoundation.TestImpact.Client.TestImpactServer.Microsoft.TeamFoundation.TestImpact.Client.ITestImpactServer.PublishBuildChanges(Uri buildUri, CodeChange[] changes) at Microsoft.TeamFoundation.TestImpact.BuildIntegration.BuildActivities.GetImpactedTests.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)Inner Exception Details:Exception Message: The remote server returned an error: (400) Bad Request. (type WebException)Status: ProtocolErrorResponse Status Code: BadRequestResponse Status Message: Bad RequestException Stack Trace:
at System.Net.HttpWebRequest.GetResponse()

最佳答案

我刚刚在 TFS2013 和我们的 CI 构建中遇到了同样的问题。

似乎该错误是由于测试影响分析器以某种方式失败而发生的。

您可以更改构建配置以不分析测试影响。

这取决于您使用的构建模板,但对于 Scrum 2013,您可以在下面找到它它位于:流程 > 测试 > 高级 > 分析测试影响 - 将其设置为 false

关于tfs - 被服务器 TFS 错误拒绝,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19184744/

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