[SOLVED] No authorization token - Windows Agent

Questions about WAPT Server / Requests and help related to the WAPT server
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
sma
Messages: 7
Registration: February 17, 2025 - 11:17

February 17, 2025 - 11:47

Good morning,

I am currently experiencing a "post-registration" problem with agents at the WAPT server level.
The machine registration via Kerberos is working correctly; the workstation appears on the console, however the status remains "Disconnected"

On the client side, the following messages are present in the waptservice.log file (W10 Enterprise machine, version 19045):

Code: Select all

[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
On the server side, the following messages are present in the waptserveur.log file (server running Red Hat 11.5.0)

Code: Select all

[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 terms of flow, I can see my agent accessing the WAPT URL and then being redirected to the WebService part of the server, but the connection is reset by the server after a few exchanges.

WAPT Server version: 2.5.5.15697
WAPT Agent version: 2.5.5.15697
WAPT Setup version: 2.5.5.15697
WAPT Deploy version: 2.5.5.15697

Thank you in advance for your help

Best regards,

SMA
User avatar
blemoigne
Messages: 178
Registration: July 17, 2020 - 11:29

February 19, 2025 - 4:11 PM

Good morning,
On a machine that appears disconnected, launch a command prompt as administrator, then:

Code: Select all

runwaptservice -ldebug
Let it run for 2 minutes and send us the entire result.
You can then restart WAPTService (Windows service).
Have a good rest of the day
Bertrand
sma
Messages: 7
Registration: February 17, 2025 - 11:17

February 19, 2025 - 10:50 PM

Good morning,

First of all, thank you for taking the request into account and for your feedback.
You will find the content below:

Code: Select all

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

Best regards,

SMA
User avatar
blemoigne
Messages: 178
Registration: July 17, 2020 - 11:29

February 20, 2025 - 4:18 PM

Are there any server-side errors related to socketio in /var/log/waptserver.log, /var/log/nginx/access.log, /var/log/nginx/error.log?
sma
Messages: 7
Registration: February 17, 2025 - 11:17

February 20, 2025 - 4:55 PM

Good morning,

The message mentioned in my first post appears in the /var/log/waptserver.log file:

Code: Select all

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
For the /var/log/nginx/access.log section:

Code: Select all

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 "-" "-"
In the /var/log/nginx/error.log section:

Code: Select all

"/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"
Thank you in advance for your actions

Best regards,

SMA
sma
Messages: 7
Registration: February 17, 2025 - 11:17

February 27, 2025 - 11:52

Hello,

do you have any suggestions regarding this issue?
Thank you in advance,

Best regards,
SMA
sma
Messages: 7
Registration: February 17, 2025 - 11:17

March 10, 2025 - 09:20

Hello,

Unless I'm mistaken, I haven't received any feedback on this issue.
We have purchased licenses and are unable to go live due to this problem. Could you please get back to me?

Best regards,

SMA
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

March 10, 2025 - 3:02 PM

Hello Sébastien,
sma wrote: March 10, 2025 - 9:20 AM Unless I'm mistaken, I haven't received any feedback on this issue.
We have purchased licenses and cannot go into production because of this problem. Could you please get back to me?
As the large red box on each page of the forum states, this forum is a community forum, without any guarantees.

The ticketing tool information for official support was provided during the ordering process.

Do you have a machine that performs SSL interception between the agent and the server? WAPT uses client-side SSL certificate authentication to authenticate clients once they are registered (using Kerberos in your case).

Sincerely,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

March 10, 2025 - 3:21 PM

Hello,

I've taken a closer look at your error message, and it does indeed seem that certificate authentication isn't working. As Denis mentioned, do you have a reverse proxy running or something else that's capturing traffic that shouldn't be?

In your /opt/wapt/conf/waptserver.ini file,

do you have this line:

`use_ssl_client_auth = True`

Could you also upgrade to Wapt version 2.6?
sma
Messages: 7
Registration: February 17, 2025 - 11:17

March 10, 2025 - 3:45 PM

Hello,

thank you for your feedback.
I'm waiting for information from "official support" and will contact them.
For context, there is no reverse proxy or SSL interception.

In the /opt/wapt/conf/waptserver.ini file, use_ssl_client_auth is set to False.

I'll check for version 2.6; does the current version, 2.5.5, have any known bugs related to this?
Locked