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-12-20 14:18:40

DASquarePeg
Member
Registered: 2023-12-15
Posts: 10

GLPI Inventory Agent - No connection could be made because the target

Sorry if this is a simple fix somewhere, but I am trying to get the GLPI Inventory Agent to run and send details to the Server. I have installed the Agent on a machine using mostly default options. The path to the GLPI Server is https://[servername]/marketplace/glpiinventory as I managed to get the Marketplace version of the plugin to install.

The Agent does what it should do, in that it scans the machine and can output the information into an xml file, which I can then successfully import onto the GLPI Server. So far, so good. However, I have dozens of PC's across the organisation and I really don't want to have to manually import the information each time.

What the Agent does NOT do is send the information to GLPI automatically. When I look at the logfile I see the following:-
[Wed Dec 20 12:07:16 2023][info] GLPI Agent memory usage: WSS=3309568 PFU=136134656
[Wed Dec 20 12:07:43 2023][info] target server0: server https://[SERVERNAME]/marketplace/glpiinventory/
[Wed Dec 20 12:07:43 2023][info] sending prolog request to server0
[Wed Dec 20 12:07:46 2023][error] [http client] internal response: 500 Can't connect to [SERVERNAME]:443 (No connection could be made because the target machine actively refused it.), IO::Socket::IP configuration failed
[Wed Dec 20 12:07:46 2023][error] No supported answer from server at https://[SERVERNAME]/marketplace/glpiinventory/
[Wed Dec 20 12:07:46 2023][info] target server0: next run: Wed Dec 20 13:07:46 2023 - https://[SERVERNAME]/marketplace/glpiinventory/

Is there something I need to do on the Server or within GLPI itself, so that it does not "actively refuse" these connections? I am on a Windows Server with Apache and PHP provided through WAMPServer.

Thank you.

Offline

#2 2023-12-20 14:46:23

BW~Merlin
Member
Registered: 2021-05-09
Posts: 33

Re: GLPI Inventory Agent - No connection could be made because the target

Have you tried turning both the client and server firewall off for troubleshooting?

Offline

#3 2023-12-20 15:35:31

DASquarePeg
Member
Registered: 2023-12-15
Posts: 10

Re: GLPI Inventory Agent - No connection could be made because the target

Sorry - yes. I should have said that I have switched off the Firewall on both the PC and the Server. I get the same error.

Offline

#4 2023-12-20 16:23:36

DASquarePeg
Member
Registered: 2023-12-15
Posts: 10

Re: GLPI Inventory Agent - No connection could be made because the target

In addition, the Agent on the GLPI Server comes back with the error: Can't connect to [SERVERNAME]:443 (Bad address)

I don't know if that helps?

Sorry!

Offline

#5 2024-01-03 13:14:15

DASquarePeg
Member
Registered: 2023-12-15
Posts: 10

Re: GLPI Inventory Agent - No connection could be made because the target

Hi.
Sorry - we broke up for Christmas and New Year and I have only just seen this response. Notwithstanding, I seem to have managed a resolution that works. Or seems to!
I have set the GLPI Agent installation to read http://[x.x.x.x]/glpi/marketplace/glpiinventory/ and ensured that Enable Inventory is enabled in GLPI - Administration - Inventory
This seems to be working. Now all I need to do is figure out how to get this installed using a GPO!

Thank you for your assistance.

Regards.

Offline

Board footer

Powered by FluxBB