durham news - REMMONT.COM

Всё подряд, без разбора, но про САМБО. Разбор завалов по ходу.
Ответить
DAVIDEa
km
km
Сообщения: 557
Зарегистрирован: 25 июл 2019, 22:22
Откуда: USA
Контактная информация:

durham news - REMMONT.COM

Сообщение DAVIDEa » 19 май 2021, 17:17

Tfs agents - Эдуард Кабринский


<h1>Tfs agents</h1>
<p>[youtube]</p>
Tfs agents <a href="http://remmont.com">Top news</a> Tfs agents
<h1>TFS Build agent running but still displayed as offline</h1>
<p>A colleague of mine notified me today that there was a problem with the TFS build agent on our TFS server. When he tried to queue a build, the following message popped up:</p>
<blockquote><p><em>There are issues with the request or definition that may prevent the build from running:</em> <br /><em>There are agents that are capable of running the build, but they are not online. If the agent is configured to run as a service, ensure that the ?VSO Agent (<agent name>)? service is running.</em></p></blockquote>
<p style="clear: both"><img src="https://i1.wp.com/blog.kuppens-switsers ... 924399.png" /></p>
<p>This looked like a no-brainer. Probably the service which was not started. When I looked at the service, I noticed that it was running.</p>
<p style="clear: both"><img src="https://i1.wp.com/blog.kuppens-switsers ... 155042.png" /></p>
<p>I checked the Agent pools in the TFS Control Panel and this was showing a red status while it should be green. Not good.</p>
<p style="clear: both"><img src="https://i0.wp.com/blog.kuppens-switsers ... 155235.png" /></p>
<p>To see what was going on, I went to the folder where the agent was installed. In that folder, a _diag folder exists with logging. After opening one of the log files, I noticed this error:</p>
<p>System.Net.Http.HttpRequestException: An error occurred while sending the request. ?> System.Net.WebException: Unable to connect to the remote server ?> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it xxx.xxx.xxx.xxx:8080</p>
<p>(IP is replaced with xxx in the message above).</p>
<p>The IP which was listed, was the IP of the TFS server. What got me thinking in the right direction for a solution, is a part of the logfile above the message where the settings are loaded:</p>
<p>VsoAgent.exe was run with the following command line: ?C:\BuildAgent\agent\vsoagent.exe? /runningAsService <br />12:04:06.109768 SettingsFileHelper.Load ? settings[AutoUpdate]=True <br />12:04:06.109768 SettingsFileHelper.Load ? settings[RootFolder]=C:\BuildAgent <br />12:04:06.109768 SettingsFileHelper.Load ? settings[WorkFolder]=c:\BuildAgent\_work <br />12:04:06.109768 SettingsFileHelper.Load ? settings[ServerUrl]=http://tfs.mydomain.com:8080/tfs <br />12:04:06.109768 SettingsFileHelper.Load ? settings[AgentName]=xxxxx <br />12:04:06.109768 SettingsFileHelper.Load ? settings[PoolId]=1 <br />12:04:06.109768 SettingsFileHelper.Load ? settings[PoolName]=default <br />12:04:06.109768 SettingsFileHelper.Load ? settings[AgentId]=2 <br />12:04:06.109768 SettingsFileHelper.Load ? settings[RunAsWindowsService]=True <br />12:04:06.109768 SettingsFileHelper.Load ? settings[WindowsServiceName]=vsoagent.tfs.xxxxx <br />12:04:06.109768 SettingsFileHelper.Load ? settings[WindowsServiceDisplayName]=VSO Agent (xxxxx)</p>
<p>The ?ServerUrl? setting listed the default URL for TFS. Which is HTTP on port 8080. But I remembered that we changed our configuration to run on HTTPS. So, our TFS was not at 8080, but 443 and then it hit me? I configured the buildagent <strong>before</strong> we changed to HTTPS.</p>
<h2>Tfs agents</h2>

<h3>Tfs agents</h3>
<p>[youtube]</p>
Tfs agents <a href="http://remmont.com">Newspaper headlines today</a> Tfs agents
<h4>Tfs agents</h4>
TFS Build agent running but still displayed as offline A colleague of mine notified me today that there was a problem with the TFS build agent on our TFS server. When he tried to queue a build,
<h5>Tfs agents</h5>
Tfs agents <a href="http://remmont.com">Tfs agents</a> Tfs agents
SOURCE: <h6>Tfs agents</h6> <a href="https://dev-ops.engineer/">Tfs agents</a> Tfs agents
#tags#[replace: -,-Tfs agents] Tfs agents#tags#
https://ssylki.info/?who=whats-a-good-c ... emmont.com https://ssylki.info/?who=remmont.com/fo ... on-careers https://ssylki.info/?who=free-annual-cr ... t.com/news https://ssylki.info/?who=creditone.remmont.com https://ssylki.info/?who=cars-and-autom ... emmont.com

Ответить

Вернуться в «Общие вопросы | General questions»