You are not logged in.
Collect task throw an error on the POST request when a proxy is used by the agent, because it receive an html Access Refused page :
[Thu Apr 4 16:17:52 2024][debug2] [http client] POST: action=setAnswer&_sid=7&_cpt=1&uuid=660eb484740a3&tag=XXXXXX
[Thu Apr 4 16:17:52 2024][debug] [http client] Using 'http ://111.111.111.111:1111' as proxy for http protocol
[Thu Apr 4 16:17:52 2024][error] [http client] Can't decode JSON content, starting with:
<!DOCTYPE html>
<html lang="fr" >
<head>
<title>Accès refusé - GLPI</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
...
There is an error in the access-error.log file on the server :
CSRF check failed for User ID: at /plugins/glpiinventory/b/collect/?action=setAnswer&uuid=660eb484740a3&method=POST
It only append when using a proxy.
Offline