[RESOLVED] UPDATE 2.6.0.16767: No more HTTP access!!!

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
User avatar
t.heroult
Messages: 307
Registration: December 8, 2020 - 10:13 AM

January 10, 2025 - 12:39

Good morning

I just installed the latest version of WAPT and nothing works anymore!
I can no longer connect via the web browser or via the console.
The login information is being rejected even though it is correct...
Server log:

Code: Select all

Jan 10 12:33:27 SRVWAPT-SRV waptserver[1682740]: 2025-01-10 12:33:27,779 [waptauth       ] WARNING Failed auth for None from MON_IP path /
Jan 10 12:33:29 SRVWAPT-SRV waptserver[1682740]: 2025-01-10 12:33:29,146 [waptauth       ] WARNING Failed auth for MON_LOGIN from MON_IP path /
Jan 10 12:34:05 SRVWAPT-SRV waptserver[532]: 2025-01-10 12:34:05,588 [waptauth       ] WARNING Failed auth for MON_LOGIN from MON_IP path /
...
Jan 10 12:34:07 SRVWAPT-SRV waptserver[532]: 2025-01-10 12:34:07,284 [waptauth       ] WARNING Failed auth for MON_LOGIN from MON_IP path /
Jan 10 12:35:56 SRVWAPT-SRV waptserver[532]: 2025-01-10 12:35:56,728 [waptauth       ] WARNING Failed auth for MON_LOGIN from MON_IP path /api/v3/login
Jan 10 12:40:09 SRVWAPT-SRV waptserver[532]: 2025-01-10 12:40:09,073 [waptauth       ] WARNING Failed auth for MON_LOGIN from MON_IP path /api/v3/login

Any ideas?
Last edited by t.heroult on 10 Jan 2025 - 15:30, edited 1 time.
Server: WAPT Enterprise 2.6.1.17786 on Debian
Consoles: Windows 10 & 11
Infrastructure: Windows

Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

January 10, 2025 - 12:56

Hello,

is this an LDAP or admin connection?

In the changelog, we specified

[REF] waptserver: remove config wapt_admin_group_dn replace by wapt_admin_group (specify a samaccountname).

Do you have wapt_admin_group_dn in your configuration or wapt_admin_group?
User avatar
t.heroult
Messages: 307
Registration: December 8, 2020 - 10:13 AM

January 10, 2025 - 12:59

LDAP connection.
I just checked and modified the waptserver.ini file to change the parameter name, and even after rebooting, the problem remains the same.
Server: WAPT Enterprise 2.6.1.17786 on Debian
Consoles: Windows 10 & 11
Infrastructure: Windows

Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

January 10, 2025 - 2:05 PM

Can you test this script?

/opt/wapt/waptserver/scripts/testing-ldap-connectivity.sh
User avatar
t.heroult
Messages: 307
Registration: December 8, 2020 - 10:13 AM

January 10, 2025 - 2:06 PM

Result:

Code: Select all

{'success': False, 'groups': [], 'error': False, 'msg': 'Kerberos EGssApi: Failed to acquire credentials for specified user - Unspecified GSS failure.  Minor code may provide more information'}
Server: WAPT Enterprise 2.6.1.17786 on Debian
Consoles: Windows 10 & 11
Infrastructure: Windows

Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

January 10, 2025 - 2:11 PM

Can you run `

kinit username?

--> password`?

What is the Wapt configuration at the LDAP level? (IP address, not server address?)
User avatar
t.heroult
Messages: 307
Registration: December 8, 2020 - 10:13 AM

January 10, 2025 - 2:25 PM

kinit:
It asked for the password, I entered it and it returned to the prompt without further information (in any case, no error message)

Config:
In the waptserver.ini, the ldap_auth_server is in name, not in IP.
Server: WAPT Enterprise 2.6.1.17786 on Debian
Consoles: Windows 10 & 11
Infrastructure: Windows

Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

January 10, 2025 - 2:40 PM

And the name does indeed correspond to a DC?

otherwise you can delete

ldap_auth_server
ldap_auth_base_dn

and leave only:

Code: Select all

ad_domain_name = ad.mydomain.lan
wapt_admin_group = waptadmins
In this way, if the site and service are properly configured, the Wapt server will act like a Windows client, making a clap request to automatically find the correct domain controller.

In case of AD migration, name change, etc., WAPT will automatically resume working ;)
User avatar
t.heroult
Messages: 307
Registration: December 8, 2020 - 10:13 AM

January 10, 2025 - 3:23 PM

Yes, this is indeed the main DC.
The configuration is exactly the same as with the second WAPT server (previous version), which does not present any access problems.
Server: WAPT Enterprise 2.6.1.17786 on Debian
Consoles: Windows 10 & 11
Infrastructure: Windows

Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
User avatar
t.heroult
Messages: 307
Registration: December 8, 2020 - 10:13 AM

January 10, 2025 - 3:30 PM

Okay, I found it.
When I renamed the "wapt_admin_group" parameter, I left the value as "dn"...
I changed it to samaccountname and rebooted, and it's working.

It's a shame it didn't happen during the update ;)

. Thanks for your help!
Server: WAPT Enterprise 2.6.1.17786 on Debian
Consoles: Windows 10 & 11
Infrastructure: Windows

Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
Locked