Closed Mdaniel2019 closed 2 months ago
Hi @Mdaniel2019
can you share the output of the following command run in an admin console on the computer which is not imported ?
sudo glpi-agent --logger=stderr --debug --debug --force
[debug] Logger backend Stderr initialized
[debug] GLPI Agent (1.7.3-1)
[debug] Configuration directory: /etc/glpi-agent
[debug] Data directory: /usr/share/glpi-agent
[debug] Storage directory: /var/lib/glpi-agent
[debug] Lib directory: /usr/share/glpi-agent/lib
[debug] [target server0] Next server contact planned for Thu May 2 14:45:02 2024
[debug2] getAvailableTasks() : add of task Inventory version 1.15
[debug2] getAvailableTasks() : add of task RemoteInventory version 1.4
[debug2] getAvailableTasks() : add of task WakeOnLan version 2.2
[debug] Available tasks:
[debug] - Inventory: 1.15
[debug] - RemoteInventory: 1.4
[debug] - WakeOnLan: 2.2
[debug] target server0: server https://glpi.ac.leroeulx.be/marketplace/glpiiventory/
[debug] Planned tasks for server0: RemoteInventory,WakeOnLan,Inventory
[debug] Built by Debian
[debug] Source time: 2024-04-03 09:48
[debug] Running in foreground mode
[info] target server0: server https://glpi.ac.leroeulx.be/marketplace/glpiiventory/
[debug2] [http client] Using Compress::Zlib for compression
[info] sending prolog request to server0
[debug2] [http client] sending message:
<?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
<DEVICEID>PC-ECO-10-2024-04-15-14-20-57</DEVICEID>
<QUERY>PROLOG</QUERY>
<TOKEN>12345678</TOKEN>
</REQUEST>
[info] [http client] SSL Client warning: Peer certificate not verified
[info] [http client] SSL Client info: Cert-Issuer: '/CN=SRV-DebWeb3', Cert-Subject: '/CN=SRV-DebWeb3', Version: 'TLSv1_3', Cipher: 'TLS_AES_256_GCM_SHA384'
[info] [http client] SSL server certificate fingerprint: sha256$bd000ac9e4f684b32b50226c2632712e14fc973f57032a3a4a392182689e5cdf
[info] [http client] You can set it in conf as 'ssl-fingerprint' and disable 'no-ssl-check' option to trust that server certificate
[error] [http client] communication error: 403 Forbidden
[error] No supported answer from server at https://glpi.ac.leroeulx.be/marketplace/glpiiventory/
Bug reporting acknowledgment
Yes, I read it
Professional support
I still have but want a public following to keep the community aware
Describe the bug
Les erreurs suivantes sont rapportée.
L'adresse du plugin sur mon serveur est correcte et accessible:
Je n'arrive pas comprendre d'où vient le problème. j'ai installé la version de l'agent 1.7, 1.7.1, 1.7.3 sur 10 PC et un seule m'envoie cette erreur.
To reproduce
installation de l'agent sur un ubuntu 22.04 LTS
sudo perl glpi-agent-{Version}.pl --install -s https://mon_serveur/marketplace/glpiinventory/ -t ECO --no-ssl-check
sudo glpi-agent
Expected behavior
Operating system
Linux
GLPI Agent version
1.7.3
GLPI version
10.0.12
GLPIInventory plugin or other plugin version
GLPI Inventory v1.3.5
Additional context