Hello,
I have used OCS Inventory NG a time befor only for inventory. Now I want to deploy software too. I have created a package and did as described in the documentation.
I disabled SSL in ocsinventory.ini and configured my server like this:
HTTP => port 1080
HTTPS => port 10443
Everything is working and reachable.
But in my Download.log i get the following:
==============================================================================
Starting OCS Inventory NG Package Download and Setup Tool on Saturday, July 08, 2017 09:44:03.
DOWNLOAD => Running OCS Inventory NG Download Version 2.3.0.0
DOWNLOAD => Using OCS Inventory NG FrameWork Version 2.3.0.0
DOWNLOAD => Using network connection with Communication Server
COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
DOWNLOAD => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.0.0>
DOWNLOAD => Starting new period of 10 cycles
DOWNLOAD => Flushing package queue
DOWNLOAD => Parsing directory <C:\ProgramData\OCS Inventory NG\Agent\download> for packages
DOWNLOAD => Verifying package <C:\ProgramData\OCS Inventory NG\Agent\download\1499463596>
DOWNLOAD => Package <1499463596> verified and added to process queue
DOWNLOAD => Processing packages for cycle 1 on Saturday, July 08, 2017 09:44:03
DOWNLOAD => Pausing for cycle latency (60 seconds)
DOWNLOAD => Processing packages for cycle 2 on Saturday, July 08, 2017 09:45:03
DOWNLOAD => Downloading package fragment <1499463596-1>
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://MY_OCS_SERVER_IP:1080/download/1499463596/1499463596-1>
WARNING *** COM SERVER => Failed to send HTTP Get request <Failure when receiving data from the peer>
COM SERVER => Cleaning cURL library
WARNING *** DOWNLOAD => Failed to download package fragment <1499463596-1> (Failure when receiving data from the peer). Retrying
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://MY_OCS_SERVER_IP:1080/download/1499463596/1499463596-1>
WARNING *** COM SERVER => Failed to send HTTP Get request <Failure when receiving data from the peer>
COM SERVER => Cleaning cURL library
WARNING *** DOWNLOAD => Failed to download package fragment <1499463596-1> (Failure when receiving data from the peer). Retrying
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://MY_OCS_SERVER_IP:1080/download/1499463596/1499463596-1>
WARNING *** COM SERVER => Failed to send HTTP Get request <Failure when receiving data from the peer>
COM SERVER => Cleaning cURL library
WARNING *** DOWNLOAD => Failed to download package fragment <1499463596-1> (Failure when receiving data from the peer). Retrying
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://MY_OCS_SERVER_IP:1080/download/1499463596/1499463596-1>
WARNING *** COM SERVER => Failed to send HTTP Get request <Failure when receiving data from the peer>
COM SERVER => Cleaning cURL library
WARNING *** DOWNLOAD => Failed to download package fragment <1499463596-1> (Failure when receiving data from the peer). Retrying
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://MY_OCS_SERVER_IP:1080/download/1499463596/1499463596-1>
WARNING *** COM SERVER => Failed to send HTTP Get request <Failure when receiving data from the peer>
COM SERVER => Cleaning cURL library
WARNING *** DOWNLOAD => Failed to download package fragment <1499463596-1> (Failure when receiving data from the peer). Retrying
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://MY_OCS_SERVER_IP:1080/download/1499463596/1499463596-1>
WARNING *** COM SERVER => Failed to send HTTP Get request <Failure when receiving data from the peer>
COM SERVER => Cleaning cURL library
WARNING *** DOWNLOAD => Max error count (5) reached while downloading package fragment <1499463596-1> (Failure when receiving data from the peer)
In my OCSInventory.log I get the following:
AGENT => Inventory successfully sent
INVENTORY => Writing new inventory state
AGENT => Communication Server ask for Package Download
DOWNLOAD => Package history file successfully cleaned for duplicate IDs
DOWNLOAD => Metadata file <info> for package <1499463596> is located at <https://MY_OCS_SERVER_IP:10443/download/1499463596/info>
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 <https://MY_OCS_SERVER_IP:10443/download/1499463596/info>
COM SERVER => fileGet response received <HTTP Status Code #200>
COM SERVER => Cleaning cURL library
DOWNLOAD => Unloading communication provider
DOWNLOAD => Retrieve info file...OK (pack 1499463596)
DOWNLOAD => Package <1499463596> added to download queue
DOWNLOAD => Download and setup tool successfully started
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:09.
What's wrong with my configuration?