How to change DAI timeout interval?

Hello,

I am currently trying to solve an issue I am having when running model-based tests within DAI and using snippets. Consistently, after around 120 seconds of no calls or logs or anything similar being sent from EPF to DAI, the DAI window will log an exception that the session has timed out and it ends my test in DAI. EPF is still running the script, but DAI seems to no longer be orchestrating the test run in EPF.

Sometimes when a run is paused for any reason and I want to manually recover it in EPF, I am not quick enough and then I have to restart because DAI times out. I couldn’t find any setting for it within DAI. I have tried the command prompt solution found in another post for Eggplant’s API timeout and tried to increase it that way, but no luck. I also tried modifying the RETRY_TIMEOUT_SECONDS and RETRY_SLEEP_INTERVAL_SECONDS variables in config.yml found in my “ProgramData/Digital Automation Intelligence” directory but that didn’t seem to change anything either. I am running EPF version 23.1.1 and DAI version 7.4.0-4.

Is there a way to increase this timeout so I have more time to recover if I need to pause or need to wait a long time on something within my script?

Thank you.

In the DAI config.ymal there is an FEDRIVE_TIMEOUT setting, change it from 120 to whatever you wish. I would probably recommend doubling it. If the parameter is not there, you can just add it to the env section.

1 Like

Thanks for the info! I will try to figure it out for more.

Thank you! This worked perfectly!

1 Like