WAPT 2.3 glpi-plugin-export-to-glpi10 problem

Questions about WAPT Server / Requests and help related to the WAPT server
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
chris2b
Messages: 19
Registration: July 1, 2021 - 10:09 AM

April 13, 2023 - 1:16 PM

Good morning,
I just installed GLPI 10.0.0.7 and I just updated my WAPT server to version 2.3.
I wanted to deploy the glpi-plugin-export-to-glpi10 package, but when I do the operation the Audit Status is in error and I admit I don't understand the error.
Furthermore, at no point is the address of my glpi server requested, I still modified the waptserver.ini file which is in the conf folder.

Error message:

Code: Select all

"Auditing eplborgo-glpi-plugin-export-to-glpi10
Audit aborted due to exception: HTTPSConnectionPool(host='mywapt.mydomain.lan', port=443): Max retries exceeded with url: //api/v3/hosts?columns=host_audit%2Fglpi%2Fupload%2Fvalue%2Flastid,host_audit%2Fglpi%2Fupload%2Fvalue%2Fhash&limit=10000 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x013C59E8>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))"
Has anyone else experienced this problem and perhaps found a solution or at least a lead on how to resolve it?
THANKS
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

April 13, 2023 - 6:05 PM

Hello,

on the machine that has the glpi-plugin-export-to-glpi10 package

, go to: The files in /opt/wapt or C:\Program Files (x86)\wapt\private depending on the OS

, then edit the glpi.ini and wapt_api.ini files
chris2b
Messages: 19
Registration: July 1, 2021 - 10:09 AM

April 14, 2023 - 11:13

Hello,
thank you for your reply.
The problem is that the glpi.ini and waptapi.ini files were missing from the wapt/private folder. I found them in a private folder at the root of C:/ and copied them, but it didn't change anything, even after modifying them.
My second issue is that the Wapt folder is on C: and not in C:/Program Files/.
So I'm wondering if it wouldn't be better to start with a clean server and a clean installation, making sure to back up the certificate beforehand.
Since the agents are correctly installed on my client machines, they will be uploaded to the server, right?
Thank you.
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

April 14, 2023 - 4:21 PM

Hello Christophe,

actually the new GLPI synchronization module is no longer included in the WAPT server but as a WAPT package which is installed and run by the agent. On the Windows server, the WAPT agent is in the same directory as the server, so in c:\wapt. If you install the synchronization package on a WAPT client, then the agent will be installed by default in c:\program files (x86)\wapt.

Regards,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

April 25, 2023 - 12:15

Hi Christophe,

were you finally able to resolve your problem? Can I close the thread now?

See you soon,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
chris2b
Messages: 19
Registration: July 1, 2021 - 10:09 AM

May 2, 2023 - 11:36

Hello,
no, sorry, I've had other problems.
The server is malfunctioning, and I'm wondering if starting with a clean machine and reinstalling the WAPT server wouldn't be a better idea for me.
Especially since I have training in May.
My only question is, if I start with a clean machine and a clean WAPT server, will my client workstations be able to connect properly, given that they have the agent installed?
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

May 3, 2023 - 5:24 PM

chris2b wrote: May 2, 2023 - 11:36 The only question I have is if I start again on a clean machine and a clean WAPT server, will my client workstations be able to connect to it properly since they have the agent?
To avoid problems:

You need to use the same certificate that signs the packets.
The same prefix
The same DNS name (and HTTPS certificate if verification is enabled)
chris2b
Messages: 19
Registration: July 1, 2021 - 10:09 AM

May 4, 2023 - 09:20

Hello,
okay, thank you very much.
I'll go with this solution so I can start the training on a clean slate.
You can close the topic
Thank you.
Locked