Page 1 of 1

Problem installing package, then machine "DISCONNECTED"

Published: August 21, 2020 - 09:27
by SebC
Hello,
I recently started using your WAPT deployment solution. The server is working perfectly; I followed your tutorial to the letter.
- WAPT version installed: 1.8.2
- Server OS: Windows, Windows 10 Pro 2019 version
- OS of the administration/package creation machine: Windows 10

First, I installed the WAPT_Agent, which I retrieved from my web interface. So far, no problem; my machine is declared as "Connected." I added a dependency to a package group that I created, and that's where the problems arise.

First: All my packages install, however, some show an "error" when they are installed on the machine and working.
Here are the logs:
installing lab-dropbox(=85.4.155-4)
Exe setup Dropbox 85.4.155 Offline Installer.exe already installed. Skipping
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 3878, in install_wapt
logger.critical(u'Fatal error in install script: %s:\n%s' % (ensure_unicode(e),ensure_unicode(traceback.format_exc())))
File "C:\Program Files (x86)\wapt\waptutils.py", line 437, in ensure_unicode
return u"%s : %s" % (data.args[0], data.args[1].decode('cp850'))
IndexError: tuple index out of range
IndexError: tuple index out of range

Finally, after my installations, the machine shuts down after 5 to 10 minutes in "DISCONNECTED" mode. I tried reinstalling, it works, but the problem returns at the same time after the installation. Do you have any ideas?
Thank you in advance.
Also note that the machine can connect to the server.
PS: I checked the threads, and they all mentioned problems due to the time difference. I've checked this point, and there's no particular problem,
Sébastien.C.

Re: Problem installing package, then machine "DISCONNECTED"

Published: August 25, 2020 - 4:15 PM
by dcardon
Hi Sébastien,

the CONNECTED state is based on a WebSocket connection initiated by the client. Could you have a transparent firewall that's dropping the connection if it takes too long?
If you don't want to reinstall the agent, you can try restarting the service (net stop waptservice; net start waptservice).

Denis