glpi-agent icon indicating copy to clipboard operation
glpi-agent copied to clipboard

[error] [http client] server error: JSON does not validate. Violations: unsupported '0200'value as 'offset ' field value

Open Megachip opened this issue 6 months ago • 1 comments

Bug reporting acknowledgment

Yes, I read it

Professional support

Yes, I know

Describe the bug

Use of uninitialized value $link in concatenation (.) or string at C:/Users/xxx/Desktop/GA/perl/agent/GLPI/Agent/Task/RemoteInventory/Remote/Ssh.pm line 498.
[error] [http client] communication error: 400 Bad Request, JSON does not validate. Violations:
"0200" does not match to ^[+-][0-9]{4}$ at #->properties:content->properties:operatingsystem->properties:timezone->properties:offset
[error] [http client] server error: JSON does not validate. Violations: unsupported '0200'value as 'offset
' field value

To reproduce

Launching a --remoteinventory from Windows or Linux to UnixWare 7.1.4 with ksh as default shell.

Expected behavior

Getting an inventory

Operating system

Other (Details in additional context below)

GLPI Agent version

v1.15

GLPI version

10.0.18

GLPIInventory plugin or other plugin version

GLPI Inventory v1.5.3

Additional context

No response

Megachip avatar Aug 22 '25 11:08 Megachip