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-09-30 04:23:40

biz1990
Member
Registered: 2023-09-30
Posts: 3

GLPI [error] [http client] Can't decode JSON content

Hi all.
i use GLPI Agent and sent information to server with GLPI 10.0.10 and log file display contain.

[Sat Sep 30 09:03:43 2023][info] target server0: server http://ip-address/
[Sat Sep 30 09:03:43 2023][info] sending contact request to server0
[Sat Sep 30 09:03:43 2023][info] sending prolog request to server0
[Sat Sep 30 09:03:43 2023][info] running task Inventory
[Sat Sep 30 09:03:43 2023][info] New inventory from mydomain-com-2023-09-25-15-39-22 for server0
[Sat Sep 30 09:04:27 2023][info] running task ESX
[Sat Sep 30 09:04:27 2023][error] [http client] Can't decode JSON content, starting with:
         

<!DOCTYPE html>
<html lang="vi"       >
<head>
   <title>Xác thực - GLPI</title>

   <meta charset="utf-8" />
...
[Sat Sep 30 09:04:27 2023][info] ESX task not supported by server0
[Sat Sep 30 09:04:27 2023][info] running task Collect
[Sat Sep 30 09:04:27 2023][error] [http client] Can't decode JSON content, starting with:
         

<!DOCTYPE html>
<html lang="vi"       >
<head>
   <title>Xác thực - GLPI</title>

   <meta charset="utf-8" />
...
[Sat Sep 30 09:04:27 2023][info] Collect task not supported by server0
[Sat Sep 30 09:04:29 2023][info] running task Deploy
[Sat Sep 30 09:04:29 2023][error] [http client] Can't decode JSON content, starting with:
         

<!DOCTYPE html>
<html lang="vi"       >
<head>
   <title>Xác thực - GLPI</title>

   <meta charset="utf-8" />
...
[Sat Sep 30 09:04:29 2023][info] Deploy task not supported by server0

how fix it. please help me. Thank

Last edited by biz1990 (2023-09-30 04:24:36)

Offline

#2 2023-12-14 23:04:25

dfeuilloy_metalis
Member
Registered: 2013-02-04
Posts: 61

Re: GLPI [error] [http client] Can't decode JSON content

Idem for me


GLPI 10.0.11 Copyright (C) 2015-2023 Teclib' and contributors
Debian Linux 10
Apache version 2.4.38
PHP 8.3

Offline

#3 2023-12-22 17:17:25

Jow-Indio
Member
Registered: 2022-11-24
Posts: 5

Re: GLPI [error] [http client] Can't decode JSON content

Same to me, any solution?

Offline

#4 2023-12-23 08:03:36

homebrewtainy
Member
Registered: 2020-04-04
Posts: 151

Re: GLPI [error] [http client] Can't decode JSON content

Good morning (France) everyone
[English from Google Translate]

Have you applied the recommendations in this documentation's part?

https://glpi-agent.readthedocs.io/en/la … ter-syntax
This concerns the Agent destination URL

The server IP alone is not the right target!

Best regards


Creuser, creuser... creuser.
GLPI 10.0.16 [ Linux el 9.4 | Apache/2.4.xx | mysql 15.1 MariaDB 10.5.xx | PHP 8.3.x ] - Apache HTTPS r-proxy [ Linux el 9.4 | Apache/2.4.xx ]
GLPI Inventory 1.3.5 | Data Injection 2.13.5 | Treeview (Arborescence) 1.10.2 | Behaviors (Comportements) 2.7.3
-- Any exchange not written in French comes from an automatic translation. --

Offline

Board footer

Powered by FluxBB