[RESOLVED] Devices disconnected since update 2.5

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
morvan-n
Messages: 4
Registration: May 6, 2022 - 5:11 p.m.

January 26, 2024 - 6:23 PM

Debian server 12
wapt version 2.5.2.15207

Good morning,

Following the update to version 2.5, all my workstations are in disconnected status in the console.

I tried the procedure described in the other post without success.

Code: Select all

net stop waptservice
suppression des fichiers C:\Program Files (x86)\wapt\log\waptservicestate et C:\Program Files (x86)\wapt\log\waptservicestate.html
net start waptservice
The commands wapt-get update and wapt-get upgrade work from a client.

I enabled certificate authentication when upgrading to version 2.5 and generated a new agent to update my clients.

Here is the error message I get in the waptserveur.log file:

Code: Select all

connection refused for uuid xxx, sid xxx: SocketIO connection not authorized, invalid token: No authorization token, instance
Thank you for your help
Nicolas
Crous Strasbourg
Messages: 1
Registration: January 29, 2024 - 09:48

January 29, 2024 - 10:04

Hello,

I had the same problem.

WORKAROUND:
During the PostConf on the server, you can choose not to check the certificate and check: "
Don't check HTTPS client certificate (legacy)".

Then the client machines will appear in your console. However, you'll encounter another bug: the machines will remain CONNECTED despite the refresh.
You'll then need to reset the connection by performing a "Reset of established WebSocket connections" in the console on the host in question.

SOLUTION:
This solution was suggested to me by Tranquil It. Nevertheless, I found a solution to the initial problem: I was on Debian 11 and I upgraded to 12. This solved the problem.

Have a good day,
Matthieu
morvan-n
Messages: 4
Registration: May 6, 2022 - 5:11 p.m.

January 31, 2024 - 09:57

Hello,

thank you for your feedback. Indeed, by checking "Don't check HTTPS client certificate (legacy)," I can see my connected devices again in the console, but resetting the WebSocket doesn't do anything, and all my devices are still connected...

Ultimately, there's no perfect solution at the moment.

Sincerely,
Nicolas
bkolovljanovic
Messages: 23
Registration: Apr 20, 2022 - 2:26 p.m.

February 7, 2024 - 10:39

Hello Nicolas,

These problems are resolved in version 2.5.3 ;)
morvan-n
Messages: 4
Registration: May 6, 2022 - 5:11 p.m.

February 7, 2024 - 4:08 PM

Hello,

Yes, everything is working correctly again with version 2.5.3. ;)

Nicolas
kvnwsr
Messages: 2
Registration: February 8, 2024 - 9:10 AM

February 8, 2024 - 9:32 AM

Hello,

we have the same problem.
We installed version 2.5.3, but the issue persists.

The server is AlmaLinux release 8.9 (Midnight Oncilla).

No workaround has worked for us. :(

Thank you for your help,
Kevin
User avatar
dcardon
WAPT Expert
Messages: 1930
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

February 8, 2024 - 12:20

Hi Kevin,

do you have a reverse proxy in front of your WAPT server, a filtering firewall/WAF, or anything else?

Is the connection HTTPS? Is certificate validation enabled on the client?

In version 2.5.3, we removed the "Don't check HTTPS client certificate (legacy)" option, which disables SSL authentication at the Nginx level (which then delegates it to Python scripts). This option actually causes more problems than it solves.

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
kvnwsr
Messages: 2
Registration: February 8, 2024 - 9:10 AM

February 8, 2024 - 2:06 PM

Hello Denis,

Thank you for your reply.

We don't have a reverse proxy.
I tried disabling the firewall, but it didn't change anything.

The connection is established via HTTPS, and certificate validation is not enabled on the clients.
Our configuration worked fine in version 2.4.

Can I revert to version 2.4, given that some clients have already upgraded to 2.5.3?
Christophe
Messages: 85
Registration: June 5, 2018 - 8:31 AM
Location: Arras (62)
Contact :

February 8, 2024 - 2:54 PM

Hello,
I have exactly the same problem as Kevin after upgrading to version 2.5.3.
For your information, I'm on a Windows server.
We also don't have a reverse proxy, and the firewall is disabled on the client.

For now, I've reverted to version 2.4 (snapshot).
I made a full copy of our server and a client to test version 2.5.3 on an isolated network. But I can't figure out where the problem is coming from.
Christophe
Messages: 85
Registration: June 5, 2018 - 8:31 AM
Location: Arras (62)
Contact :

February 8, 2024 - 4:01 PM

My mistake, I hadn't realized that my clients also needed to be on version 2.5 to be available on the server again.

The problem should therefore be resolved for my domain-joined PCs using the agent installation GPO, but how do I install the 2.5 client for my non-domain PCs?
Locked