ERR_TIMEOUT when deploying with Agent 2.1.1.1 on Windows Server 2003

Bug #1434590 reported by alessandro izzi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OCS Inventory: Windows Agent
In Progress
Undecided
Unassigned

Bug Description

I have problems with the teledeploy. When must the task starts at the scheduled time always timeout error
with Agent 2.1.1.1 and only Windows server 2003. Works without teledeploy
for all the packages tested since reported in the log is always the same: 5264099
The test was done on many computers and the time is correct
It's ok with Windows Server 2008!

Part of OCSInventory.log:
==============================================================================
Starting OCS Inventory NG Agent on Friday, March 20, 2015 14:29:05.
AGENT => Running OCS Inventory NG Agent Version 2.1.1.1
AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.1
....

================= TRACE STOP ===============
AGENT => Inventory successfully sent
 INVENTORY => Writing new inventory state
AGENT => Communication Server ask for Package Download
 DOWNLOAD => Package <1426858614> forced, ignoring package history check
 DOWNLOAD => Package history file successfully cleaned for duplicate IDs
 DOWNLOAD => Metadata file <info> for package <1426858614> is located at <https://.../download/1426858614/info>
 COM SERVER => Initializing cURL library for getFile
 COM SERVER => Using cURL without server authentication
 COM SERVER => Disabling cURL proxy support
 COM SERVER => Enabling cURL SSL server validation support using CA Bundle <cacert.pem>
 COM SERVER => Sending fileGet request to URL <https://.../download/1426858614/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 1426858614)
DOWNLOAD => Package <1426858614> 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:07.

==============================================================================
Starting OCS Inventory NG Agent on Friday, March 20, 2015 15:00:50.
AGENT => Running OCS Inventory NG Agent Version 2.1.1.1
AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.1
AGENT => Loading plug-in(s)
 DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files\OCS Inventory Agent\plugins>
 DLL PLUGIN => 0 DLL Plug-in(s) succesfully loaded on 0 DLL(s) found
AGENT => Using network connection with Communication Server
 COM PROVIDER => Loading Communication Provider <C:\Program Files\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.1.1.1>
AGENT => Sending Prolog
 DID_CHECK => Read DeviceID <SRV6661001-2015-02-03-12-53-21> and MACs <00:21:5E:46:34:26> in file <ocsinventory.dat>
 COM SERVER => Initializing cURL library for sendRequest
 COM SERVER => Using cURL without server authentication
 COM SERVER => Disabling cURL proxy support
 COM SERVER => Enabling cURL SSL server validation support using CA Bundle <cacert.pem>
 COM SERVER => Sending HTTP Post request to URL <https://.../ocsinventory>
 COM SERVER => HTTP Post response received <HTTP Status Code #200>
 COM SERVER => Cleaning cURL library
================= TRACE START ===============
<?xml version='1.0' encoding='UTF-8'?>
<REPLY>
  <OPTION>
    <NAME>DOWNLOAD</NAME>
    <PARAM FRAG_LATENCY="10" PERIOD_LATENCY="60" ON="1" TYPE="CONF" CYCLE_LATENCY="10" TIMEOUT="19000" PERIOD_LENGTH="10" EXECUTION_TIMEOUT="120" />
    <PARAM ID="1426858614" SCHEDULE="2015/03/20 03:00pm" CERT_FILE="INSTALL_PATH/cacert.pem" TYPE="PACK" INFO_LOC=".../download" CERT_PATH="INSTALL_PATH" PACK_LOC=".../download" FORCE="1" POSTCMD="" />
  </OPTION>
  <RESPONSE>SEND</RESPONSE>
  <PROLOG_FREQ>20</PROLOG_FREQ>
</REPLY>

================= TRACE STOP ===============
AGENT => Inventory successfully sent
 INVENTORY => Writing new inventory state
AGENT => Communication Server ask for Package Download
 DOWNLOAD => Package <1426858614> forced, ignoring package history check
 DOWNLOAD => Package history file successfully cleaned for duplicate IDs
ERROR *** DOWNLOAD => Package <1426858614> timed out (now:1426860057, since:5264099, Timeout:19000)
 DOWNLOAD => Sending result code request <ERR_TIMEOUT> for package <1426858614>
 COM SERVER => Initializing cURL library for sendRequest
 COM SERVER => Using cURL without server authentication
 COM SERVER => Disabling cURL proxy support
 COM SERVER => Enabling cURL SSL server validation support using CA Bundle <cacert.pem>
 COM SERVER => Sending HTTP Post request to URL <https://.../ocsinventory>
 COM SERVER => HTTP Post response received <HTTP Status Code #200>
 COM SERVER => Cleaning cURL library
================= TRACE START ===============

================= TRACE STOP ===============
 DOWNLOAD => Result code request successfully sent
 DOWNLOAD => Unloading communication provider
DOWNLOAD => Download and setup tool successfully started
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:07.

part of download.log
==============================================================================
Starting OCS Inventory NG Package Download and Setup Tool on Friday, March 20, 2015 14:39:49.
DOWNLOAD => Running OCS Inventory NG Download Version 2.1.1.1
DOWNLOAD => Using OCS Inventory NG FrameWork Version 2.1.1.1
DOWNLOAD => Using network connection with Communication Server
 COM PROVIDER => Loading Communication Provider <C:\Program Files\OCS Inventory Agent\ComHTTP.dll>
