You are not logged in.
Hi!
Yesterday, I updated GLPI to its latest version (10.0.13) and decided to switch the inventory collection method from OCS to Native. To this end, I manually installed GLPI-Agent-1.7.1-x64 and GLPI-AgentMonitor-x64 on one of the computers in our network. However, when I attempted to forcibly execute the inventory collection through the Monitor, I encountered an error log as shown below.
[Fri Mar 15 07:44:10 2024][info] GLPI Agent service starting
[Fri Mar 15 07:44:11 2024][info] [http server] HTTPD service started on port 62354
[Fri Mar 15 07:44:12 2024][info] GLPI Agent memory usage: WSS=3936256 PFU=107999232
[Fri Mar 15 07:44:12 2024][info] target local0: next run: Fri Mar 15 08:34:18 2024 - C:/Program Files/GLPI-Agent
[Fri Mar 15 07:44:12 2024][info] target server0: next run: Fri Mar 15 08:19:07 2024 - https://[domain_name]/marketplace/glpiinventory/
[Fri Mar 15 07:44:34 2024][info] target server0: server https://[domain_name]/marketplace/glpiinventory/
[Fri Mar 15 07:44:34 2024][info] sending prolog request to server0
[Fri Mar 15 07:44:37 2024][error] [http client] unexpected content, starting with: <h2>Missing cookie</h2><p>You appear to have disabled cookies in your browser. Please check the settings in your browser
[Fri Mar 15 07:44:37 2024][error] No supported answer from server at https://[domain_name]/marketplace/glpiinventory/
[Fri Mar 15 07:44:37 2024][info] target server0: next run: Fri Mar 15 07:45:37 2024 - https://[domain_name]/marketplace/glpiinventory/
[Fri Mar 15 07:44:38 2024][info] target local0: local C:\Program Files\GLPI-Agent\
[Fri Mar 15 07:44:39 2024][info] running task Inventory
[Fri Mar 15 07:44:39 2024][info] New inventory from HOST1121-2024-03-15-07-44-10 for local0
[Fri Mar 15 07:45:11 2024][info] Inventory saved in C:/Program Files/GLPI-Agent/HOST1121-2024-03-15-07-44-10.xml
[Fri Mar 15 07:45:13 2024][info] running task RemoteInventory
[Fri Mar 15 07:45:13 2024][info] target local0: next run: Fri Mar 15 08:37:09 2024 - C:\Program Files\GLPI-Agent\
[Fri Mar 15 07:45:13 2024][info] GLPI Agent memory usage: WSS=3596288 PFU=135467008
[Fri Mar 15 07:45:37 2024][info] target server0: server https://[domain_name]/marketplace/glpiinventory/
[Fri Mar 15 07:45:37 2024][info] sending prolog request to server0
[Fri Mar 15 07:45:37 2024][error] [http client] unexpected content, starting with: <h2>Missing cookie</h2><p>You appear to have disabled cookies in your browser. Please check the settings in your browser
[Fri Mar 15 07:45:37 2024][error] No supported answer from server at https://[domain_name]/marketplace/glpiinventory/
[Fri Mar 15 07:45:37 2024][info] target server0: next run: Fri Mar 15 07:47:37 2024 - https://[domain_name]/marketplace/glpiinventory/
[Fri Mar 15 07:46:29 2024][info] running task Deploy: storage maintenance event
[Fri Mar 15 07:46:29 2024][info] GLPI Agent memory usage: WSS=3432448 PFU=133652480
After an initial analysis, I was unable to determine the cause of this error, especially since the default browser being used does not have cookies disabled.
Offline
I don't see this message anywhere in the GLPI code. Do you have something configured in front of your GLPI like a proxy or SSO that might be giving this response instead?
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
Yes, my GLPI uses SSO to authenticate the 900+ users we have on our network.
Could it be my SSO that is generating the communication error with the server?
No supported answer from server at https://[domain_name]/marketplace/glpiinventory/
Offline
Maybe. You should disable SSO for that specific URL if possible. If you want, you have the ability to force HTTP basic authentication instead for that URL in your web server config and then install the agents using the User and Password configuration options (not sure how to set these after the agent is already installed).
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
I disabled SSO to check if it would work, but another error occurs, as seen in the log below.
[Mon Mar 18 09:36:54 2024][error] [http client] communication error: 403 Forbidden
[Mon Mar 18 09:36:54 2024][error] No supported answer from server at https://[domain_name]/marketplace/glpiinventory/
In my URL https://[domain_name]/front/inventory.conf.php I have the Enable Inventory option Active
I found it strange that it was an HTTP error and not HTTPS, since it is a secure server.
Last edited by pchardnet (2024-03-18 15:16:28)
Offline