You are not logged in.
Pages: 1
Hi!
I need help. I have installed GLPI docker image (https://hub.docker.com/r/diouxx/glpi ) and GLPI Inventory plugin (from the marketplace) to the server. Installed GLPI Agent on the client (Windows 10 x64).
In the client settings, I specified the url:
http://glpi.my-server.com/marketplace/glpiinventory/
glpi.my-server.com = address of the GLPI server.
Inventory is running, the server receives information from the client. Remote installation of packages does not work.
Logs:
[Sun Mar 12 23:30:04 2023][debug] new thread 14 to handle task Deploy
[Sun Mar 12 23:30:04 2023][info] running task Deploy
[Sun Mar 12 23:30:04 2023][debug2] http://glpi.my-server.com/marketplace/glpiinventory/?action=getConfig&task[Deploy]=2.10&machineid=DESKTOP-MF2M95K-2023-03-12-22-13-20
[Sun Mar 12 23:30:05 2023][debug2] http://glpi.my-server.com/front/massiveaction.php/marketplace/glpiinventory/b/deploy/?action=getJobs&machineid=DESKTOP-MF2M95K-2023-03-12-22-13-20&version=2.10
[Sun Mar 12 23:30:05 2023][error] [http client] Can't decode JSON content, starting with:
<!DOCTYPE html>
<html lang="en" >
<head>
<title>Authentication - GLPI</title>
<meta charset="utf-8" />
...
[Sun Mar 12 23:30:05 2023][debug] bad JSON: No answer from server.
[Sun Mar 12 23:30:05 2023][info] No Deploy job found in server jobs list.
How to fix this error?
Last edited by elsin16 (2023-03-12 22:54:08)
Offline
Hi elsin16,
as you can see at the debug2 level, the agent is requesting an url starting with:
http://glpi.my-server.com/front/massiveaction.php/
This means you should have a wrong URL set as "Agent base URL" in the "Assets" tab of your entity. Check it in the administration section.
You should probably leave it empty.
GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer
Offline
Thanks for the quick response! It worked!
Offline
Pages: 1