[RESOLU] installation erreur failed as 401 Unauthorized
Publié : 24 déc. 2025 - 08:58
Bonjour,
Licence : entreprise
version : 2.6.1.17472
Windows 11 25H2
j'ai réalisé un script powershell pour installer dans certains cas l'agent sur les postes.
Le waptdeploy.exe est celui du serveur = 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
j'ai une erreur :
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"
si je vais sur l'url https://srvwapt.mondomaine.fr/api/v3/ge ... tagent.exe
j'ai ce beau message d'erreur:
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
le systéme est actif
Licence : entreprise
version : 2.6.1.17472
Windows 11 25H2
j'ai réalisé un script powershell pour installer dans certains cas l'agent sur les postes.
Le waptdeploy.exe est celui du serveur = 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
j'ai une erreur :
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"
si je vais sur l'url https://srvwapt.mondomaine.fr/api/v3/ge ... tagent.exe
j'ai ce beau message d'erreur:
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
le systéme est actif