Page 1 of 1

[Resolved] WAPTExit shuts down {randomly}

Published: March 22, 2019 - 3:20 PM
by Jonattend
Hello everyone,

I'm still testing WAPT 1.5.1.21.

I've created/modified about 70 packages to suit my setup.

My idea is to use WAPT at the end of a system image deployment to install the software according to the final target of the workstation... so to keep the system and applications separate.

During my tests on a VM (Win7x64) and a physical Win7x64 machine, I'm asking WAPT to install a package with 30 dependencies...

But WAPTDeploy crashes mid-installation... for example: 21 packages to install... I shut down the workstation... the installations start... and poof, after 10 minutes, the workstation shuts down.

I've tried several timers: sometimes 1 minute 35 seconds, 13 minutes, 15 minutes 20 seconds... very random...

I tried deleting the local GPOs (gpt.ini) but no luck: WAPTExit stopped at 1 minute 35 seconds...

What should I do?

Re: WAPTExit disconnects {randomly}

Published: March 22, 2019 - 3:51 PM
by htouvet
waptexit will shut down if the waptservice stops responding (there is a timeout).
Depending on the load of the installations and the type of machine, this must explain the variability in the occurrence of the phenomenon.
I think the timeout is 2s on wapt 1.5.1.21 which is quite short.

You can try setting a much higher value (20s for example) in the wapt-get.ini file on the machines:

c:\wapt\wapt-get.ini (or c:\program files(x86)\wapt\wapt-get.ini)

Code: Select all

[global]
...
waptservice_timeout=20

Re: WAPTExit disconnects {randomly}

Published: March 22, 2019 - 4:30 PM
by Jonattend
Thank you for your quick response.

In my wapt-get.ini file, I have this:

Code: Select all

[global]
repo_url=https://wapt.xxxxxxxxxxx/wapt
send_usage_report=1
use_hostpackages=1
wapt_server=https://wapt.xxxxxxxxxxx
use_kerberos=0
check_certificates_validity=1
verify_cert=0
dnsdomain=
max_gpo_script_wait=180
pre_shutdown_timeout=180
hiberboot_enabled=0

[wapt-templates]
repo_url=https://store.wapt.fr/wapt
verify_cert=1
So there's no value for waptservice_timeout... I'll add that value and let you know if there's any improvement.

Re: WAPTExit disconnects {randomly}

Published: March 22, 2019 - 5:21 PM
by Jonattend
I tested with waptservice_timeout=20 ... there's been some improvement, but the installations stopped halfway through...

I'll try with a value of "40"...

If I use a very large value like 150, could that have any (negative) side effects?

Thanks.

Re: WAPTExit disconnects {randomly}

Published: March 25, 2019 - 08:59
by htouvet
Setting a value that is too high can cause a shutdown timeout issue if, for some reason, Windows terminates the waptservice before waptexit starts.

in this specific case. https://wapt.tranquil.it/wapt/nightly/w ... -7ee22ace/ )

Re: WAPTExit disconnects {randomly}

Published: March 25, 2019 - 12:03
by Jonattend
I need to migrate from 1.5.21 to 1.7, but are you sure about the link provided?
Shouldn't it be https://wapt.tranquil.it/wapt/nightly/w ... 5-7d975db1 ?

Re: WAPTExit disconnects {randomly}

Published: April 2, 2019 - 11:08 AM
by Jonattend
Hello,

since the update to version 1.7.3.5, everything seems to be working correctly.

I did leave the "waptservice_timeout" at 40.

WAPTExit seems stable and completes installations/updates successfully. :)

Thank you for your help. ;)