Problem deploying packets

Share your tips or issues concerning the WAPT Console or WAPT Agent here
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
jack
Messages: 2
Registration: January 5, 2018 - 10:36

January 5, 2018 - 11:08

Good morning,

I have a problem with the automatic deployment of packages when the Windows session is closed.
I am using wapt version 1.3.13.0 on a Windows 2012 server with Windows 7/10 clients.

This worked during my testing phase, but when launching the wapt client across the entire network, I noticed that some workstations did not install the packages when sessions were closed.

Here is what I find in the waptservice.log file on a client machine.

Code: Select all

2018-01-05 10:22:06,528 CRITICAL Error downloading package from http repository, please update... error : ConnectTimeout: HTTPConnectionPool(host='serveur.domaine.local', port=80): Max retries exceeded with url: /wapt/sog-flashplayer_27.0.0.130-2_all.wapt (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x0352A2D0>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',))

2018-01-05 10:22:06,762 CRITICAL Error downloading package from http repository, please update... error : ConnectTimeout: HTTPConnectionPool(host='serveur.domaine.local', port=80): Max retries exceeded with url: /wapt-host/machine.domaine.local.wapt (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x034370F0>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',))

2018-01-05 10:22:06,762 CRITICAL Error downloading some files : [(u'http://serveur.domaine.local/wapt/sog-flashplayer_27.0.0.130-2_all.wapt', u"ConnectTimeout: HTTPConnectionPool(host='serveur.domaine.local', port=80): Max retries exceeded with url: /wapt/sog-flashplayer_27.0.0.130-2_all.wapt (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x0352A2D0>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',))"), (u'http://serveur.domaine.local/wapt-host/machine.domaine.local.wapt', u"ConnectTimeout: HTTPConnectionPool(host='serveur.domaine.local', port=80): Max retries exceeded with url: /wapt-host/machine.domaine.local.wapt (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x034370F0>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',))")]

2018-01-05 10:22:06,762 CRITICAL Package sog-flashplayer not installed due to errors : Exception: No control found for c:\wapt\cache\sog-flashplayer_27.0.0.130-2_all.wapt

2018-01-05 10:22:06,762 CRITICAL Package machine.domaine.local (=3) not installed due to errors : Exception: No control found for c:\wapt\cache\machine.domaine.local.wapt

2018-01-05 10:22:06,762 CRITICAL Exception: Error during install of machine.domaine.local (=3): errors in packages [[(u'http://serveur.domaine.local/wapt/sog-flashplayer_27.0.0.130-2_all.wapt', u"ConnectTimeout: HTTPConnectionPool(host='serveur.domaine.local', port=80): Max retries exceeded with url: /wapt/sog-flashplayer_27.0.0.130-2_all.wapt (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x0352A2D0>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',))"), None], [(u'http://serveur.domaine.local/wapt-host/machine.domaine.local.wapt', u"ConnectTimeout: HTTPConnectionPool(host='serveur.domaine.local', port=80): Max retries exceeded with url: /wapt-host/machine.domaine.local.wapt (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x034370F0>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',))"), None], [u'sog-flashplayer', PackageEntry('sog-flashplayer','27.0.0.130-2')], [u'machine.domaine.local (=3)', PackageEntry('machine.domaine.local','3')]]

2018-01-05 10:22:07,135 CRITICAL Error downloading package from http repository, please update... error : ConnectTimeout: HTTPConnectionPool(host='serveur.domaine.local', port=80): Max retries exceeded with url: /wapt/sog-flashplayer_27.0.0.130-2_all.wapt (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x03437B30>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',))

2018-01-05 10:22:07,135 CRITICAL Error downloading some files : [(u'http://serveur.domaine.local/wapt/sog-flashplayer_27.0.0.130-2_all.wapt', u"ConnectTimeout: HTTPConnectionPool(host='serveur.domaine.local', port=80): Max retries exceeded with url: /wapt/sog-flashplayer_27.0.0.130-2_all.wapt (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x03437B30>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',))")]

2018-01-05 10:22:07,135 CRITICAL Package sog-flashplayer (=27.0.0.130-2) not installed due to errors : Exception: No control found for c:\wapt\cache\sog-flashplayer_27.0.0.130-2_all.wapt

2018-01-05 10:22:07,135 CRITICAL Exception: Error during install of sog-flashplayer (=27.0.0.130-2): errors in packages [[(u'http://serveur.domaine.local/wapt/sog-flashplayer_27.0.0.130-2_all.wapt', u"ConnectTimeout: HTTPConnectionPool(host='serveur.domaine.local', port=80): Max retries exceeded with url: /wapt/sog-flashplayer_27.0.0.130-2_all.wapt (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x03437B30>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',))"), None], [u'sog-flashplayer (=27.0.0.130-2)', PackageEntry('sog-flashplayer','27.0.0.130-2')]]

2018-01-05 10:22:08,569 ERROR Traceback (most recent call last):
  File "c:\wapt\lib\site-packages\rocket\main.py", line 143, in start
    time.sleep(THREAD_STOP_CHECK_INTERVAL)
IOError: [Errno 4] Interrupted function call

The package installation works if I launch it from the machine in question with the commands wapt-get upgrade.

The flashplayer package is used as an example, but it's the same with other packages, most of which are imports of packages from the wapt-tranquil.it website.

I don't think the control file is the problem since the CLI installation works on the client.
A connection problem, perhaps?
Is the problem because the computer is connected via Wi-Fi?
However, I had tested it on non-administrator machines and over Wi-Fi with a user certificate and I had no problems.
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

January 5, 2018 - 11:47

The package does not appear to be available; try forcing the update:

Code: Select all

wapt-get update -f


To resolve this issue, you can lower the agent update interval in the configuration file wapt-get.ini at 1 minute:

https://www.wapt.fr/fr/doc-1.5/Configur ... pt-get-ini

Code: Select all

waptupdate_task_period=1
With this setting, the agent will preload the WAPT package into the cache if an update is available

Regarding the packet availability issue, it may indeed be a network connectivity problem; by reducing the refresh time interval on these mobile devices, we ensure that we have the packets cached locally.

One last thing, on Windows 10 machines remember to disable Hiberboot: https://www.wapt.fr/fr/doc-1.5/Frequent ... d-shutdown

Last resort We sell support contracts for WAPT, call us on 0240975755!

Alexander
jack
Messages: 2
Registration: January 5, 2018 - 10:36

January 5, 2018 - 3:04 PM

Hello,
Thank you for the information.
Indeed, it must be an issue with the agent update period, because after waiting a while while reading the documentation on wapt-get.ini, for example, the problem disappeared for the affected machine.

The default time for waptupdate_task_period is 120 minutes; I suppose that's what resolved the situation.
Reducing this time for my Wi-Fi machines is the solution I will use.

Thank you for your quick help... and especially for the Hiberboot tip, which will surely solve other problems for me.

Best regards.
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

January 5, 2018 - 3:28 PM

Just a quick note: setting the value to 1 (every minute) might be quite intensive for the WAPT server; every 20 or 30 minutes might be a good compromise,

Alexandre.
Locked