Hi,
I have deployed a docker container OCS Inventory server version 2.2.1 (the one which is currently available in Github). I tried to add some Windows 2.3.0 agents but always get this issue:
Starting OCS Inventory NG Agent on Monday, May 29, 2017 00:51:48.
AGENT => Running OCS Inventory NG Agent Version 2.3.0.0
AGENT => Using OCS Inventory NG FrameWork Version 2.3.0.0
AGENT => Loading plug-in(s)
DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
DLL PLUGIN => 0 DLL Plug-in(s) successfully loaded on 0 DLL(s) found
AGENT => Using network connection with Communication Server
COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.0.0>
AGENT => Sending getLabel request
COM SERVER => Initializing cURL library for getFile
COM SERVER => Using cURL without server authentication
COM SERVER => Disabling cURL proxy support
COM SERVER => Disabling cURL SSL server validation support
COM SERVER => Sending fileGet request to URL <http://127.0.0.1:8080/ocsinventory/deploy/label>
WARNING *** COM SERVER => Failed to send HTTP Get request <Couldn't connect to server>
COM SERVER => Cleaning cURL library
AGENT => Failed to retrieve Label <Couldn't connect to server>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <ES00058849-2017-05-26-12-32-26> and MACs <FC:15:B4:E8:8E:AC3C:A9:F4:93:4B:2848:5A:B6:EF:73:6702:80:37:EC:02:0008:00:27:00:A8:7800:50:56:C0:00:0100:50:56:C0:00:0802:50:F2:00:00:0100:FF:B0:3B:82:0D> in file <ocsinventory.dat>
DID_CHECK => writing DeviceID <ES00058849-2017-05-26-12-32-26> and MACs <FC:15:B4:E8:8E:AC3C:A9:F4:93:4B:2848:5A:B6:EF:73:6702:80:37:EC:02:0008:00:27:00:A8:7800:50:56:C0:00:0100:50:56:C0:00:0802:50:F2:00:00:0102:05:85:7F:EB:8000:FF:10:D0:95:0C> in file <C:\ProgramData\OCS Inventory NG\Agent\ocsinventory.dat>
COM SERVER => Initializing cURL library for sendRequest
COM SERVER => Using cURL without server authentication
COM SERVER => Disabling cURL proxy support
COM SERVER => Disabling cURL SSL server validation support
COM SERVER => Sending HTTP Post request to URL <http://127.0.0.1:8080/ocsinventory>
WARNING *** COM SERVER => Failed to send HTTP Post request <Couldn't connect to server>
COM SERVER => Cleaning cURL library
ERROR *** AGENT => Failed to send Prolog <Couldn't connect to server>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:02.
Not sure if the problem is with 2.2.1 server or not. I tried with 2.1.1 windows agent and seems to work fine. The problem is that I need to add Windows 2012 / Windows 7 servers and 2.1.1 is for XP and 2003R2. The agent still works but not sure if full functionality will be avaiable.... my guess is no. Questions:
1) What are the functionalities I can loose using 2.1.1 agent on Windows 7 / 2012?
2) Is there any way to make 2.3.0 agent work with 2.2.1 server?