[英]Unable to connect build service to TFS2013: Error TF30063 You are not authorized
I have TFS 2013 Update 3 installed on a machine and I'm trying to configure the TFS Build service on another machine on the same domain. 我在一台计算机上安装了TFS 2013 Update 3,并且试图在同一域的另一台计算机上配置TFS Build服务。 The registration of the build service completes successfully but the service, controller, and build agents go into an endless start/stop/restart loop.
构建服务的注册成功完成,但是服务,控制器和构建代理进入了无限的启动/停止/重新启动循环。 The event viewer on the build machine gives the following error in the Build Services Operational log:
生成机器上的事件查看器在“生成服务操作”日志中给出以下错误:
Build machine 'x' lost connectivity to message queue tfsmq://buildservicehost-18/.
Reason: TF30063: You are not authorized to access http://tfs2013:8080/tfs/defaultcollection.
Things I have tried: 我尝试过的事情:
The domain account I tried to use was in the build service account group for the collection and I've even tried putting it in the admin group. 我尝试使用的域帐户位于集合的构建服务帐户组中,甚至尝试将其放入管理组中。 I also tried running it as my own domain account which is a tfs admin and domain admin account.
我也尝试将其作为自己的域帐户(tfs管理员和域管理员帐户)运行。 All with the same results.
所有结果相同。 The fact that this occurred on 2 different machines, one with a completely fresh everything install leads me to believe the problem is on the TFS application tier itself but I have no idea where to go from here.
这是在2台不同的机器上发生的,其中一台机器安装了全新的东西,这使我相信问题出在TFS应用程序层本身,但我不知道从何而来。 Visual studio is able to connect to TFS just fine for all users.
Visual Studio能够连接到TFS,适合所有用户。
It sounds like you have a TFS 2012 server that you are trying to connect a TFS 2013 build agent to. 听起来您有尝试将TFS 2013构建代理连接到的TFS 2012服务器。 This is not a supported configuration.
这不是受支持的配置。
It is recommended that your build Agents version of TFS matched the version on the server. 建议您的TFS的构建代理版本与服务器上的版本匹配。 This does not mean that you can't build with any version of MSBuild or VS that you want on that agent.
这并不意味着您不能使用要在该代理上使用的任何版本的MSBuild或VS进行构建。 That's configuration.
这就是配置。
I ended up resolving this by doing the following: 我最终通过执行以下操作解决了这个问题:
This worked fine and didn't cause me to lose anything. 这个工作正常,并没有导致我损失任何东西。 I still don't understand why I was having problems in the first place but my only guess is that it was some type of remnant from doing a migration based upgrade from TFS 2010.
我仍然不明白为什么我最初会遇到问题,但是我唯一的猜测是,从TFS 2010进行基于迁移的升级是某种形式的残留。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.