Deployment Agent stopped
Hi,
I have the Deployment Agent installed on a VM in Google Cloud and now and then, it seems to have stopped. When I look in services.msc, I see that the Startup Type is set to Automatic. But I have had to RDP into the server several times to start it manually again. Do you know what could be causing this?
Peter
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 24 Nov, 2022 04:00 PM
Check "AppVeyor" Windows event log (under "Applications and Services Logs" in Event Viewer).
2 Posted by peter.morlion on 24 Nov, 2022 04:05 PM
All I see are info events.
I have one on 10 Nov 3:43:11 AM: "Agent connection is alive"
Then 24 Nov 8:21:45 AM: "Deployment Agent service Start" which is me starting the service manually.
Support Staff 3 Posted by Feodor Fitsner on 24 Nov, 2022 04:33 PM
Check "Application" log for any crashes, though it shouldn't crash.
4 Posted by peter.morlion on 25 Nov, 2022 07:45 AM
Ok, further digging learns me that the server restarted for a service pack install (at 3:51). After the restart, I can see all sorts of services starting again. But at 3:53 I see:
"A timeout was reached (30000 milliseconds) while waiting for the Appveyor.DeploymentAgent service to connect."
Right before that "A timeout was reached (30000 milliseconds) while waiting for the MsDepSvc service to connect." Related?
And a while before that the same for "google_osconfig_agent".
Maybe these services are trying to perform an outgoing call and the system doesn't have internet connectivity yet?
5 Posted by peter.morlion on 25 Nov, 2022 08:40 AM
We're going to set the Startup Type of the service to Automatic (Delayed) and see if that improves the situation.
6 Posted by peter.morlion on 13 Dec, 2022 07:15 AM
It seems that setting the startup type to "Automatic (Delayed)" improves this situation. Might be a nice addition to allow one to pass this to the installer. But I automated it by calling
Although I run another installer in between because if I did it too fast after the AppVeyor installer it didn't change the startup type.
peter.morlion closed this discussion on 13 Dec, 2022 07:15 AM.