DOWNLOAD => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.1.1.1>
DOWNLOAD => Starting new period of 10 cycles
 DOWNLOAD => Flushing package queue
DOWNLOAD => Parsing directory <C:\Documents and Settings\All Users\Application Data\OCS Inventory NG\Agent\download> for packages
 DOWNLOAD => Verifying package <C:\Documents and Settings\All Users\Application Data\OCS Inventory NG\Agent\download\1426858614>
DOWNLOAD => Package <1426858614> verified and added to process queue
 DOWNLOAD => Processing packages for cycle 1 on Friday, March 20, 2015 14:39:49
 DOWNLOAD => Pausing for cycle latency (10 seconds)
 DOWNLOAD => Processing packages for cycle 2 on Friday, March 20, 2015 14:39:59
 DOWNLOAD => Pausing for cycle latency (10 seconds)
 DOWNLOAD => Processing packages for cycle 3 on Friday, March 20, 2015 14:40:09
 DOWNLOAD => Pausing for cycle latency (10 seconds)
 DOWNLOAD => Processing packages for cycle 4 on Friday, March 20, 2015 14:40:19
 DOWNLOAD => Pausing for cycle latency (10 seconds)
 DOWNLOAD => Processing packages for cycle 5 on Friday, March 20, 2015 14:40:29
DOWNLOAD => Downloading package fragment <1426858614-1>
 COM SERVER => Initializing cURL library for getFile
 COM SERVER => Using cURL without server authentication
 COM SERVER => Disabling cURL proxy support
 COM SERVER => Enabling cURL SSL server validation support using CA Bundle <cacert.pem>
 COM SERVER => Sending fileGet request to URL <HTTP://.../download/1426858614/1426858614-1>
 COM SERVER => fileGet response received <HTTP Status Code #200>
 COM SERVER => Cleaning cURL library
 DOWNLOAD => Pausing for fragment latency (10 seconds)
 DOWNLOAD => Pausing for cycle latency (10 seconds)
 DOWNLOAD => Processing packages for cycle 6 on Friday, March 20, 2015 14:40:49
 DOWNLOAD => Pausing for cycle latency (10 seconds)
 DOWNLOAD => Processing packages for cycle 7 on Friday, March 20, 2015 14:40:59
 DOWNLOAD => Pausing for cycle latency (10 seconds)
 DOWNLOAD => Processing packages for cycle 8 on Friday, March 20, 2015 14:41:09
 DOWNLOAD => Pausing for cycle latency (10 seconds)
 DOWNLOAD => Processing packages for cycle 9 on Friday, March 20, 2015 14:41:19
 DOWNLOAD => Pausing for cycle latency (10 seconds)
 DOWNLOAD => Processing packages for cycle 10 on Friday, March 20, 2015 14:41:29
DOWNLOAD => Building package <1426858614>
 PACKAGE => Verifying fragment files of package <1426858614>
 PACKAGE => Checking free disk space for package <1426858614>
 PACKAGE => Building ZIP for package <1426858614>
 PACKAGE => Verifying ZIP signature for package <1426858614>
 DOWNLOAD => Package <1426858614> built successfully
DOWNLOAD => Package <1426858614> execution is scheduled on <2015/03/20 03:00pm>. Scheduling package and skipping execution
 DOWNLOAD => Pausing for fragment latency (10 seconds)
 DOWNLOAD => Pausing for cycle latency (10 seconds)
 DOWNLOAD => Pausing for period latency (60 seconds)
DOWNLOAD => Starting new period of 10 cycles
 DOWNLOAD => Flushing package queue
DOWNLOAD => Parsing directory <C:\Documents and Settings\All Users\Application Data\OCS Inventory NG\Agent\download> for packages
 DOWNLOAD => Verifying package <C:\Documents and Settings\All Users\Application Data\OCS Inventory NG\Agent\download\1426858614>
 DOWNLOAD => Package <1426858614> already downloaded, but execution scheduled on <2015/03/20 03:00pm>, skipping
DOWNLOAD => No package found, exiting
DOWNLOAD => Unloading communication provider
DOWNLOAD => Execution duration: 00:03:01.

==============================================================================
Starting OCS Inventory NG Package Download and Setup Tool on Friday, March 20, 2015 15:00:57.
DOWNLOAD => Running OCS Inventory NG Download Version 2.1.1.1
DOWNLOAD => Using OCS Inventory NG FrameWork Version 2.1.1.1
DOWNLOAD => Using network connection with Communication Server
 COM PROVIDER => Loading Communication Provider <C:\Program Files\OCS Inventory Agent\ComHTTP.dll>
DOWNLOAD => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.1.1.1>
DOWNLOAD => Starting new period of 10 cycles
 DOWNLOAD => Flushing package queue
DOWNLOAD => Parsing directory <C:\Documents and Settings\All Users\Application Data\OCS Inventory NG\Agent\download> for packages
DOWNLOAD => No package found, exiting
DOWNLOAD => Unloading communication provider
DOWNLOAD => Execution duration: 00:00:00.

OCSINVENTORY.INI
[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=3
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=https://.../ocsinventory
SSL=1
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
PROLOG_FREQ=20
OLD_PROLOG_FREQ=20
TTO_WAIT=68760

OCSINVENTORY.INI of DOWNLOAD
[OCS Inventory Agent]
FragLatency=10
CycleLatency=10
PeriodLatency=60
PeriodLength=10
Timeout=19000
CommandTimeout=120
On=1

Changed in ocsinventory-windows-agent:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.