[SOLVED] installation error failed as 401 Unauthorized
Published: Dec 24, 2025 - 08:58
Hello,
License: enterprise
version: 2.6.1.17472
Windows 11 25H2
I created a powershell script to install the agent on workstations in certain cases.
The waptdeploy.exe is that of the server = 2.6.1.17472
$Path= $PSScriptRoot
cd $PSScriptRoot
./waptdeploy.exe --hash=ed805600a3653a9c5c8901c8dda8b62220778bcb192d49b9ae385509007e71d7 --minversion=2.6.1.17472 --wait=15 --waptsetupurl=https://srvwapt.mondomaine.fr/api/v3/ge ... tagent.exe
Start-Sleep -Seconds 30
cd "C:\Program Files (x86)\wapt"
./wapt-get reset-config-from-url https://srvwap.mondomaine.frt/wapt/conf ... 9d79e.json
I have an error:
Error trying to get https://srvwapt.mondomaine.fr/api/v3/get_waptagent_exe/ : Error downloading https://srvwapt.mondomaine.fr/api/v3/get_waptagent_exe/: [EHttpSocket] THttpClientSocket.WGet: srvwapt.mondomaine.fr:443/api/v3/get_waptagent_exe/
failed as 401 Unauthorized... sleeping
Delete sheduled task "fullwaptupgrade"
if I go to the url https://srvwapt.mondomaine.fr/api/v3/ge ... tagent.exe
I get this nice error message:
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
systemctl status nginx.service
the system is active
License: enterprise
version: 2.6.1.17472
Windows 11 25H2
I created a powershell script to install the agent on workstations in certain cases.
The waptdeploy.exe is that of the server = 2.6.1.17472
$Path= $PSScriptRoot
cd $PSScriptRoot
./waptdeploy.exe --hash=ed805600a3653a9c5c8901c8dda8b62220778bcb192d49b9ae385509007e71d7 --minversion=2.6.1.17472 --wait=15 --waptsetupurl=https://srvwapt.mondomaine.fr/api/v3/ge ... tagent.exe
Start-Sleep -Seconds 30
cd "C:\Program Files (x86)\wapt"
./wapt-get reset-config-from-url https://srvwap.mondomaine.frt/wapt/conf ... 9d79e.json
I have an error:
Error trying to get https://srvwapt.mondomaine.fr/api/v3/get_waptagent_exe/ : Error downloading https://srvwapt.mondomaine.fr/api/v3/get_waptagent_exe/: [EHttpSocket] THttpClientSocket.WGet: srvwapt.mondomaine.fr:443/api/v3/get_waptagent_exe/
failed as 401 Unauthorized... sleeping
Delete sheduled task "fullwaptupgrade"
if I go to the url https://srvwapt.mondomaine.fr/api/v3/ge ... tagent.exe
I get this nice error message:
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
systemctl status nginx.service
the system is active