[RISOLTO] Nessun token di autorizzazione - Windows Agent

Domande sul server WAPT / Richieste e assistenza relative al server WAPT
Regole del forum
Regole del forum della community
* Supporto in inglese su www.reddit.com/r/wapt
* Supporto della community in francese disponibile su questo forum
* Si prega di anteporre [RISOLTO] al titolo dell'argomento se è stato risolto.
* Si prega di non modificare un argomento contrassegnato con [RISOLTO]. Aprire un nuovo argomento facendo riferimento a quello precedente.
* Specificare la versione di WAPT installata, la versione completa e il numero di build (2.2.1.11957 / 2.2.2.12337 / ecc.) nonché l'edizione Enterprise/Discovery.
* Le versioni 1.8.2 e precedenti non sono più supportate. Le uniche domande accettate relative alla versione 1.8.2 riguardano l'aggiornamento a una versione supportata (2.1, 2.2, ecc.).
* Specificare il sistema operativo del server (Linux/Windows) e la versione (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specificare il sistema operativo della macchina di amministrazione/creazione dei pacchetti e della macchina con l'agente problematico, se applicabile (Windows 7/10/11/Debian 11/ecc.).
* Evitare di porre più domande quando si apre una discussione, altrimenti potrebbe essere ignorata. Se ci sono più discussioni, aprirle separatamente, preferibilmente una dopo l'altra e non tutte contemporaneamente (ovvero, non intasare il forum).
* Includere frammenti di codice, screenshot e altre immagini direttamente nel post. I link a Pastebin, Bitly e altri siti di terze parti verranno sistematicamente rimossi.
* Come in qualsiasi forum della community, il supporto è fornito volontariamente dai membri. Se si necessita di supporto commerciale, è possibile contattare il reparto vendite di Tranquil IT al numero 02.40.97.57.55
piccola
Messaggi: 7
Iscrizioni: 17 febbraio 2025 - 11:17

17 febbraio 2025 - 11:47

Buongiorno,

Al momento sto riscontrando un problema di "post-registrazione" con gli agenti a livello del server WAPT.
La registrazione della macchina tramite Kerberos funziona correttamente; la workstation appare sulla console, tuttavia lo stato rimane "Disconnesso"

Sul lato client, nel file waptservice.log (macchina W10 Enterprise, versione 19045) sono presenti i seguenti messaggi:

Codice: Seleziona tutto

[wapttasks SocketIOClient 1968] INFO Creating socketio client: https://XXX:443 client auth cert: ('C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.crt', 'C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.pem') proxies: None verify_cert: False
[wapttasks SocketIOClient 1968] INFO Connecting Socketio to https://XXX :443
[waptws SocketIOClient 1968] WARNING Exception ConnectionError('One or more namespaces failed to connect'), waiting 6.125s before retrying
Sul lato server, i seguenti messaggi sono presenti nel file waptserveur.log (server che esegue Red Hat 11.5.0)

Codice: Seleziona tutto

[waptws         ] WARNING SocketIO connection refused for uuid rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac, sid ICDzxyL_frCaAgrTAkqR: SocketIO connection not authorized, invalid token: No authorization token, instance
[waptws         ] WARNING SocketIO connection refused for uuid rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac, sid 87UBAs40HVDAsmyAAkqT: SocketIO connection not authorized, invalid token: No authorization token, instance
[waptws         ] WARNING SocketIO connection refused for uuid rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac, sid 73vdWAduyJXt4GXLAkqV: SocketIO connection not authorized, invalid token: No authorization token, instance
In termini di flusso, vedo il mio agente accedere all'URL WAPT e poi essere reindirizzato alla parte WebService del server, ma la connessione viene reimpostata dal server dopo alcuni scambi.

Versione del server WAPT: 2.5.5.15697
Versione dell'agente WAPT: 2.5.5.15697
Versione di installazione WAPT: 2.5.5.15697
Versione di distribuzione WAPT: 2.5.5.15697

Grazie in anticipo per il vostro aiuto

Distinti saluti,

SMA
Avatar utente
blemoigne
Messaggi: 176
Registrazione: 17 luglio 2020 - 11:29

19 febbraio 2025 - 16:11

Buongiorno,
Su un computer che sembra disconnesso, avvia un prompt dei comandi come amministratore, quindi:

Codice: Seleziona tutto

runwaptservice -ldebug
Lasciatelo funzionare per 2 minuti e inviateci il risultato completo.
È quindi possibile riavviare WAPTService (servizio Windows).
Vi auguro una buona giornata
Bertrand
piccola
Messaggi: 7
Iscrizioni: 17 febbraio 2025 - 11:17

19 febbraio 2025 - 22:50

Buongiorno,

Innanzitutto grazie per aver preso in considerazione la richiesta e per il tuo feedback.
Di seguito troverete il contenuto:

Codice: Seleziona tutto

2025-02-19 22:41:10,040 [waptcore MainThread 5528] DEBUG Thread 5528 is connecting to wapt db
2025-02-19 22:41:10,041 [waptcore MainThread 5528] DEBUG DB Start transaction
2025-02-19 22:41:10,042 [waptcore MainThread 5528] DEBUG DB commit
2025-02-19 22:41:10,043 [waptcore MainThread 5528] DEBUG Thread 5528 is connecting to wapt db
2025-02-19 22:41:10,044 [waptcore MainThread 5528] DEBUG DB Start transaction
2025-02-19 22:41:10,044 [waptcore MainThread 5528] DEBUG DB commit
2025-02-19 22:41:10,045 [wapttasks MainThread 5528] INFO Service Configuration: {'config_filename': 'C:\\Program Files (x86)\\wapt\\wapt-get.ini', 'waptservice_user': None, 'waptservice_password': None, 'MAX_HISTORY': 30, 'waptservice_port': 8088, 'dbpath': 'C:\\Program Files (x86)\\wapt\\db\\waptdb.sqlite', 'loglevel': 'debug', 'log_directory': 'C:\\Program Files (x86)\\wapt\\log', 'waptserver': <WaptServer https://X.X.X verify_cert=False client_cert_path=None>, 'hiberboot_enabled': None, 'max_gpo_script_wait': None, 'pre_shutdown_timeout': None, 'log_to_windows_events': False, 'allow_user_service_restart': False, 'signature_clockskew': 21600, 'notify_user': False, 'waptservice_admin_filter': False, 'enable_remote_repo': False, 'local_repo_path': 'C:\\Program Files (x86)\\wapt\\repository', 'local_repo_sync_task_period': '2h', 'local_repo_time_for_sync_start': None, 'local_repo_time_for_sync_end': None, 'local_repo_limit_bandwidth': None, 'wol_port': '7,9', 'wol_relay': False, 'service_auth_type': 'system', 'verify_cert_ldap': False, 'waptservice_poll_timeout': 10, 'waptupdate_task_period': '120m', 'download_after_update_with_waptupdate_task_period': True, 'forced_installs_task_period': '2m', 'reconfig_on_network_change': False, 'websockets_verify_cert': False, 'update_server_status_on_connect': False, 'loglevel_waptcore': None, 'loglevel_waptservice': None, 'loglevel_waptws': None, 'loglevel_waptdb': None, 'loglevel_websocket': None, 'loglevel_waitress': None, 'loglevel_wapttasks': None}
2025-02-19 22:41:10,045 [wapttasks MainThread 5528] INFO Starting task queue
2025-02-19 22:41:10,046 [wapttasks MainThread 5528] INFO Tasks queue running
2025-02-19 22:41:10,046 [wapttasks WaptTaskManager 6892] INFO Wapt tasks management initialized with C:\Program Files (x86)\wapt\wapt-get.ini configuration
2025-02-19 22:41:10,047 [waptcore WaptTaskManager 6892] DEBUG Thread 6892 is connecting to wapt db
2025-02-19 22:41:10,047 [wapttasks MainThread 5528] INFO Starting waitress waptservice on port 8088
2025-02-19 22:41:10,048 [waptservice SocketIOClient 10180] INFO No password set for local waptservice, using local computer security
2025-02-19 22:41:10,048 [waptcore WaptTaskManager 6892] DEBUG DB Start transaction
2025-02-19 22:41:10,049 [waptcore WaptTaskManager 6892] DEBUG DB commit
2025-02-19 22:41:10,050 [waptcore SocketIOClient 10180] DEBUG Thread 10180 is connecting to wapt db
2025-02-19 22:41:10,051 [waptcore SocketIOClient 10180] DEBUG DB Start transaction
2025-02-19 22:41:10,051 [waptcore SocketIOClient 10180] DEBUG DB commit
2025-02-19 22:41:10,053 [wapttasks SocketIOClient 10180] INFO Starting socketio on "https://X.X.X:443" Thread id 10180
2025-02-19 22:41:10,054 [waptws SocketIOClient 10180] INFO Certificate checking : False
2025-02-19 22:41:10,054 [waitress MainThread 5528] INFO Serving on http://127.0.0.1:8088
2025-02-19 22:41:10,056 [wapttasks SocketIOClient 10180] INFO Socketio connection params have changed. Socketio needs reconnect
2025-02-19 22:41:10,057 [wapttasks SocketIOClient 10180] INFO Creating socketio client: https://X.X.X:443 client auth cert: ('C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.crt', 'C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.pem') proxies: None verify_cert: False
2025-02-19 22:41:10,057 [wapttasks SocketIOClient 10180] INFO Connecting Socketio to https://X.X.X:443
2025-02-19 22:41:10,057 [waptws SocketIOClient 10180] INFO Attempting WebSocket connection to wss://X.X.X:443/socket.io/?transport=websocket&EIO=4
2025-02-19 22:41:10,059 [waptcore WaptTaskManager 6892] DEBUG Using host certificate C:\Program Files (x86)\wapt\private\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.pem for repo global auth
2025-02-19 22:41:10,060 [waptcore WaptTaskManager 6892] DEBUG Using host certificate C:\Program Files (x86)\wapt\private\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.pem for repo wapt auth
2025-02-19 22:41:10,061 [waptcore WaptTaskManager 6892] INFO Main repository: https://X.X.X/wapt
2025-02-19 22:41:10,062 [waptcore WaptTaskManager 6892] DEBUG Using host certificate C:\Program Files (x86)\wapt\private\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.pem for repo wapt-host auth
2025-02-19 22:41:10,063 [wapttasks WaptTaskManager 6892] INFO Core Configuration: {'wapt_base_dir': 'C:\\Program Files (x86)\\wapt', 'waptserver': <WaptServer https://X.X.X verify_cert=False client_cert_path=C:\Program Files (x86)\wapt\private\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.crt>, 'config_filename': 'C:\\Program Files (x86)\\wapt\\wapt-get.ini', 'proxies': {'http': '', 'https': ''}, 'repositories': [<WaptRepo https://X.X.X/wapt verify_cert=False client_cert_path=C:\Program Files (x86)\wapt\private\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.crt>, <WaptHostRepo https://X.X.X/wapt-host for host_id rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac >], 'personal_certificate_path': '', 'public_certs_dir': 'C:\\Program Files (x86)\\wapt\\ssl', 'packages_cache_dir': 'C:\\Program Files (x86)\\wapt\\cache', 'dbpath': 'C:\\Program Files (x86)\\wapt\\db\\waptdb.sqlite', 'use_http_proxy_for_repo': False, 'use_http_proxy_for_server': False, 'limit_bandwidth': None, 'locales': ['fr'], 'custom_tags': [], 'packages_whitelist': None, 'packages_blacklist': None, 'maturities': ['PROD'], 'host_uuid': 'rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac', 'use_fqdn_as_uuid': False, 'use_hostpackages': True, 'use_ad_groups': False, 'use_repo_rules': False, 'host_profiles': [], 'host_organizational_unit_dn': 'OU=PC,OU=DEPLOIEMENT W10,OU=Site Principal,OU=CH,DC=X,DC=X', 'host_ad_site': None, 'waptaudit_task_period': '2h', 'hiberboot_enabled': 0, 'max_gpo_script_wait': 180.0, 'pre_shutdown_timeout': 180.0, 'uninstallkey_timeout': 120, 'check_certificates_validity': True, 'token_lifetime': 86400, 'trust_all_certs_in_pems': False, 'include_dmi_inventory': False, 'include_wmi_inventory': False, 'wapt_temp_dir': None}
2025-02-19 22:41:10,063 [wapttasks WaptTaskManager 6892] INFO Wapt tasks queue started
2025-02-19 22:41:10,071 [waptws SocketIOClient 10180] INFO WebSocket connection accepted with {'sid': 'jrArGDSJksf62kO4ADCi', 'upgrades': [], 'pingTimeout': 20000, 'pingInterval': 25000}
2025-02-19 22:41:10,072 [waptws SocketIOClient 10180] INFO Engine.IO connection established
2025-02-19 22:41:10,072 [waptws SocketIOClient 10180] INFO Sending packet MESSAGE data 0{}
2025-02-19 22:41:10,076 [waptws Thread-4 10444] INFO Received packet MESSAGE data 4{"message":"Connection rejected by server"}
2025-02-19 22:41:10,076 [waptws Thread-5 9808] INFO Connection to namespace / was rejected
2025-02-19 22:41:11,080 [waptws SocketIOClient 10180] INFO Sending packet CLOSE data None
2025-02-19 22:41:11,082 [waptws SocketIOClient 10180] INFO Engine.IO connection dropped
2025-02-19 22:41:11,082 [waptws Thread-3 12760] INFO Exiting write loop task
2025-02-19 22:41:11,085 [waptws Thread-4 10444] INFO Unexpected error decoding packet: "Invalid empty packet received", aborting
2025-02-19 22:41:11,087 [waptws SocketIOClient 10180] WARNING Exception ConnectionError('One or more namespaces failed to connect'), waiting 0.2s before retrying
2025-02-19 22:41:11,090 [waptws Thread-4 10444] INFO Waiting for write loop task to end
2025-02-19 22:41:11,093 [waptws Thread-4 10444] INFO Exiting read loop task
2025-02-19 22:41:11,307 [wapttasks SocketIOClient 10180] INFO Socketio connection params have changed. Socketio needs reconnect
2025-02-19 22:41:11,309 [wapttasks SocketIOClient 10180] INFO Creating socketio client: https://X.X.X:443 client auth cert: ('C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.crt', 'C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.pem') proxies: None verify_cert: False
2025-02-19 22:41:11,311 [wapttasks SocketIOClient 10180] INFO Connecting Socketio to https://X.X.X:443
2025-02-19 22:41:11,313 [waptws SocketIOClient 10180] INFO Attempting WebSocket connection to wss://X.X.X:443/socket.io/?transport=websocket&EIO=4
2025-02-19 22:41:11,328 [waptws SocketIOClient 10180] INFO WebSocket connection accepted with {'sid': '8iVycyjC1H27j4QsADCk', 'upgrades': [], 'pingTimeout': 20000, 'pingInterval': 25000}
2025-02-19 22:41:11,328 [waptws SocketIOClient 10180] INFO Engine.IO connection established
2025-02-19 22:41:11,329 [waptws SocketIOClient 10180] INFO Sending packet MESSAGE data 0{}
2025-02-19 22:41:11,334 [waptws Thread-7 12696] INFO Received packet MESSAGE data 4{"message":"Connection rejected by server"}
2025-02-19 22:41:11,335 [waptws Thread-8 11716] INFO Connection to namespace / was rejected
2025-02-19 22:41:12,341 [waptws SocketIOClient 10180] INFO Sending packet CLOSE data None
2025-02-19 22:41:12,342 [waptws SocketIOClient 10180] INFO Engine.IO connection dropped
2025-02-19 22:41:12,342 [waptws Thread-6 6084] INFO Exiting write loop task
2025-02-19 22:41:12,344 [waptws Thread-7 12696] INFO Unexpected error decoding packet: "Invalid empty packet received", aborting
2025-02-19 22:41:12,346 [waptws SocketIOClient 10180] WARNING Exception ConnectionError('One or more namespaces failed to connect'), waiting 0.35000000000000003s before retrying
2025-02-19 22:41:12,349 [waptws Thread-7 12696] INFO Waiting for write loop task to end
2025-02-19 22:41:12,352 [waptws Thread-7 12696] INFO Exiting read loop task
2025-02-19 22:41:12,720 [wapttasks SocketIOClient 10180] INFO Socketio connection params have changed. Socketio needs reconnect
2025-02-19 22:41:12,721 [wapttasks SocketIOClient 10180] INFO Creating socketio client: https://X.X.X:443 client auth cert: ('C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.crt', 'C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.pem') proxies: None verify_cert: False
2025-02-19 22:41:12,724 [wapttasks SocketIOClient 10180] INFO Connecting Socketio to https://X.X.X:443
2025-02-19 22:41:12,725 [waptws SocketIOClient 10180] INFO Attempting WebSocket connection to wss://X.X.X:443/socket.io/?transport=websocket&EIO=4
2025-02-19 22:41:12,743 [waptws SocketIOClient 10180] INFO WebSocket connection accepted with {'sid': 'NlHBtL0PF54Eq09GADCm', 'upgrades': [], 'pingTimeout': 20000, 'pingInterval': 25000}
2025-02-19 22:41:12,743 [waptws SocketIOClient 10180] INFO Engine.IO connection established
2025-02-19 22:41:12,744 [waptws SocketIOClient 10180] INFO Sending packet MESSAGE data 0{}
2025-02-19 22:41:12,751 [waptws Thread-10 10004] INFO Received packet MESSAGE data 4{"message":"Connection rejected by server"}
2025-02-19 22:41:12,752 [waptws Thread-11 9232] INFO Connection to namespace / was rejected
2025-02-19 22:41:13,753 [waptws SocketIOClient 10180] INFO Sending packet CLOSE data None
2025-02-19 22:41:13,754 [waptws SocketIOClient 10180] INFO Engine.IO connection dropped
2025-02-19 22:41:13,755 [waptws Thread-9 2216] INFO Exiting write loop task
2025-02-19 22:41:13,759 [waptws Thread-10 10004] INFO Unexpected error decoding packet: "Invalid empty packet received", aborting
2025-02-19 22:41:13,761 [waptws SocketIOClient 10180] WARNING Exception ConnectionError('One or more namespaces failed to connect'), waiting 0.6125s before retrying
2025-02-19 22:41:13,761 [waptws Thread-10 10004] INFO Waiting for write loop task to end
2025-02-19 22:41:13,763 [waptws Thread-10 10004] INFO Exiting read loop task
2025-02-19 22:41:14,389 [wapttasks SocketIOClient 10180] INFO Socketio connection params have changed. Socketio needs reconnect
2025-02-19 22:41:14,390 [wapttasks SocketIOClient 10180] INFO Creating socketio client: https://X.X.X:443 client auth cert: ('C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.crt', 'C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.pem') proxies: None verify_cert: False
2025-02-19 22:41:14,393 [wapttasks SocketIOClient 10180] INFO Connecting Socketio to https://X.X.X:443
2025-02-19 22:41:14,394 [waptws SocketIOClient 10180] INFO Attempting WebSocket connection to wss://X.X.X:443/socket.io/?transport=websocket&EIO=4
2025-02-19 22:41:14,411 [waptws SocketIOClient 10180] INFO WebSocket connection accepted with {'sid': 'AljT94iRd0GK7_AcADCo', 'upgrades': [], 'pingTimeout': 20000, 'pingInterval': 25000}
2025-02-19 22:41:14,411 [waptws SocketIOClient 10180] INFO Engine.IO connection established
2025-02-19 22:41:14,412 [waptws SocketIOClient 10180] INFO Sending packet MESSAGE data 0{}
2025-02-19 22:41:14,417 [waptws Thread-13 7524] INFO Received packet MESSAGE data 4{"message":"Connection rejected by server"}
2025-02-19 22:41:14,418 [waptws Thread-14 7244] INFO Connection to namespace / was rejected
2025-02-19 22:41:15,420 [waptws SocketIOClient 10180] INFO Sending packet CLOSE data None
2025-02-19 22:41:15,421 [waptws SocketIOClient 10180] INFO Engine.IO connection dropped
2025-02-19 22:41:15,422 [waptws Thread-12 3448] INFO Exiting write loop task
2025-02-19 22:41:15,425 [waptws Thread-13 7524] INFO Unexpected error decoding packet: "Invalid empty packet received", aborting
2025-02-19 22:41:15,425 [waptws SocketIOClient 10180] WARNING Exception ConnectionError('One or more namespaces failed to connect'), waiting 1.0718750000000001s before retrying
2025-02-19 22:41:15,430 [waptws Thread-13 7524] INFO Waiting for write loop task to end
2025-02-19 22:41:15,433 [waptws Thread-13 7524] INFO Exiting read loop task
2025-02-19 22:41:16,520 [wapttasks SocketIOClient 10180] INFO Socketio connection params have changed. Socketio needs reconnect
2025-02-19 22:41:16,660 [wapttasks SocketIOClient 10180] INFO Creating socketio client: https://X.X.X:443 client auth cert: ('C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.crt', 'C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.pem') proxies: None verify_cert: False
2025-02-19 22:41:16,667 [wapttasks SocketIOClient 10180] INFO Connecting Socketio to https://X.X.X:443
2025-02-19 22:41:16,669 [waptws SocketIOClient 10180] INFO Attempting WebSocket connection to wss://X.X.X:443/socket.io/?transport=websocket&EIO=4
2025-02-19 22:41:16,683 [waptws SocketIOClient 10180] INFO WebSocket connection accepted with {'sid': '_ILNSuBV-y69maiqADCq', 'upgrades': [], 'pingTimeout': 20000, 'pingInterval': 25000}
2025-02-19 22:41:16,684 [waptws SocketIOClient 10180] INFO Engine.IO connection established
2025-02-19 22:41:16,685 [waptws SocketIOClient 10180] INFO Sending packet MESSAGE data 0{}
2025-02-19 22:41:16,690 [waptws Thread-16 7000] INFO Received packet MESSAGE data 4{"message":"Connection rejected by server"}
2025-02-19 22:41:16,691 [waptws Thread-17 6984] INFO Connection to namespace / was rejected
2025-02-19 22:41:17,703 [waptws SocketIOClient 10180] INFO Sending packet CLOSE data None
2025-02-19 22:41:17,704 [waptws SocketIOClient 10180] INFO Engine.IO connection dropped
2025-02-19 22:41:17,705 [waptws Thread-15 1984] INFO Exiting write loop task
2025-02-19 22:41:17,706 [waptws Thread-16 7000] INFO Unexpected error decoding packet: "Invalid empty packet received", aborting
2025-02-19 22:41:17,708 [waptws SocketIOClient 10180] WARNING Exception ConnectionError('One or more namespaces failed to connect'), waiting 1.8757812500000002s before retrying
2025-02-19 22:41:17,711 [waptws Thread-16 7000] INFO Waiting for write loop task to end
2025-02-19 22:41:17,713 [waptws Thread-16 7000] INFO Exiting read loop task
2025-02-19 22:41:19,596 [wapttasks SocketIOClient 10180] INFO Socketio connection params have changed. Socketio needs reconnect
2025-02-19 22:41:19,598 [wapttasks SocketIOClient 10180] INFO Creating socketio client: https://X.X.X:443 client auth cert: ('C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.crt', 'C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.pem') proxies: None verify_cert: False
2025-02-19 22:41:19,599 [wapttasks SocketIOClient 10180] INFO Connecting Socketio to https://X.X.X:443
2025-02-19 22:41:19,601 [waptws SocketIOClient 10180] INFO Attempting WebSocket connection to wss://X.X.X:443/socket.io/?transport=websocket&EIO=4
2025-02-19 22:41:19,638 [waptws SocketIOClient 10180] INFO WebSocket connection accepted with {'sid': '_X3XJ2HS_CXM65DnADCs', 'upgrades': [], 'pingTimeout': 20000, 'pingInterval': 25000}
2025-02-19 22:41:19,639 [waptws SocketIOClient 10180] INFO Engine.IO connection established
2025-02-19 22:41:19,640 [waptws SocketIOClient 10180] INFO Sending packet MESSAGE data 0{}
2025-02-19 22:41:19,646 [waptws Thread-19 6376] INFO Received packet MESSAGE data 4{"message":"Connection rejected by server"}
2025-02-19 22:41:19,647 [waptws Thread-20 11184] INFO Connection to namespace / was rejected
2025-02-19 22:41:20,084 [waptcore WaptTaskManager 6892] DEBUG Loading ssl context with cert C:\Program Files (x86)\wapt\private\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.crt and key C:\Program Files (x86)\wapt\private\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.pem
2025-02-19 22:41:20,093 [urllib3.connectionpool WaptTaskManager 6892] DEBUG Starting new HTTPS connection (1): X.X.X:443
2025-02-19 22:41:20,101 [urllib3.connectionpool WaptTaskManager 6892] DEBUG https://X.X.X:443 "GET /licences.json HTTP/1.1" 200 2
2025-02-19 22:41:20,102 [waptcore WaptTaskManager 6892] DEBUG DB Start transaction
2025-02-19 22:41:20,105 [waptcore WaptTaskManager 6892] DEBUG DB commit
2025-02-19 22:41:20,109 [waptcore WaptTaskManager 6892] DEBUG DB Start transaction
2025-02-19 22:41:20,109 [waptcore WaptTaskManager 6892] DEBUG Remove unknown repositories from packages table and params ("wapt","wapt-host")
2025-02-19 22:41:20,111 [waptcore WaptTaskManager 6892] DEBUG Check last-modified header for wapt to avoid unecessary update
2025-02-19 22:41:20,112 [waptcore WaptTaskManager 6892] DEBUG Loading ssl context with cert C:\Program Files (x86)\wapt\private\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.crt and key C:\Program Files (x86)\wapt\private\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.pem
2025-02-19 22:41:20,113 [waptcore WaptTaskManager 6892] DEBUG Checking availability of https://X.X.X/wapt/Packages
2025-02-19 22:41:20,114 [urllib3.connectionpool WaptTaskManager 6892] DEBUG Starting new HTTPS connection (1): X.X.X:443
2025-02-19 22:41:20,121 [urllib3.connectionpool WaptTaskManager 6892] DEBUG https://X.X.X:443 "HEAD /wapt/Packages HTTP/1.1" 200 0
2025-02-19 22:41:20,122 [waptcore WaptTaskManager 6892] INFO Index from https://X.X.X/wapt has not been updated (last update 2025-02-14T13:41:13+00:00), skipping update
2025-02-19 22:41:20,122 [waptcore WaptTaskManager 6892] DEBUG Check last-modified header for wapt-host to avoid unecessary update
2025-02-19 22:41:20,123 [waptcore WaptTaskManager 6892] DEBUG Checking availability of wapt-host
2025-02-19 22:41:20,124 [waptcore WaptTaskManager 6892] DEBUG Loading ssl context with cert C:\Program Files (x86)\wapt\private\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.crt and key C:\Program Files (x86)\wapt\private\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.pem
2025-02-19 22:41:20,125 [waptcore WaptTaskManager 6892] DEBUG Trying to get host package for rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac at https://X.X.X/wapt-host/rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.wapt
2025-02-19 22:41:20,125 [urllib3.connectionpool WaptTaskManager 6892] DEBUG Starting new HTTPS connection (1): X.X.X:443
2025-02-19 22:41:20,133 [urllib3.connectionpool WaptTaskManager 6892] DEBUG https://X.X.X:443 "HEAD /wapt-host/rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.wapt HTTP/1.1" 404 0
2025-02-19 22:41:20,134 [waptcore WaptTaskManager 6892] INFO No host package available at this time for rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac on wapt-host
2025-02-19 22:41:20,134 [waptcore WaptTaskManager 6892] INFO Index from https://X.X.X/wapt-host has been updated (on None)
2025-02-19 22:41:20,135 [waptcore WaptTaskManager 6892] INFO Read Packages index file for repo wapt-host
2025-02-19 22:41:20,136 [waptcore WaptTaskManager 6892] DEBUG Loading ssl context with cert C:\Program Files (x86)\wapt\private\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.crt and key C:\Program Files (x86)\wapt\private\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.pem
2025-02-19 22:41:20,137 [waptcore WaptTaskManager 6892] DEBUG Trying to get host package for rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac at https://X.X.X/wapt-host/rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.wapt
2025-02-19 22:41:20,138 [urllib3.connectionpool WaptTaskManager 6892] DEBUG Starting new HTTPS connection (1): X.X.X:443
2025-02-19 22:41:20,161 [urllib3.connectionpool WaptTaskManager 6892] DEBUG https://X.X.X:443 "GET /wapt-host/rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.wapt HTTP/1.1" 404 146
2025-02-19 22:41:20,162 [waptcore WaptTaskManager 6892] INFO No host package found for rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac
2025-02-19 22:41:20,164 [waptcore WaptTaskManager 6892] DEBUG DB commit
2025-02-19 22:41:20,167 [waptcore WaptTaskManager 6892] DEBUG Checking availability of host packages "[]"
2025-02-19 22:41:20,168 [waptcore WaptTaskManager 6892] DEBUG store status in DB
2025-02-19 22:41:20,168 [waptcore WaptTaskManager 6892] DEBUG DB Start transaction
2025-02-19 22:41:20,169 [waptcore WaptTaskManager 6892] DEBUG DB commit
2025-02-19 22:41:20,171 [waptcore WaptTaskManager 6892] DEBUG Checking availability of host packages "[]"
2025-02-19 22:41:20,172 [wapttasks WaptTaskManager 6892] INFO Add task Mise à jour de la liste des paquets disponibles to queue
2025-02-19 22:41:20,172 [waptcore WaptTaskManager 6892] DEBUG DB Start transaction
2025-02-19 22:41:20,173 [waptcore WaptTaskManager 6892] DEBUG DB commit
2025-02-19 22:41:20,175 [wapttasks WaptTaskManager 6892] INFO Running task Mise à jour de la liste des paquets disponibles created by SCHEDULER
2025-02-19 22:41:20,175 [waptcore WaptTaskManager 6892] DEBUG Checking if old install in progress
2025-02-19 22:41:20,182 [waptcore WaptTaskManager 6892] DEBUG reset stalled install_status in database
Get packages index from [<WaptRepo https://X.X.X/wapt verify_cert=False client_cert_path=C:\Program Files (x86)\wapt\private\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.crt>, <WaptHostRepo https://X.X.X/wapt-host for host_id rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac >]2025-02-19 22:41:20,184 [waptcore WaptTaskManager 6892] INFO Status : Get packages index from [<WaptRepo https://X.X.X/wapt verify_cert=False client_cert_path=C:\Program Files (x86)\wapt\private\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.crt>, <WaptHostRepo https://X.X.X/wapt-host for host_id rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac >]
2025-02-19 22:41:20,184 [waptcore WaptTaskManager 6892] DEBUG DB Start transaction
2025-02-19 22:41:20,185 [waptcore WaptTaskManager 6892] DEBUG DB commit

2025-02-19 22:41:20,187 [urllib3.connectionpool WaptTaskManager 6892] DEBUG Starting new HTTPS connection (1): X.X.X:443
2025-02-19 22:41:20,194 [urllib3.connectionpool WaptTaskManager 6892] DEBUG https://X.X.X:443 "GET /licences.json HTTP/1.1" 200 2
2025-02-19 22:41:20,194 [waptcore WaptTaskManager 6892] DEBUG DB Start transaction
2025-02-19 22:41:20,195 [waptcore WaptTaskManager 6892] DEBUG DB commit
2025-02-19 22:41:20,197 [waptcore WaptTaskManager 6892] DEBUG DB Start transaction
2025-02-19 22:41:20,198 [waptcore WaptTaskManager 6892] DEBUG Remove unknown repositories from packages table and params ("wapt","wapt-host")
2025-02-19 22:41:20,198 [waptcore WaptTaskManager 6892] DEBUG Check last-modified header for wapt to avoid unecessary update
2025-02-19 22:41:20,199 [waptcore WaptTaskManager 6892] DEBUG Loading ssl context with cert C:\Program Files (x86)\wapt\private\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.crt and key C:\Program Files (x86)\wapt\private\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.pem
2025-02-19 22:41:20,200 [waptcore WaptTaskManager 6892] DEBUG Checking availability of https://X.X.X/wapt/Packages
2025-02-19 22:41:20,200 [urllib3.connectionpool WaptTaskManager 6892] DEBUG Starting new HTTPS connection (1): X.X.X:443
2025-02-19 22:41:20,223 [urllib3.connectionpool WaptTaskManager 6892] DEBUG https://X.X.X:443 "HEAD /wapt/Packages HTTP/1.1" 200 0
2025-02-19 22:41:20,224 [waptcore WaptTaskManager 6892] INFO Index from https://X.X.X/wapt has not been updated (last update 2025-02-14T13:41:13+00:00), skipping update
2025-02-19 22:41:20,225 [waptcore WaptTaskManager 6892] DEBUG Check last-modified header for wapt-host to avoid unecessary update
2025-02-19 22:41:20,226 [waptcore WaptTaskManager 6892] DEBUG Checking availability of wapt-host
2025-02-19 22:41:20,227 [waptcore WaptTaskManager 6892] DEBUG Loading ssl context with cert C:\Program Files (x86)\wapt\private\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.crt and key C:\Program Files (x86)\wapt\private\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.pem
2025-02-19 22:41:20,228 [waptcore WaptTaskManager 6892] DEBUG Trying to get host package for rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac at https://X.X.X/wapt-host/rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.wapt
2025-02-19 22:41:20,229 [urllib3.connectionpool WaptTaskManager 6892] DEBUG Starting new HTTPS connection (1): X.X.X:443
2025-02-19 22:41:20,255 [urllib3.connectionpool WaptTaskManager 6892] DEBUG https://X.X.X:443 "HEAD /wapt-host/rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.wapt HTTP/1.1" 404 0
2025-02-19 22:41:20,255 [waptcore WaptTaskManager 6892] INFO No host package available at this time for rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac on wapt-host
2025-02-19 22:41:20,256 [waptcore WaptTaskManager 6892] INFO Index from https://X.X.X/wapt-host has been updated (on None)
2025-02-19 22:41:20,258 [waptcore WaptTaskManager 6892] INFO Read Packages index file for repo wapt-host
2025-02-19 22:41:20,259 [waptcore WaptTaskManager 6892] DEBUG Loading ssl context with cert C:\Program Files (x86)\wapt\private\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.crt and key C:\Program Files (x86)\wapt\private\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.pem
2025-02-19 22:41:20,260 [waptcore WaptTaskManager 6892] DEBUG Trying to get host package for rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac at https://X.X.X/wapt-host/rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.wapt
2025-02-19 22:41:20,261 [urllib3.connectionpool WaptTaskManager 6892] DEBUG Starting new HTTPS connection (1): X.X.X:443
2025-02-19 22:41:20,269 [urllib3.connectionpool WaptTaskManager 6892] DEBUG https://X.X.X:443 "GET /wapt-host/rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.wapt HTTP/1.1" 404 146
2025-02-19 22:41:20,269 [waptcore WaptTaskManager 6892] INFO No host package found for rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac
2025-02-19 22:41:20,271 [waptcore WaptTaskManager 6892] DEBUG DB commit
2025-02-19 22:41:20,274 [waptcore WaptTaskManager 6892] DEBUG Checking availability of host packages "[]"
2025-02-19 22:41:20,275 [waptcore WaptTaskManager 6892] DEBUG store status in DB
2025-02-19 22:41:20,275 [waptcore WaptTaskManager 6892] DEBUG DB Start transaction
2025-02-19 22:41:20,276 [waptcore WaptTaskManager 6892] DEBUG DB commit
2025-02-19 22:41:20,277 [waptservice WaptTaskManager 6892] DEBUG 1 paquet(s) dans le dépôt
Le système est à jour
2025-02-19 22:41:20,278 [waptcore WaptTaskManager 6892] INFO Status : Done: Mise à jour de la liste des paquets disponibles
1 paquet(s) dans le dépôt
Le système est à jour
2025-02-19 22:41:20,278 [waptcore WaptTaskManager 6892] DEBUG DB Start transaction
2025-02-19 22:41:20,279 [waptcore WaptTaskManager 6892] DEBUG DB commit
2025-02-19 22:41:20,281 [urllib3.connectionpool WaptTaskManager 6892] DEBUG Starting new HTTPS connection (1): X.X.X:443
2025-02-19 22:41:20,289 [urllib3.connectionpool WaptTaskManager 6892] DEBUG https://X.X.X:443 "HEAD /ping HTTP/1.1" 200 0
2025-02-19 22:41:20,307 [waptcore WaptTaskManager 6892] DEBUG Unable to GET username from SID S-1-5-21-3568259251-3243015496-2728530545-1004 : (1332, 'LookupAccountSid', 'Le mappage entre les noms de compte et les ID de sécurité n’a pas été effectué.'), using profile directory instead
2025-02-19 22:41:20,307 [waptcore WaptTaskManager 6892] DEBUG Unable to GET username from SID S-1-5-21-3568259251-3243015496-2728530545-1006 : (1332, 'LookupAccountSid', 'Le mappage entre les noms de compte et les ID de sécurité n’a pas été effectué.'), using profile directory instead
2025-02-19 22:41:20,335 [waptcore WaptTaskManager 6892] DEBUG host_info timing: 0.045000314712524414 s
2025-02-19 22:41:20,438 [waptcore WaptTaskManager 6892] DEBUG host_networking timing: 0.10347700119018555 s
2025-02-19 22:41:20,439 [waptcore WaptTaskManager 6892] DEBUG host_capabilities timing: 0.0009043216705322266 s
2025-02-19 22:41:20,496 [waptcore WaptTaskManager 6892] DEBUG host_metrics timing: 0.05736517906188965 s
2025-02-19 22:41:20,497 [waptcore WaptTaskManager 6892] DEBUG Stores cert chain check in cache
2025-02-19 22:41:20,498 [waptcore WaptTaskManager 6892] DEBUG wapt_status timing: 0.0019974708557128906 s
2025-02-19 22:41:20,508 [waptcore WaptTaskManager 6892] DEBUG installed_softwares timing: 0.009000062942504883 s
2025-02-19 22:41:20,508 [waptcore WaptTaskManager 6892] DEBUG installed_packages_ids timing: 0.0 s
2025-02-19 22:41:20,508 [waptcore WaptTaskManager 6892] DEBUG installed_packages timing: 0.0 s
2025-02-19 22:41:20,508 [waptcore WaptTaskManager 6892] DEBUG packages_audit_status timing: 0.0 s
2025-02-19 22:41:20,510 [waptcore WaptTaskManager 6892] DEBUG last_update_status timing: 0.0 s
2025-02-19 22:41:20,510 [waptcore WaptTaskManager 6892] DEBUG authorized_certificates timing: 0.0 s
2025-02-19 22:41:20,511 [waptcore WaptTaskManager 6892] DEBUG configurations timing: 0.0010025501251220703 s
2025-02-19 22:41:20,511 [waptcore WaptTaskManager 6892] DEBUG audit_data timing: 0.0 s
2025-02-19 22:41:20,511 [waptcore WaptTaskManager 6892] INFO Updated data keys : ['host_info', 'host_metrics', 'last_update_status']
2025-02-19 22:41:20,512 [waptcore WaptTaskManager 6892] INFO Supplied data keys : ['uuid', 'computer_fqdn', 'status_revision', 'host_info', 'host_metrics', 'last_update_status', 'status_hashes']
2025-02-19 22:41:20,512 [waptcore WaptTaskManager 6892] INFO Sending 9712 bytes to server
2025-02-19 22:41:20,660 [waptws SocketIOClient 10180] INFO Sending packet CLOSE data None
2025-02-19 22:41:20,660 [waptws SocketIOClient 10180] INFO Engine.IO connection dropped
2025-02-19 22:41:20,660 [waptws Thread-18 10320] INFO Exiting write loop task
2025-02-19 22:41:20,662 [waptws Thread-19 6376] INFO Unexpected error decoding packet: "Invalid empty packet received", aborting
2025-02-19 22:41:20,663 [waptws SocketIOClient 10180] WARNING Exception ConnectionError('One or more namespaces failed to connect'), waiting 3.2826171875000005s before retrying
2025-02-19 22:41:20,664 [waptws Thread-19 6376] INFO Waiting for write loop task to end
2025-02-19 22:41:20,665 [waptws Thread-19 6376] INFO Exiting read loop task
2025-02-19 22:41:20,748 [urllib3.connectionpool WaptTaskManager 6892] DEBUG Starting new HTTPS connection (1): X.X.X:443
2025-02-19 22:41:20,787 [urllib3.connectionpool WaptTaskManager 6892] DEBUG https://X.X.X:443 "POST /update_host HTTP/1.1" 200 867
2025-02-19 22:41:20,788 [waptcore WaptTaskManager 6892] DEBUG DB Start transaction
2025-02-19 22:41:20,791 [waptcore WaptTaskManager 6892] DEBUG DB commit
2025-02-19 22:41:20,793 [waptcore WaptTaskManager 6892] DEBUG DB Start transaction
2025-02-19 22:41:20,794 [waptcore WaptTaskManager 6892] DEBUG DB commit
2025-02-19 22:41:20,795 [waptcore WaptTaskManager 6892] DEBUG DB Start transaction
2025-02-19 22:41:20,796 [waptcore WaptTaskManager 6892] DEBUG DB commit
2025-02-19 22:41:20,798 [waptcore WaptTaskManager 6892] INFO Status on server https://X.X.X updated properly
2025-02-19 22:41:20,798 [wapttasks WaptTaskManager 6892] INFO update_server_status successful (data size:9712, keys:dict_keys(['uuid', 'computer_fqdn', 'status_revision', 'host_info', 'host_metrics', 'last_update_status', 'status_hashes']))
2025-02-19 22:41:20,798 [waptcore WaptTaskManager 6892] INFO Status :
2025-02-19 22:41:20,799 [waptcore WaptTaskManager 6892] DEBUG DB Start transaction
2025-02-19 22:41:20,799 [waptcore WaptTaskManager 6892] DEBUG DB commit
2025-02-19 22:41:23,961 [wapttasks SocketIOClient 10180] INFO Socketio connection params have changed. Socketio needs reconnect
2025-02-19 22:41:23,962 [wapttasks SocketIOClient 10180] INFO Creating socketio client: https://X.X.X:443 client auth cert: ('C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.crt', 'C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.pem') proxies: None verify_cert: False
2025-02-19 22:41:23,965 [wapttasks SocketIOClient 10180] INFO Connecting Socketio to https://X.X.X:443
2025-02-19 22:41:23,968 [waptws SocketIOClient 10180] INFO Attempting WebSocket connection to wss://X.X.X:443/socket.io/?transport=websocket&EIO=4
2025-02-19 22:41:24,006 [waptws SocketIOClient 10180] INFO WebSocket connection accepted with {'sid': 'OKPDLWtc1JdUEsITADCu', 'upgrades': [], 'pingTimeout': 20000, 'pingInterval': 25000}
2025-02-19 22:41:24,006 [waptws SocketIOClient 10180] INFO Engine.IO connection established
2025-02-19 22:41:24,009 [waptws SocketIOClient 10180] INFO Sending packet MESSAGE data 0{}
2025-02-19 22:41:24,015 [waptws Thread-22 3988] INFO Received packet MESSAGE data 4{"message":"Connection rejected by server"}
2025-02-19 22:41:24,016 [waptws Thread-23 7016] INFO Connection to namespace / was rejected
2025-02-19 22:41:25,028 [waptws SocketIOClient 10180] INFO Sending packet CLOSE data None
2025-02-19 22:41:25,029 [waptws SocketIOClient 10180] INFO Engine.IO connection dropped
2025-02-19 22:41:25,030 [waptws Thread-21 10780] INFO Exiting write loop task
2025-02-19 22:41:25,032 [waptws Thread-22 3988] INFO Unexpected error decoding packet: "Invalid empty packet received", aborting
2025-02-19 22:41:25,034 [waptws SocketIOClient 10180] WARNING Exception ConnectionError('One or more namespaces failed to connect'), waiting 5.744580078125001s before retrying
2025-02-19 22:41:25,037 [waptws Thread-22 3988] INFO Waiting for write loop task to end
2025-02-19 22:41:25,040 [waptws Thread-22 3988] INFO Exiting read loop task
2025-02-19 22:41:30,791 [wapttasks SocketIOClient 10180] INFO Socketio connection params have changed. Socketio needs reconnect
2025-02-19 22:41:30,791 [wapttasks SocketIOClient 10180] INFO Creating socketio client: https://X.X.X:443 client auth cert: ('C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.crt', 'C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.pem') proxies: None verify_cert: False
2025-02-19 22:41:30,793 [wapttasks SocketIOClient 10180] INFO Connecting Socketio to https://X.X.X:443
2025-02-19 22:41:30,796 [waptws SocketIOClient 10180] INFO Attempting WebSocket connection to wss://X.X.X:443/socket.io/?transport=websocket&EIO=4
2025-02-19 22:41:30,809 [waptws SocketIOClient 10180] INFO WebSocket connection accepted with {'sid': 'hiKcnEPTfgbQbox9ADCw', 'upgrades': [], 'pingTimeout': 20000, 'pingInterval': 25000}
2025-02-19 22:41:30,809 [waptws SocketIOClient 10180] INFO Engine.IO connection established
2025-02-19 22:41:30,809 [waptws SocketIOClient 10180] INFO Sending packet MESSAGE data 0{}
2025-02-19 22:41:30,814 [waptws Thread-25 5072] INFO Received packet MESSAGE data 4{"message":"Connection rejected by server"}
2025-02-19 22:41:30,815 [waptws Thread-26 4940] INFO Connection to namespace / was rejected
2025-02-19 22:41:30,816 [waptcore WaptTaskManager 6892] DEBUG DB Start transaction
2025-02-19 22:41:30,816 [waptcore WaptTaskManager 6892] DEBUG DB commit
2025-02-19 22:41:31,821 [waptws SocketIOClient 10180] INFO Sending packet CLOSE data None
2025-02-19 22:41:31,823 [waptws SocketIOClient 10180] INFO Engine.IO connection dropped
2025-02-19 22:41:31,824 [waptws Thread-24 12032] INFO Exiting write loop task
2025-02-19 22:41:31,826 [waptws Thread-25 5072] INFO Unexpected error decoding packet: "Invalid empty packet received", aborting
2025-02-19 22:41:31,827 [waptws SocketIOClient 10180] WARNING Exception ConnectionError('One or more namespaces failed to connect'), waiting 10.053015136718752s before retrying
2025-02-19 22:41:31,829 [waptws Thread-25 5072] INFO Waiting for write loop task to end
2025-02-19 22:41:31,830 [waptws Thread-25 5072] INFO Exiting read loop task
2025-02-19 22:41:40,828 [waptcore WaptTaskManager 6892] DEBUG DB Start transaction
2025-02-19 22:41:40,830 [waptcore WaptTaskManager 6892] DEBUG DB commit
2025-02-19 22:41:41,904 [wapttasks SocketIOClient 10180] INFO Socketio connection params have changed. Socketio needs reconnect
2025-02-19 22:41:41,905 [wapttasks SocketIOClient 10180] INFO Creating socketio client: https://X.X.X:443 client auth cert: ('C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.crt', 'C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.pem') proxies: None verify_cert: False
2025-02-19 22:41:41,907 [wapttasks SocketIOClient 10180] INFO Connecting Socketio to https://X.X.X:443
2025-02-19 22:41:41,908 [waptws SocketIOClient 10180] INFO Attempting WebSocket connection to wss://X.X.X:443/socket.io/?transport=websocket&EIO=4
2025-02-19 22:41:41,936 [waptws SocketIOClient 10180] INFO WebSocket connection accepted with {'sid': '0JeXbojgLvk_7_XWADCy', 'upgrades': [], 'pingTimeout': 20000, 'pingInterval': 25000}
2025-02-19 22:41:41,936 [waptws SocketIOClient 10180] INFO Engine.IO connection established
2025-02-19 22:41:41,937 [waptws SocketIOClient 10180] INFO Sending packet MESSAGE data 0{}
2025-02-19 22:41:41,943 [waptws Thread-28 10904] INFO Received packet MESSAGE data 4{"message":"Connection rejected by server"}
2025-02-19 22:41:41,943 [waptws Thread-29 3588] INFO Connection to namespace / was rejected
2025-02-19 22:41:42,943 [waptws SocketIOClient 10180] INFO Sending packet CLOSE data None
2025-02-19 22:41:42,945 [waptws SocketIOClient 10180] INFO Engine.IO connection dropped
2025-02-19 22:41:42,946 [waptws Thread-27 10188] INFO Exiting write loop task
2025-02-19 22:41:42,948 [waptws Thread-28 10904] INFO Unexpected error decoding packet: "Invalid empty packet received", aborting
2025-02-19 22:41:42,949 [waptws SocketIOClient 10180] WARNING Exception ConnectionError('One or more namespaces failed to connect'), waiting 17.592776489257815s before retrying
2025-02-19 22:41:42,953 [waptws Thread-28 10904] INFO Waiting for write loop task to end
2025-02-19 22:41:42,955 [waptws Thread-28 10904] INFO Exiting read loop task
2025-02-19 22:41:50,857 [waptcore WaptTaskManager 6892] DEBUG DB Start transaction
2025-02-19 22:41:50,858 [waptcore WaptTaskManager 6892] DEBUG DB commit
2025-02-19 22:42:00,560 [wapttasks SocketIOClient 10180] INFO Socketio connection params have changed. Socketio needs reconnect
2025-02-19 22:42:00,561 [wapttasks SocketIOClient 10180] INFO Creating socketio client: https://X.X.X:443 client auth cert: ('C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.crt', 'C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.pem') proxies: None verify_cert: False
2025-02-19 22:42:00,565 [wapttasks SocketIOClient 10180] INFO Connecting Socketio to https://X.X.X:443
2025-02-19 22:42:00,566 [waptws SocketIOClient 10180] INFO Attempting WebSocket connection to wss://X.X.X:443/socket.io/?transport=websocket&EIO=4
2025-02-19 22:42:00,579 [waptws SocketIOClient 10180] INFO WebSocket connection accepted with {'sid': 'K419qYR6AVUADPY2ADC2', 'upgrades': [], 'pingTimeout': 20000, 'pingInterval': 25000}
2025-02-19 22:42:00,579 [waptws SocketIOClient 10180] INFO Engine.IO connection established
2025-02-19 22:42:00,579 [waptws SocketIOClient 10180] INFO Sending packet MESSAGE data 0{}
2025-02-19 22:42:00,584 [waptws Thread-31 12764] INFO Received packet MESSAGE data 4{"message":"Connection rejected by server"}
2025-02-19 22:42:00,584 [waptws Thread-32 8916] INFO Connection to namespace / was rejected
2025-02-19 22:42:00,873 [waptcore WaptTaskManager 6892] DEBUG DB Start transaction
2025-02-19 22:42:00,875 [waptcore WaptTaskManager 6892] DEBUG DB commit
2025-02-19 22:42:01,599 [waptws SocketIOClient 10180] INFO Sending packet CLOSE data None
2025-02-19 22:42:01,601 [waptws SocketIOClient 10180] INFO Engine.IO connection dropped
2025-02-19 22:42:01,602 [waptws Thread-30 8980] INFO Exiting write loop task
2025-02-19 22:42:01,604 [waptws SocketIOClient 10180] WARNING Exception ConnectionError('One or more namespaces failed to connect'), waiting 30.787358856201177s before retrying
2025-02-19 22:42:01,605 [waptws Thread-31 12764] INFO Unexpected error decoding packet: "Invalid empty packet received", aborting
2025-02-19 22:42:01,609 [waptws Thread-31 12764] INFO Waiting for write loop task to end
2025-02-19 22:42:01,610 [waptws Thread-31 12764] INFO Exiting read loop task
2025-02-19 22:42:10,896 [waptcore WaptTaskManager 6892] DEBUG DB Start transaction
2025-02-19 22:42:10,897 [waptcore WaptTaskManager 6892] DEBUG DB commit
2025-02-19 22:42:20,927 [waptcore WaptTaskManager 6892] DEBUG DB Start transaction
2025-02-19 22:42:20,929 [waptcore WaptTaskManager 6892] DEBUG DB commit
2025-02-19 22:42:30,957 [waptcore WaptTaskManager 6892] DEBUG DB Start transaction
2025-02-19 22:42:30,959 [waptcore WaptTaskManager 6892] DEBUG DB commit
2025-02-19 22:42:32,415 [wapttasks SocketIOClient 10180] INFO Socketio connection params have changed. Socketio needs reconnect
2025-02-19 22:42:32,417 [wapttasks SocketIOClient 10180] INFO Creating socketio client: https://X.X.X:443 client auth cert: ('C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.crt', 'C:\\Program Files (x86)\\wapt\\private\\rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac.pem') proxies: None verify_cert: False
2025-02-19 22:42:32,417 [wapttasks SocketIOClient 10180] INFO Connecting Socketio to https://X.X.X:443
2025-02-19 22:42:32,419 [waptws SocketIOClient 10180] INFO Attempting WebSocket connection to wss://X.X.X:443/socket.io/?transport=websocket&EIO=4
2025-02-19 22:42:32,449 [waptws SocketIOClient 10180] INFO WebSocket connection accepted with {'sid': 'WQutNDOMQFXiRLmqADC4', 'upgrades': [], 'pingTimeout': 20000, 'pingInterval': 25000}
2025-02-19 22:42:32,450 [waptws SocketIOClient 10180] INFO Engine.IO connection established
2025-02-19 22:42:32,450 [waptws SocketIOClient 10180] INFO Sending packet MESSAGE data 0{}
2025-02-19 22:42:32,455 [waptws Thread-34 12432] INFO Received packet MESSAGE data 4{"message":"Connection rejected by server"}
2025-02-19 22:42:32,456 [waptws Thread-35 12892] INFO Connection to namespace / was rejected
2025-02-19 22:42:33,468 [waptws SocketIOClient 10180] INFO Sending packet CLOSE data None
2025-02-19 22:42:33,469 [waptws SocketIOClient 10180] INFO Engine.IO connection dropped
2025-02-19 22:42:33,470 [waptws Thread-33 8568] INFO Exiting write loop task
2025-02-19 22:42:33,472 [waptws Thread-34 12432] INFO Unexpected error decoding packet: "Invalid empty packet received", aborting
2025-02-19 22:42:33,473 [waptws SocketIOClient 10180] WARNING Exception ConnectionError('One or more namespaces failed to connect'), waiting 53.87787799835206s before retrying
2025-02-19 22:42:33,476 [waptws Thread-34 12432] INFO Waiting for write loop task to end
2025-02-19 22:42:33,479 [waptws Thread-34 12432] INFO Exiting read loop task

Distinti saluti,

SMA
Avatar utente
blemoigne
Messaggi: 176
Registrazione: 17 luglio 2020 - 11:29

20 febbraio 2025 - 16:18

Ci sono errori lato server relativi a socketio in /var/log/waptserver.log, /var/log/nginx/access.log, /var/log/nginx/error.log?
piccola
Messaggi: 7
Iscrizioni: 17 febbraio 2025 - 11:17

20 febbraio 2025 - 16:55

Buongiorno,

Il messaggio menzionato nel mio primo post appare nel file /var/log/waptserver.log:

Codice: Seleziona tutto

Feb 20 16:44:26 SL346 waptserver[28606]: 2025-02-20 16:44:26,147 [waptws         ] WARNING SocketIO conne
ction refused for uuid rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d-97-ac, sid ZkfqMJ9bS1IlfcR0ADkV: SocketIO
 connection not authorized, invalid token: No authorization token, instance
Per la sezione /var/log/nginx/access.log:

Codice: Seleziona tutto

10.X.X.X - NONE - [20/Feb/2025:16:44:24 +0100] "GET /socket.io/?transport=websocket&EIO=4&t=1740066264.
8367336 HTTP/1.1" 101 139 "-" "-"
10.X.X.X - NONE - [20/Feb/2025:16:44:27 +0100] "GET /socket.io/?transport=websocket&EIO=4&t=1740066267.
38615 HTTP/1.1" 101 139 "-" "-"
10.X.X.X - NONE - [20/Feb/2025:16:44:30 +0100] "GET /socket.io/?transport=websocket&EIO=4&t=1740066271.
0917633 HTTP/1.1" 101 139 "-" "-"
10.X.X.X - NONE - [20/Feb/2025:16:44:33 +0100] "GET /licences.json HTTP/1.1" 200 2 "-" "wapt/2.5.5"
10.X.X.X - NONE - [20/Feb/2025:16:44:33 +0100] "HEAD /wapt/Packages HTTP/1.1" 200 0 "-" "wapt/2.5.5"
10.X.X.X - NONE - [20/Feb/2025:16:44:33 +0100] "HEAD /wapt-host/rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5
d-97-ac.wapt HTTP/1.1" 404 0 "-" "wapt/2.5.5"
10.X.X.X - NONE - [20/Feb/2025:16:44:33 +0100] "GET /wapt-host/rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d
-97-ac.wapt HTTP/1.1" 404 146 "-" "wapt/2.5.5"
10.X.X.X - NONE - [20/Feb/2025:16:44:33 +0100] "GET /licences.json HTTP/1.1" 200 2 "-" "wapt/2.5.5"
10.X.X.X - NONE - [20/Feb/2025:16:44:33 +0100] "HEAD /wapt/Packages HTTP/1.1" 200 0 "-" "wapt/2.5.5"
10.X.X.X - NONE - [20/Feb/2025:16:44:33 +0100] "HEAD /wapt-host/rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5
d-97-ac.wapt HTTP/1.1" 404 0 "-" "wapt/2.5.5"
10.X.X.X - NONE - [20/Feb/2025:16:44:33 +0100] "GET /wapt-host/rnd-1908c904-5d54-4cc1-86-09-46-2f-7a-5d
-97-ac.wapt HTTP/1.1" 404 146 "-" "wapt/2.5.5"
10.X.X.X - NONE - [20/Feb/2025:16:44:33 +0100] "HEAD /ping HTTP/1.1" 200 0 "-" "wapt/2.5.5"
10.X.X.X - NONE - [20/Feb/2025:16:44:34 +0100] "POST /update_host HTTP/1.1" 200 867 "-" "wapt/2.5.5"
10.X.X.X - NONE - [20/Feb/2025:16:44:36 +0100] "GET /socket.io/?transport=websocket&EIO=4&t=1740066276.
767286 HTTP/1.1" 101 139 "-" "-"
10.X.X.X - NONE - [20/Feb/2025:16:44:45 +0100] "GET /socket.io/?transport=websocket&EIO=4&t=1740066285.
8843763 HTTP/1.1" 101 139 "-" "-"
10.X.X.X - NONE - [20/Feb/2025:16:45:00 +0100] "GET /socket.io/?transport=websocket&EIO=4&t=1740066301.
0364926 HTTP/1.1" 101 139 "-" "-"
10.X.X.X - NONE - [20/Feb/2025:16:45:26 +0100] "GET /socket.io/?transport=websocket&EIO=4&t=1740066326.
729642 HTTP/1.1" 101 139 "-" "-"
10.X.X.X - NONE - [20/Feb/2025:16:46:10 +0100] "GET /socket.io/?transport=websocket&EIO=4&t=1740066370.
8836296 HTTP/1.1" 101 139 "-" "-"
Nella sezione /var/log/nginx/error.log:

Codice: Seleziona tutto

"/opt/wapt/waptserver/ssl/cert.pem"
2025/02/20 13:00:22 [warn] 50696#50696: "ssl_stapling" ignored, no OCSP responder URL in the certificate 
"/opt/wapt/waptserver/ssl/cert.pem"
2025/02/20 13:00:22 [notice] 50696#50696: signal process started
2025/02/20 13:00:22 [warn] 28510#28510: "ssl_stapling" ignored, no OCSP responder URL in the certificate 
"/opt/wapt/waptserver/ssl/cert.pem"
2025/02/20 14:00:25 [warn] 50968#50968: "ssl_stapling" ignored, no OCSP responder URL in the certificate 
"/opt/wapt/waptserver/ssl/cert.pem"
2025/02/20 14:00:25 [notice] 50968#50968: signal process started
2025/02/20 14:00:25 [warn] 28510#28510: "ssl_stapling" ignored, no OCSP responder URL in the certificate 
"/opt/wapt/waptserver/ssl/cert.pem"
2025/02/20 15:00:28 [warn] 51236#51236: "ssl_stapling" ignored, no OCSP responder URL in the certificate 
"/opt/wapt/waptserver/ssl/cert.pem"
2025/02/20 15:00:28 [notice] 51236#51236: signal process started
2025/02/20 15:00:28 [warn] 28510#28510: "ssl_stapling" ignored, no OCSP responder URL in the certificate 
"/opt/wapt/waptserver/ssl/cert.pem"
2025/02/20 16:00:22 [warn] 51717#51717: "ssl_stapling" ignored, no OCSP responder URL in the certificate 
"/opt/wapt/waptserver/ssl/cert.pem"
2025/02/20 16:00:22 [notice] 51717#51717: signal process started
2025/02/20 16:00:22 [warn] 28510#28510: "ssl_stapling" ignored, no OCSP responder URL in the certificate 
"/opt/wapt/waptserver/ssl/cert.pem"
Grazie in anticipo per il vostro intervento

Distinti saluti,

SMA
piccola
Messaggi: 7
Iscrizioni: 17 febbraio 2025 - 11:17

27 febbraio 2025 - 11:52

Salve,

avete qualche suggerimento in merito a questo problema?
Grazie in anticipo,

cordiali saluti,
SMA
piccola
Messaggi: 7
Iscrizioni: 17 febbraio 2025 - 11:17

10 marzo 2025 - 09:20

Salve,

se non erro, non ho ricevuto alcun riscontro in merito a questo problema.
Abbiamo acquistato le licenze ma non riusciamo ad andare online a causa di questo inconveniente. Potreste gentilmente ricontattarmi?

Cordiali saluti,

SMA
Avatar utente
dcardon
Esperto WAPT
Messaggi: 1908
Registrazione: 18 giugno 2014 - 09:58
Ubicazione: Saint Sébastien sur Loire
Contatto:

10 marzo 2025 - 15:02

Ciao Sébastien,
sma ha scritto: 10 marzo 2025 - 09:20 A meno che non mi sbagli, non ho ricevuto alcun riscontro su questo problema.
Abbiamo acquistato le licenze e non possiamo andare in produzione a causa di questo problema. Potreste gentilmente ricontattarmi?
Come indicato nel grande riquadro rosso presente su ogni pagina del forum, questo forum è un forum comunitario, senza alcuna garanzia.

Le informazioni sullo strumento di ticketing per l'assistenza ufficiale sono state fornite durante il processo di ordinazione.

Hai una macchina che esegue l'intercettazione SSL tra l'agente e il server? WAPT utilizza l'autenticazione con certificato SSL lato client per autenticare i client una volta registrati (utilizzando Kerberos nel tuo caso).

Sinceramente,

Denis
Denis Cardon - Tranquil IT
Condividi le tue esperienze su WAPT! Inviaci gli URL dei tuoi blog e articoli nella "La tua opinione del forum e li pubblicheremo sul di WAPT
Avatar utente
sfontenau
Esperto WAPT
Messaggi: 2312
Registrato: 10 luglio 2014 - 23:52
Contatto:

10 marzo 2025 - 15:21

Ciao,

ho esaminato più attentamente il tuo messaggio di errore e sembra proprio che l'autenticazione tramite certificato non funzioni. Come ha accennato Denis, hai un reverse proxy in esecuzione o qualcos'altro che sta intercettando traffico che non dovrebbe?

Nel tuo file /opt/wapt/conf/waptserver.ini,

è presente la riga:

`use_ssl_client_auth = True`

Potresti anche aggiornare Wapt alla versione 2.6?
piccola
Messaggi: 7
Iscrizioni: 17 febbraio 2025 - 11:17

10 marzo 2025 - 15:45

Salve,

grazie per il suo feedback.
Sono in attesa di informazioni dal "supporto ufficiale" e li contatterò.
Per completezza, non è presente alcun reverse proxy né intercettazione SSL.

Nel file /opt/wapt/conf/waptserver.ini, use_ssl_client_auth è impostato su False.

Verificherò la versione 2.6; la versione attuale, la 2.5.5, presenta bug noti relativi a questo aspetto?
Bloccato