Page 1 of 1

[RESOLVED] Posts in DISCONNECTED status even though they are online.

Published: January 11, 2024 - 3:40 PM
by Davy Magnand
Hello everyone,

I have several machines with a DISCONNECTED status even though they are online.
When accessing them remotely, running "wapt-get update" and "wapt-get upgrade" on one of them (Windows 10 Pro) updates the package list and installs the packages correctly.
It also updates the console, setting the package status to OK, but the machine remains DISCONNECTED!

See the posts
at viewtopic.php?p=7228,
viewtopic.php?p=5448,
and viewtopic.php?p=3977.)
The machine and server time are correct, and restarting the WAPTService or resetting the WebSockets hasn't resolved the issue.

In the logs after restarting the WAPTService, there is:
C:\Program Files (x86)\wapt\wapt-get.exe (2023-06-22 09:38:30)
Host=xxxx User=xxxxx CPU=8xIntel(R)Core(TM)i5-10210UCPU@1.60GHz6MBcache(x86)*9-6-36364:FFFBEBBF87F3DAFEAF679C0000000000000400BC OS=23.0=10.0.19045 Wow64=1 Freq=1000000
[...]
20240111 09004932 EXC EPySystemExit {Message:"Unhandled SystemExit exception. Code: 0"} [Main] at 5b6ec5

Do you know where this comes from? Can he come?
Thank you for your help.
Davy

WAPT Server version: 2.4.0.14080
Debian GNU/Linux 11 (bullseye)

Re: Posts showing as DISCONNECTED even though they are online.

Published: January 12, 2024 - 7:55 AM
by x-davidl
Hello,

could you please try the following commands on a computer:

`net stop waptservice`
(this will delete the files C:\Program Files (x86)\wapt\log\waptservicestate and C:\Program Files (x86)\wapt\log\waptservicestate.html) and
`net start waptservice`

? Regards,

Re: Posts showing as DISCONNECTED even though they are online.

Published: January 12, 2024 - 10:45 AM
by Davy Magnand
Hello x-davidl,

Thank you for your reply.
Indeed, this resolved the issue; the agent reconnected successfully and is now reachable in the console.
What are these files for?
Do you think I can generalize this method to all workstations, reachable or not, by creating a GPO to stop the WAPT services and delete these files?
Thank you
. Best regards,
Davy

Re: Posts showing as DISCONNECTED even though they are online.

Published: January 16, 2024 - 08:46
by x-davidl
Hello,

I was also given that procedure...
yes, you can do it on a case-by-case basis. WAPT is robust enough that you'll only need this procedure for the few machines that appear disconnected.
The problem with GPO is that it's too drastic and systematic, unless you have several dozen disconnected machines.

I'll leave it to the moderators to explain the purpose of these files :-)

. Regards,

Re: [RESOLVED] Posts in DISCONNECTED status even though they are online.

Published: January 23, 2024 - 11:42 AM
by Davy Magnand
THANKS

Re: [RESOLVED] Posts in DISCONNECTED status even though they are online.

Published: January 23, 2024 - 5:18 PM
by dcardon
Hello DavyMagnand and x-davidl,

thank you for your feedback.

We had some obscure bugs with this file that blocked startup (even though it shouldn't...). It's possible there was a conflict between WAPT and antivirus software.

We finally removed it in WAPT version 2.5. So, it shouldn't happen again once you've upgraded.

Sincerely,

Denis