J'ai un soucis sur le déploiement de paquet automatiquement lors de la fermeture de la session Windows.
J'utilise wapt version 1.3.13.0 sur un serveur Windows 2012 avec des clients Windows 7/10.
Cela fonctionnait lors de ma phase de test et en lançant le client wapt sur tout le parc, je constate que certains postes n'installent pas les paquets lors de la fermeture de sessions.
Voici ce que je trouve dans le fichier waptservice.log sur un poste client.
Code : Tout sélectionner
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
Le paquet flashplayer est pris pour exemple mais c'est la même chose avec d'autres paquets qui sont pour la plus part une importation des paquets du site wapt-tranquil.it.
Je ne pense pas que le fichier de contrôle pose problème vu que l'installation en cli fonctionne sur le client.
Un problème de liaison peut-être ?
Est-ce que le soucis vient du fait que le poste est en Wifi ?
J'avais pourtant fais le test sur des postes non administrateur et en wifi avec certificat utilisateur et je n'avais pas de soucis.