WAPT 1.8 - SelfService startup error

Share your tips or issues concerning the WAPT Console or WAPT Agent here
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
TomTom
Messages: 79
Registration: May 25, 2018 - 3:43 p.m.

January 22, 2020 - 10:25

Hello everyone,

Following the WAPT update to version 1.8, I am unable to use the SelfService feature.
Here is the error message at startup:

Unable to create file
"C:\Users\'username'\AppData\Local\waptself\waptself.ini"
WAPT version: 2.6.0.17392 (Enterprise Edition)
Server OS: Debian 12 "Bookworm"
Administration/package creation machine OS: Windows 11 24h2
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

January 22, 2020 - 1:47 PM

Hello TomTom,
TomTom wrote: January 22, 2020 - 10:25 AM Following the WAPT update to version 1.8, it's impossible to use SelfService.
Here's the error at startup:

Unable to create file
"C:\Users\'username'\AppData\Local\waptself\waptself.ini"
This is the same directory that was used by the self-service function in version 1.7.4. Could you please verify that the directory exists and if you are able to edit the file in question using Notepad? The file may be locked by another instance of the waptself.exe file.

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
TomTom
Messages: 79
Registration: May 25, 2018 - 3:43 p.m.

January 22, 2020 - 2:01 PM

I just tested it.
The directory does exist and I can edit the "waptself.ini" file with Notepad++.
WAPT version: 2.6.0.17392 (Enterprise Edition)
Server OS: Debian 12 "Bookworm"
Administration/package creation machine OS: Windows 11 24h2
TomTom
Messages: 79
Registration: May 25, 2018 - 3:43 p.m.

January 22, 2020 - 2:06 PM

I'm answering myself:
The problem only occurs on the WAPT administration workstation...
I'm experimenting a bit and will come back to update my investigation information.
WAPT version: 2.6.0.17392 (Enterprise Edition)
Server OS: Debian 12 "Bookworm"
Administration/package creation machine OS: Windows 11 24h2
TomTom
Messages: 79
Registration: May 25, 2018 - 3:43 p.m.

March 3, 2020 - 3:11 PM

Hello everyone,

Having a bit more time to delve into WAPT SelfService, I've run into an authentication problem.

I've successfully created a SelfService package and added my group based on an existing OU in my Active Directory. I
've deployed this package to my test machine, but when I try to log in to SelfService, I consistently get the error: "Incorrect username or password."

I simply can't get it to work, no matter what I try...

If anyone happens to be able to help...

Thanks in advance,
Thomas.
WAPT version: 2.6.0.17392 (Enterprise Edition)
Server OS: Debian 12 "Bookworm"
Administration/package creation machine OS: Windows 11 24h2
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

March 5, 2020 - 09:41

Can you try the following in Python:

Code: Select all

import win32security
huser = win32security.LogonUser('username','DOMAINNAME','password',win32security.LOGON32_LOGON_NETWORK,win32security.LOGON32_PROVIDER_DEFAULT)
Or

Code: Select all

huser = win32security.LogonUser('username','DOMAINNAME','password',win32security.LOGON32_LOGON_NETWORK_CLEARTEXT,win32security.LOGON32_PROVIDER_DEFAULT)
Obviously replace the username, domainname, and password
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

March 10, 2020 - 5:06 PM

Hello TomTom,

there have been several fixes in the latest version. Are you able to reproduce the problem with version 1.8.1?

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
ebo
Messages: 4
Registration: May 18, 2020 - 10:39

June 16, 2020 - 12:07

Hello,
I'm writing to comment on this post.
I have the same problem:
when I try to open the service, I get the error message mentioned above.
I'm on version 1.8.1,
and waptself.ini is created and editable.

I have the impression that the problem is intermittent, because it worked last week with the same account on the same computer.
Since then, nothing has changed (no change of AD password or anything else...).

However, I have the impression that the problem lies with AD's password recognition... because after several attempts, it seems to lock the account.
But... I'm absolutely certain of my password...

If you have any ideas, I'd appreciate it.

Thank you :)
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

June 16, 2020 - 2:14 PM

You can try switching to the following authentication method: waptserver-ldap:

https://www.wapt.fr/fr/doc/wapt-usage/w ... elfservice
Locked