TFS 构建代理没有响应

发布于 2024-07-22 07:09:40 字数 704 浏览 10 评论 0原文

我遇到了一个无法解决的问题,详细信息如下:

我在我的 APPTier 和构建代理中使用 TFS2008。 最初,我在 Apptier 服务器中安装了所有内容(包括构建代理),并且我能够在 Apptier(和构建)服务器中启动构建。 现在,我必须在不同的服务器中创建一个新的构建代理。 我在构建机器中安装了 Team Foundation Build(我们将其称为 MyBuildAgent)。 使用 TeamExplorer 创建一个新的构建代理,指向我的构建机器来构建一些项目,但是当我开始构建时,它会抛出以下消息:

TF215085: An error occurred while connecting to agent \myproject\MyBuildAgent: TF215076: Team Foundation Build on computer MyBuildAgent (port 9191) is not responding. (Detail Message: Unable to connect to the remote server)

服务“Visual Studio Team Foundation build”正在我的构建机器中运行,而且,我我能够从 MyBuildAgent 在 Apptier 中启动构建,但无法在 MyBuildAgent 本身中启动构建。

任何人都可以告诉我我做错了什么或者我为了配置新的构建代理而错过了哪些部分?

I came across an issue I can't resolve, here are the details:

I am using TFS2008 in my APPTier and in my Build Agent. Initially I installed everything in the Apptier server (including the build agent), and I was able to start an build in the Apptier(and build) server. Now, I have to create a new Build agent in a different server. I installed the Team Foundation Build in my build machine (lets called it MyBuildAgent). Using TeamExplorer I create a new Build Agent pointing to my build machine for building some project, but when I start the build, it throw the following message:

TF215085: An error occurred while connecting to agent \myproject\MyBuildAgent: TF215076: Team Foundation Build on computer MyBuildAgent (port 9191) is not responding. (Detail Message: Unable to connect to the remote server)

The service "Visual Studio Team Foundation build" is running in my build machine, also, I am able to start an build in the Apptier from the MyBuildAgent, but I can't start an build in MyBuildAgent itself.

Anyone can tell me what I am doing wrong or what part did I miss in order to configure my new build agent?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

沫尐诺 2024-07-29 07:09:40

首先检查您是否可以从应用层 ping 通您的构建机器,以排除简单的网络问题。

其次,检查您是否允许端口 9191 通过构建计算机上的防火墙,您可能需要在 Windows 防火墙中添加显式规则以允许这样做。

Firstly check that you can ping your build machine from the app tier to rule out simple networking issues.

Secondly check that you have allowed port 9191 through the firewall on the build machine, you may need to add an explicit rule into the Windows Firewall to allow this.

风启觞 2024-07-29 07:09:40

要尝试两件事:

1)确保构建服务正在运行。 (在开始->运行中输入Services.msc,找到构建服务并启动它)

2)如果服务已启动,右键单击该服务并选择属性。 转到依赖项选项卡并删除 SSL 依赖项(如果存在)。

参考(链接很长,因为它是由谷歌翻译的):http:// translate.google.com/translate?hl=en&sl=es&u=http://geeks.ms/blogs/elbruno/archive/2008/07/14/tfs-build-error-tf215076-new-status- unreachable.aspx&ei=9gQeSsWMBJOctgPI7vyJCg&sa=X&oi=translate&resnum=5&ct=result&prev=/search%3Fq%3D%2522Team%2BFoundation%2BBuild%2Bon%2Bcomputer%2522%2B%2522Unable%2Bto %2Bconnect%2Bto%2Bthe%2Bremote%2Bserver%2522%26hl%3Den

3) 如果您需要使用 SSL,请查看讨论配置它的链接:http://social.msdn.microsoft.com/forums/en -US/tfsbuild/thread/ae5f2472-dd11-4921-a485-a22aa58bae7e/

A two things to try:

1) Make sure the build service is running. (Type Services.msc in start->run, find the build service and start it)

2) If the Service is started right click on the Service and select properties. Go to the dependencies tab and remove the SSL dependency if it is there.

Reference (Link is long because it is translated by google): http://translate.google.com/translate?hl=en&sl=es&u=http://geeks.ms/blogs/elbruno/archive/2008/07/14/tfs-build-error-tf215076-new-status-unreachable.aspx&ei=9gQeSsWMBJOctgPI7vyJCg&sa=X&oi=translate&resnum=5&ct=result&prev=/search%3Fq%3D%2522Team%2BFoundation%2BBuild%2Bon%2Bcomputer%2522%2B%2522Unable%2Bto%2Bconnect%2Bto%2Bthe%2Bremote%2Bserver%2522%26hl%3Den

3) If you need to use SSL then take a look at this link that discusses configuring it: http://social.msdn.microsoft.com/forums/en-US/tfsbuild/thread/ae5f2472-dd11-4921-a485-a22aa58bae7e/

ι不睡觉的鱼゛ 2024-07-29 07:09:40

好的,我现在可以使用了。 即使我在 AppTier 和构建计算机中禁用了 Windows 防火墙,我发现我们的网络上运行着一个 ISA 服务器,它负责拒绝对两个服务器(应用层和构建)中端口 9191 的访问。 一旦我们制定规则允许通过此端口进行通信,一切都会正常进行。

感谢各位的回复,我真的很感谢你们的帮助!

Ok, I got it working now. Even I had disabled the Windows Firewall in the AppTier and in my build machine, I figured out we had an ISA Server running on our network and it was the responsible for deny the access to the port 9191 in both server (apptier and build). Once we make a rule to allow the communication through this port everything worked just fine.

Thanks for the replies guys, I really apreciated your help!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文