Logs problem: Failed auth

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
thomas789
Messages: 95
Registration: May 31, 2021 - 3:44 p.m.

March 12, 2025 - 4:31 PM

INFO:

WAPT Server version: 2.6.0.16552
WAPT Agent version: 2.6.0
WAPT Console version: 2.6.0.16767
My admin PC version: Ubuntu 24.04

Hello, I'm taking the liberty of bumping an old topic (viewtopic.php?t=3683We're experiencing the same problem on ours. What troubleshooting steps could we take? Thanks in advance.

Code for our case that spams the logs every minute:

Code: Select all

[waptserver] CRITICAL host_tasks_status failed EWaptHostUnreachable('Host not connected, Websocket sid not in database') 2025-03-12T16:08 NOM_DU_SERVEUR waptserver[881]: 2025-03-12 16:08:17 
[waptauth] WARNING Failed auth for None from IP_DU_POSTE path /add_host
thomas789
Messages: 95
Registration: May 31, 2021 - 3:44 p.m.

March 14, 2025 - 4:48 PM

Good morning,

To add context, we recently changed the WAPT server name, and upon closer inspection of the configuration, I noticed that the Nginx configuration still has the old server name for the following line:

Code: Select all

ssl_client_certificate "/opt/wapt/conf/ca-ANCIEN_NOM_DE_SERVEUR.crt";
As well as the crt + pem keys, present in /opt/wapt/conf/, still have this old name.

This might explain these errors. Furthermore, could you please tell me the procedure to follow to correct this?

Thanks in advance,

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

March 28, 2025 - 12:06

Hello Thomas,

this certificate is used to sign and validate client certificates for WAPT agents. In practice, the only impact of the server name is the name displayed when you double-click the .crt file on the agent. So, having the old name here isn't a problem.

If you want the new server name, you'll need to create a new .crt + .pem file, but all agents will have to re-register with the WAPT server. Therefore, the Kerberos configuration must be correct.

Regarding the initial problem, it seems that one agent isn't properly registered with the server; we'll need to investigate why.

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
Answer