Application rejected connection

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
Answer
galio
Messages: 9
Registration: June 16, 2021 - 2:55 PM

February 8, 2024 - 10:25

Good morning,

I have several posts that seem to change their UUID for no apparent reason.

These machines appear disconnected in the console, and in the server logs I have:

Code: Select all

[waptws         ] WARNING Application rejected connection
[waptserver     ] CRITICAL Get_websocket_auth_token failed EWaptAuthenticationFailure('Unknown host UUID RND-2049E68D-A262-4C90-81AB-A1B714BC4BB4. Please register first.')
[waptws         ] WARNING SocketIO connection refused for uuid RND-2049E68D-A262-4C90-81AB-A1B714BC4BB4, sid 347b08d0406c412086dbd199ff6fbf9e: Unknown host RND-2049E68D-A262-4C90-81AB-A1B714BC4BB4, instance
I tried to register a machine and indeed its UUID changed; moreover, the format of this UUID is not the same (prefixed by RND-):
Screenshot from 2024-02-08 10-20-00.png
Screenshot from 2024-02-08 10-20-00.png (16.17 KB) Viewed 3566 times
What could be causing this problem? And, more importantly, how can I restore communication with my workstations that are not on-site?

THANKS.
- Installed WAPT version: 2.4.0.14143 Enterprise
- Server OS: Debian 11.8
- Administration/package creation machine OS: Windows 10
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

February 8, 2024 - 11:34

Hello,

you can upgrade to version 2.5.3 of Wapt, which should resolve this type of problem.

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

February 8, 2024 - 12:15

Hello Stéphane,

WAPT uses the BIOS UUID returned by WMI by default. If WMI is not responding (because the WMI database is down, or for another reason), a random UUID can be retrieved (starting with RND-*).

We added several extra checks in WAPT 2.5 to address this issue.

Regarding your remote workstations, if the UUID changes, they should try to re-register with the WAPT server, unless you have a reverse proxy handling TLS termination and certificate validation. How did you configure the machine registration?

Best regards,

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
galio
Messages: 9
Registration: June 16, 2021 - 2:55 PM

February 8, 2024 - 1:21 PM

Hello and thank you for your replies

I understand the RND-* UUIDs better now; I just checked the machine I re-registered, and the BIOS UUID given by WMI does indeed correspond to the old UUID:

Code: Select all

C:\Windows\system32>wmic path win32_computersystemproduct get uuid 
UUID                                  
4C4C4544-0033-3810-804A-C6C04F565033  
I have the same value in the wapt console, so wmi seems to be responding correctly.

There is no reverse proxy but registration requires authentication, that's why clients do not re-register.

I was looking at the logs to make sure everything was okay before doing the 2.5 update; if it helps to solve the problem, I'll do it quickly.

However, I don't see how to re-establish communication with the still-erroneous workstations. Will clients on version 2.4 change the UUID again if they manage to read the WMI database?

Sincerely
- Installed WAPT version: 2.4.0.14143 Enterprise
- Server OS: Debian 11.8
- Administration/package creation machine OS: Windows 10
Answer