DAI Site - Environment keep on disconnecting

I have started the DAIRunAgent service, and seeing the Environment status as Connected in the DAI site. But often, it automatically stopped running and status shows as Disconnected. Again, I have to go to that machine and Start the service like multiple times in a day.
May I know why it is stopping or is there any idle timeout to stop? How I can ensure it is running always with the inbuilt settings in the DAI. Any inputs pls.

If no options, I have to try some workaround by running some bat file to keep on checking on regular intervals but this is not supposed to be right.

Are you running the DAI Run Agent as a service? If not, be aware that the Run Agent will stop if you close the Command Prompt. Otherwise, I would recommend that you reach out to support so that they can review your log files.

1 Like

Hey @scsvel,

  1. Starting the DAIRunAgent as a windows service installed via installservice. Open the services.exe and find the DAI service and add a restart configuration. You can also delay the start. I do recommend you to define a logon user as well as the windows systemprofile user is kind of locked down by many companies. Running Automated Tests | DAI
    image
  2. If you defined a scheduled task under windows for the DAI Run Agent to be launched with a script you should be able to define restart criteria’s as well.

Ultimately you should find out why the service/agent got stopped in the first place. Might be your Antivirus that stops the service. Check the agent log files as well.

Cheers,
Karsten

Thanks @Karsten

We found that it is different issue for why it’s stopping and working with support team on this.

1 Like