[RESOLVED] Agents "DISCONNECTED" after update 2.4 -> 2.6

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
Locked
lowix
Messages: 24
Registration: Apr 02, 2017 - 5:59 p.m.

November 28, 2024 - 4:30 PM

Hello,

On a Linux Ubuntu 22.04 server, I recently updated WAPT from version 2.4 to version 2.6.

Although I followed the update procedure exactly, including the post-configuration steps, all clients now appear as disconnected. :(

On a new computer, after disabling the firewall and manually installing the WAPT agent version 2.6, the agent appears correctly in the console, but it still shows as "DISCONNECTED".

Could you please help me resolve this issue?

Thank you in advance for your assistance.

Best regards,



- Installed WAPT version: 2.6
- Server OS: Linux
- Administration/package creation machine OS: Windows 10
Last edited by lowix on Dec 3, 2024 - 2:06 PM, edited 1 time.
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

November 29, 2024 - 5:42 PM

Hello lowix,
lowix wrote: Nov 28, 2024 - 4:30 PM On a Linux Ubuntu 22.04 server, I recently updated WAPT from version 2.4 to version 2.6.

Although I followed the update procedure to the letter, including the post-configuration steps, all clients now appear as disconnected. :(

On a new computer, after disabling the firewall and manually installing the WAPT agent version 2.6, the agent appears correctly in the console, but it still shows as "DISCONNECTED".

Could you help me resolve this issue?
It's going to be difficult to solve the problem with so little information... And if you want someone to help you solve your problem, it's more like a support ticket than a help forum... :-)

Which upgrade documentation did you follow exactly? The 2.5 to 2.6 upgrade or the 2.4 to 2.6 upgrade [1]? Is there any SSL interception, reverse proxies, etc.? Are there any server-side and client-side logs?

Sincerely,

Denis


[1] https://www.wapt.fr/en/doc/wapt-server- ... 2-4-to-2-6
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
lowix
Messages: 24
Registration: Apr 02, 2017 - 5:59 p.m.

December 2, 2024 - 12:12

Hello Mr. Cardon,

Thank you for your reply!

I realize that my first message lacked detail. I will therefore provide some clarification.

First, let me introduce myself: I work for a university and I have deployed WAPT in three different universities over the past 10 years. These projects have always been successful, with full support from my IT colleagues and users. I would also like to sincerely thank you for the quality of your solution, and I will be sure to visit your booth at the next JRES.

Currently, I manage a small network of about 100 workstations in a lab. The infrastructure is quite simple: a WAPT server (VM) running Linux, accessible only by machines on its private VLAN, without any special security measures such as proxies or SSL interception. The agent is deployed via GPO (I have already started deploying version 2.6 of the agent).

I started with version 2.4, which installed and configured without any problems, and everything worked perfectly for about a year.

Recently, I decided to upgrade to version 2.6, and that's where the difficulties began.
I followed the documentation: https://www.wapt.fr/en/doc/wapt-server- ... 2-4-to-2-6.

I didn't encounter any particular difficulties during the upgrade, and I don't think I missed any steps, but it's still possible I might have overlooked something important.

Perhaps I should have upgraded to version 2.5 first before moving to 2.6?

In any case, all workstations now appear as "DISCONNECTED".

I also tested installing an administration console on a freshly installed Windows 10 VM, but the problem persists.

I am available to provide more information or logs if that would help you better understand and resolve this issue.

Thank you very much!
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

December 2, 2024 - 12:20

Hello lowix,
lowix wrote: Dec 2, 2024 - 12:12 PM Thank you for your reply!

I realize that my first message lacked detail. I will therefore provide some clarification.

First, let me introduce myself: I work for a university and I have deployed WAPT in three different universities over the past 10 years. These projects have always been successful, with full support from my IT colleagues and users. I would also like to sincerely thank you for the quality of your solution, and I will be sure to visit your booth at the next JRES.
I'd love to, I'll be at the booth. It's always nicer to put a face to a username :-)
Currently, I manage a small network of about 100 workstations in a lab. The infrastructure is quite simple: a WAPT server (VM) running Linux, accessible only by machines on its private VLAN, without any special security measures like proxies or SSL interception. The agent is deployed via GPO (I've actually started deploying version 2.6 of the agent).

I began with version 2.4, which installed and configured without any problems, and everything worked perfectly for about a year.

Recently, I decided to upgrade to version 2.6, and that's where the difficulties began.
I followed the documentation: https://www.wapt.fr/en/doc/wapt-server- ... 2-4-to-2-6
Okay, very well, there are a couple of things that changed in 2.5, so it's important to pay close attention to all the points mentioned in this section. The biggest change is the requirement to use HTTPS.
I didn't encounter any particular difficulties during the update and I don't think I missed any steps, but it's always possible I might have overlooked something important.

Perhaps I should have upgraded to version 2.5 first before moving on to 2.6?
No, not at all, we just abandoned the direct upgrade from 1.8 to 2.6, but otherwise for all versions in 2.x you can upgrade directly.
In any case, all workstations now appear as "DISCONNECTED".

I also tested installing an administration console on a freshly installed Windows 10 VM, but the problem persists.
When you run a wapt-get update / upgrade / install / search command locally, does the machine communicate properly with the server?

The DISCONNECTED message indicates that the WebSocket, which allows the agent to receive instructions from the server, is not being established. The install/upgrade process uses HTTPS, not WebSocket.

Are the agents correctly configured with an HTTPS server URL? Is the certificate self-signed, internal PKI, commercial, or Let's Encrypt?

Are there other things hosted on the same server? Did you restart the postconf?

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
lowix
Messages: 24
Registration: Apr 02, 2017 - 5:59 p.m.

December 2, 2024 - 1:11 PM

Hello Denis,

Thank you for your detailed feedback.

Yes, the agents are correctly configured with an HTTPS server URL, and a Wapt-Get update on a client machine seems to work:

Code: Select all

C:\Users\lonoel>wapt-get update
Waptservice User: lonoel  ()
Update of packages index enqueued
 : 100% completed
41 paquet(s) dans le dépôt
Le système est à jour
I realize that during the initial installation of version 2.4, I didn't configure an HTTPS certificate. This could explain the communication problem.

I will take care of installing an HTTPS certificate and I will keep you informed of the results.

Thank you again for your help!

Yours sincerely,
lowix
Messages: 24
Registration: Apr 02, 2017 - 5:59 p.m.

December 3, 2024 - 2:06 PM

Hello Denis,

Thank you so much for your invaluable help regarding the client disconnection issue after updating to WAPT version 2.6.

Thanks to your advice, I was able to identify that the lack of a specific SSL certificate was the cause of the problem.

After installing the certificate provided by my university's IT department, everything is working perfectly again!

Thank you so much!!!
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

December 3, 2024 - 6:07 PM

Good evening Lowix,

thank you for the feedback. :-)

See you soon at the JRES!

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
Locked