You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-06-26 23:09:12

raguebi
Member
Registered: 2023-06-26
Posts: 4

[error] [http client] communication error: 403 Forbidden

pleas i have Error in agnet glpi he can't connect to the server


this my LOGE

[Mon Jun 26 21:38:55 2023][info] target server0: next run: Mon Jun 26 21:39:55 2023 - (My server)
[Mon Jun 26 21:38:57 2023][info] target server0: server (MY server)
[Mon Jun 26 21:38:57 2023][info] sending prolog request to server0
[Mon Jun 26 21:38:58 2023][error] [http client] communication error: 403 Forbidden
[Mon Jun 26 21:38:58 2023][error] No answer from server at (My server)
[Mon Jun 26 21:38:58 2023][info] target server0: next run: Mon Jun 26 21:40:58 2023 - (My servre)

Offline

#2 2023-06-27 09:52:09

gbougard
Moderator
From: Montpellier, France
Registered: 2021-07-21
Posts: 537
Website

Re: [error] [http client] communication error: 403 Forbidden

Hello raguebi,

first check you have enabled "Inventory support" in GLPI : you have a check box in "Administration -> Inventory" to set if you are using latest GLPI version.

Then if this is not your problem, you should share the log after you enabled debug=2 glpi-agent configuration and restarted the service.


GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer

Offline

#3 2023-07-02 20:43:03

raguebi
Member
Registered: 2023-06-26
Posts: 4

Re: [error] [http client] communication error: 403 Forbidden

This my Logs and Debug level 2

[Sun Jul  2 18:03:00 2023][error] [http client] communication error: 403 Forbidden
[Sun Jul  2 18:03:00 2023][error] No supported answer from server at (My server)
[Sun Jul  2 18:03:00 2023][info] target server0: next run: Sun Jul  2 19:03:00 2023 - (My server)
[Sun Jul  2 18:03:00 2023][debug] Agent memory usage before freeing memory: WSS=19910656 PFU=122454016
[Sun Jul  2 18:03:00 2023][info] GLPI Agent memory usage: WSS=3182592 PFU=122454016
[Sun Jul  2 19:09:10 2023][info] target server0: server (My server)
[Sun Jul  2 19:09:10 2023][debug2] [http client] Using Compress::Zlib for compression
[Sun Jul  2 19:09:10 2023][info] sending prolog request to server0
[Sun Jul  2 19:09:11 2023][debug2] [http client] sending message:
<?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
  <DEVICEID>RG-BROLY-2023-07-01-11-56-57</DEVICEID>
  <QUERY>PROLOG</QUERY>
  <TOKEN>12345678</TOKEN>
</REQUEST>
[Sun Jul  2 19:09:12 2023][error] [http client] communication error: 403 Forbidden
[Sun Jul  2 19:09:12 2023][error] No supported answer from server at (My server)
[Sun Jul  2 19:09:12 2023][info] target server0: next run: Sun Jul  2 20:09:12 2023 - (My server)
[Sun Jul  2 19:09:12 2023][debug] Agent memory usage before freeing memory: WSS=20226048 PFU=122519552
[Sun Jul  2 19:09:12 2023][info] GLPI Agent memory usage: WSS=3182592 PFU=122519552

Offline

#4 2023-07-03 12:23:19

gbougard
Moderator
From: Montpellier, France
Registered: 2021-07-21
Posts: 537
Website

Re: [error] [http client] communication error: 403 Forbidden

You didn't answer if inventory is enabled in GLPI.


GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer

Offline

#5 2023-07-05 22:14:42

raguebi
Member
Registered: 2023-06-26
Posts: 4

Re: [error] [http client] communication error: 403 Forbidden

yes is enabled

Offline

#6 2023-07-06 19:02:23

salimedwardo
Member
Registered: 2022-12-11
Posts: 9

Re: [error] [http client] communication error: 403 Forbidden

first check you have enabled "Inventory support" in GLPI : you have a check box in "Administration -> Inventory" to set if you are using latest GLPI version.

Offline

#7 2023-07-07 10:07:22

gbougard
Moderator
From: Montpellier, France
Registered: 2021-07-21
Posts: 537
Website

Re: [error] [http client] communication error: 403 Forbidden

Hi raguebi,

from an administrative console, change the directory to the glpi-agent folder and run the following command:

glpi-agent --debug --debug --force --logger=stderr

Then share the output if this doesn't help you to understand the problem.


GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer

Offline

Board footer

Powered by FluxBB