tag:help.appveyor.com,2012-11-13:/discussions/problems/1715-deployment-agent-hangsAppVeyor: Discussion 2018-08-25T01:59:39Ztag:help.appveyor.com,2012-11-13:Comment/362163042015-03-06T22:21:41Z2015-08-31T21:20:10ZDeployment Agent Hangs<div><p>Yeah, we are going to improve that with "heartbeat" loop:
<a href="https://github.com/appveyor/ci/issues/130">https://github.com/appveyor/ci/issues/130</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/362163042015-03-07T00:13:37Z2015-08-31T21:20:10ZDeployment Agent Hangs<div><p>Are there any ways to trick it into working? I don't think a
daily reboot will be sufficient. </p>
<h2><a class="anchor" name="" href="#"></a></h2>
<p>Byron Sommardahl<br>
CTO, Co-Owner<br>
Acklen Avenue | <a href="http://www.acklenavenue.com">www.acklenavenue.com</a> |
615-669-8239<br>
230 4th Ave N Suite 301H Nashville, TN 37219</p>
<p>Acklen Avenue is a custom software development company committed
to<br>
creating quality software that people love to use.</p></div>byrontag:help.appveyor.com,2012-11-13:Comment/362163042015-03-07T00:15:21Z2015-08-31T21:20:10ZDeployment Agent Hangs<div><p>Why do you need reboot? Deployment Agent service restart usually
is enough. Or what do you mean?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/362163042015-03-07T00:17:25Z2015-08-31T21:20:10ZDeployment Agent Hangs<div><p>Well, something I can automate. </p>
<h2><a class="anchor" name="" href="#"></a></h2>
<p>Byron Sommardahl<br>
CTO, Co-Owner<br>
Acklen Avenue | <a href="http://www.acklenavenue.com">www.acklenavenue.com</a> |
615-669-8239<br>
230 4th Ave N Suite 301H Nashville, TN 37219</p>
<p>Acklen Avenue is a custom software development company committed
to<br>
creating quality software that people love to use.</p></div>byrontag:help.appveyor.com,2012-11-13:Comment/362163042015-03-07T00:27:18Z2015-08-31T21:20:10ZDeployment Agent Hangs<div><p>Rebooting server is not an option, of course. I will be
experimenting with SignalR re-connection in the coming days and
release Agent update. Will keep you posted about results.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/362163042015-06-11T15:43:05Z2015-08-31T21:20:10ZDeployment Agent Hangs<div><p>I'm also getting this error quite regularly.</p>
<p>When I check the Deployment Agent's event log, I get warnings
that say 'SignalR connection is slow.'</p>
<p>No sign of having received the request from AppVeyor.</p></div>sebastiantag:help.appveyor.com,2012-11-13:Comment/362163042015-06-18T17:21:25Z2015-08-31T21:20:10ZDeployment Agent Hangs<div><p>I also got the same error. I restarted the app deployment agent
and it fixed the problem.<br>
Event log showed signalr connection is slow".<br>
I have doing a deployment to azure vm.</p></div>rajindersinghtag:help.appveyor.com,2012-11-13:Comment/362163042015-06-19T17:59:11Z2015-08-31T21:20:10ZDeployment Agent Hangs<div><p>Going to dedicate more time to this instability in the coming
weeks.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/362163042015-06-19T19:01:51Z2015-08-31T21:20:10ZDeployment Agent Hangs<div><p>Let us know if we can help in any way!</p></div>sebastiantag:help.appveyor.com,2012-11-13:Comment/362163042015-06-25T08:52:42Z2015-08-31T21:20:10ZDeployment Agent Hangs<div><p>Hi Feodor, I've noticed a few more different kinds of warnings
and errors in our server's deployment agent's event log. I've
zipped them up for you, but would prefer to send it privately
rather than attach it to this convo. Is it easiest if I email it to
you?</p></div>sebastiantag:help.appveyor.com,2012-11-13:Comment/362163042015-06-25T14:11:38Z2015-08-31T21:20:09ZDeployment Agent Hangs<div><p>Yes, please send to "team AT appveyor.com". Thank you!</p>
<ul>
<li>Feodor</li>
</ul></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/362163042015-07-25T08:55:51Z2015-08-31T21:20:09ZDeployment Agent Hangs<div><p>Quick update to keep the issue alive - still getting this issue
intermittently.</p></div>sebastiantag:help.appveyor.com,2012-11-13:Comment/362163042015-08-20T14:00:53Z2015-08-31T21:20:09ZDeployment Agent Hangs<div><p>Hi Feodor,</p>
<p>We're still getting this issue quite regularly and we're have to
always be on the guard whether or not our deployments actually ran
or not.</p>
<p>The deployment agent doesn't register itself for the deployment
and the deployment just quietly succeeds with no error, no action
taken, example here: <a href="https://ci.appveyor.com/project/Martaver/neway-webfreight/deployment/128528">
https://ci.appveyor.com/project/Martaver/neway-webfreight/deploymen...</a></p>
<p>Looking at our server, in our Event Viewer, there's no errors
(or events) from the agent from the last 6 hours.</p>
<p>Just like for byron, restarting the service helps, but we're
hoping for a more permanent solution. We're happy to help however
we can, but we'd just really like to not have to worry about this
anymore.</p>
<p>Cheers,<br>
Seb</p></div>sebastiantag:help.appveyor.com,2012-11-13:Comment/362163042015-08-24T14:15:51Z2015-08-31T21:20:09ZDeployment Agent Hangs<div><p>Same issue here. Periodically, I'll see "Error subscribing agent
events: The operation was canceled." in the Event log, and the
deployment will quietly "succeed" with no jobs having been run.
Restarting the service then fixes the issue for a week or so.</p>
<p>I wonder if a deployment with no agents should always be
consider failed?</p>
<p>If there's more of the event log or anything I can attach that
would be helpful, let me know.</p></div>davidtag:help.appveyor.com,2012-11-13:Comment/362163042015-08-25T08:11:34Z2015-08-31T21:20:09ZDeployment Agent Hangs<div><p>David's suggestion about failing a deployment with no agents
seems like a good interim solution from our point of view.</p></div>sebastiantag:help.appveyor.com,2012-11-13:Comment/362163042015-08-26T17:43:15Z2015-08-31T21:20:09ZDeployment Agent Hangs<div><p>Hi guys,</p>
<p>We've got an updated Deployment Agent with connection
reliability improvements and heartbeat added: <a href="http://www.appveyor.com/downloads/3.1.7/AppveyorDeploymentAgent.msi">
http://www.appveyor.com/downloads/3.1.7/AppveyorDeploymentAgent.msi</a>
(it's not yet public).</p>
<p>Please clear "Deployment Agent" event log before installing
updated agent to start collecting "fresh" data.</p>
<p>If anything goes wrong you can always revert to a previous one:
<a href="http://www.appveyor.com/downloads/AppveyorDeploymentAgent.msi">http://www.appveyor.com/downloads/AppveyorDeploymentAgent.msi</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/362163042015-08-31T18:41:23Z2015-08-31T21:20:09ZDeployment Agent Hangs<div><p>The updated version has been working fine for me since 8/27.
That's not a lot of time but I wanted to chime in that it's off to
a good start :-)</p></div>davidtag:help.appveyor.com,2012-11-13:Comment/362163042015-08-31T20:53:01Z2015-08-31T21:20:09ZDeployment Agent Hangs<div><p>Ditto! So far, no complaints!</p></div>Sebastian Nemethtag:help.appveyor.com,2012-11-13:Comment/362163042015-09-01T16:51:53Z2015-09-01T16:51:53ZDeployment Agent Hangs<div><p>Nice, nice! Thanks for the update :)</p></div>Feodor Fitsner