Deployment Agent stopped

peter.morlion's Avatar


24 Nov, 2022 08:27 AM


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?


  1. Support Staff 1 Posted by Feodor Fitsner on 24 Nov, 2022 04:00 PM

    Feodor Fitsner's Avatar

    Check "AppVeyor" Windows event log (under "Applications and Services Logs" in Event Viewer).

  2. 2 Posted by peter.morlion on 24 Nov, 2022 04:05 PM

    peter.morlion's Avatar

    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.

  3. Support Staff 3 Posted by Feodor Fitsner on 24 Nov, 2022 04:33 PM

    Feodor Fitsner's Avatar

    Check "Application" log for any crashes, though it shouldn't crash.

  4. 4 Posted by peter.morlion on 25 Nov, 2022 07:45 AM

    peter.morlion's Avatar

    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. 5 Posted by peter.morlion on 25 Nov, 2022 08:40 AM

    peter.morlion's Avatar

    We're going to set the Startup Type of the service to Automatic (Delayed) and see if that improves the situation.

  6. 6 Posted by peter.morlion on 13 Dec, 2022 07:15 AM

    peter.morlion's Avatar

    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

    Start-Process sc.exe -ArgumentList "config AppVeyor.DeploymentAgent start=delayed-auto" -Verb RunAs

    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.

  7. peter.morlion closed this discussion on 13 Dec, 2022 07:15 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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


25 May, 2023 11:56 PM
23 May, 2023 08:46 PM
23 May, 2023 07:39 PM
23 May, 2023 07:31 PM
21 May, 2023 04:36 PM
18 May, 2023 09:58 AM