Push File pushes Vendor Configuration File repeatedly every few hours instead of once

Michael Ducharme mducharme at gmail.com
Thu Dec 28 18:33:49 EST 2017


No I don't. The debug log for the device shows the following for the
Download, then after the reboot there is simply a 0 BOOTSTRAP, no sign of
TransferComplete:

# REQUEST Thu Dec 28 2017 18:16:42 GMT-0500 (EST)
{"authorization":"Basic
YWRtaW46bTBvbiFpZ2h0ejBuZSE=","content-length":"1819","content-type":"text/xml","host":"
acs.moseley.ca","user-agent":"MikroTik"}
<soapenv:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:cwmp='urn:dslforum-org:cwmp-1-0' xmlns:soapenv='
http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsi='
http://www.w3.org/2001/XMLSchema-instance'><soapenv:Body><cwmp:Inform><DeviceId><Manufacturer>MikroTik</Manufacturer><OUI>E48D8C</OUI><ProductClass>RB750</ProductClass><SerialNumber>2obfuscated</SerialNumber></DeviceId><Event
soap:arrayType='cwmp:EventStruct[1]'><EventStruct><EventCode>6 CONNECTION
REQUEST</EventCode><CommandKey></CommandKey></EventStruct></Event><MaxEnvelopes>1</MaxEnvelopes><CurrentTime>2017-12-28T15:16:42-08:00</CurrentTime><RetryCount>0</RetryCount><ParameterList
soap:arrayType='cwmp:ParameterValueStruct[7]'><ParameterValueStruct><Name>Device.RootDataModelVersion</Name><Value
xsi:type='xsd:string'>2.11</Value></ParameterValueStruct><ParameterValueStruct><Name>Device.DeviceInfo.HardwareVersion</Name><Value
xsi:type='xsd:string'>v1.0</Value></ParameterValueStruct><ParameterValueStruct><Name>Device.DeviceInfo.SoftwareVersion</Name><Value
xsi:type='xsd:string'>6.41</Value></ParameterValueStruct><ParameterValueStruct><Name>Device.DeviceInfo.ProvisioningCode</Name><Value
xsi:type='xsd:string'></Value></ParameterValueStruct><ParameterValueStruct><Name>Device.ManagementServer.ParameterKey</Name><Value
xsi:type='xsd:string'></Value></ParameterValueStruct><ParameterValueStruct><Name>Device.ManagementServer.ConnectionRequestURL</Name><Value
xsi:type='xsd:string'>
http://192.168.77.243:7547/33630dbb0d571dd814799508d088cc6b731e</Value></ParameterValueStruct><ParameterValueStruct><Name>Device.ManagementServer.AliasBasedAddressing</Name><Value
xsi:type='xsd:boolean'>0</Value></ParameterValueStruct></ParameterList></cwmp:Inform></soapenv:Body></soapenv:Envelope>

# RESPONSE Thu Dec 28 2017 18:16:42 GMT-0500 (EST)
{"Server":"GenieACS/1.1.1","SOAPServer":"GenieACS/1.1.1","Content-Type":"text/xml;
charset=\"utf-8\"","Set-Cookie":"session=522830f585f5b2f2"}
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="
http://www.w3.org/2001/XMLSchema" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xmlns:cwmp="urn:dslforum-org:cwmp-1-0"><soap-env:Header><cwmp:ID
soap-env:mustUnderstand="1">null</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:InformResponse><MaxEnvelopes>1</MaxEnvelopes></cwmp:InformResponse></soap-env:Body></soap-env:Envelope>


# REQUEST Thu Dec 28 2017 18:16:43 GMT-0500 (EST)
{"authorization":"Basic
YWRtaW46bTBvbiFpZ2h0ejBuZSE=","content-length":"0","cookie":"session=522830f585f5b2f2","host":"
acs.moseley.ca","user-agent":"MikroTik"}

# RESPONSE Thu Dec 28 2017 18:16:43 GMT-0500 (EST)
{"Server":"GenieACS/1.1.1","SOAPServer":"GenieACS/1.1.1","Content-Type":"text/xml;
charset=\"utf-8\""}
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="
http://www.w3.org/2001/XMLSchema" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xmlns:cwmp="urn:dslforum-org:cwmp-1-0"><soap-env:Header><cwmp:ID
soap-env:mustUnderstand="1">1609f69db26000</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:Download><CommandKey>1609f69db26000</CommandKey><FileType>3
Vendor Configuration File</FileType><URL>
https://acs.moseley.ca:7567/post641-stage2-good-RB750.rsc
</URL><Username/><Password/><FileSize>9729</FileSize><TargetFileName/><DelaySeconds>0</DelaySeconds><SuccessURL/><FailureURL/></cwmp:Download></soap-env:Body></soap-env:Envelope>


# REQUEST Thu Dec 28 2017 18:16:43 GMT-0500 (EST)
{"authorization":"Basic
YWRtaW46bTBvbiFpZ2h0ejBuZSE=","content-length":"564","content-type":"text/xml","cookie":"session=522830f585f5b2f2","host":"
acs.moseley.ca","soapaction":"","user-agent":"MikroTik"}
<soapenv:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:cwmp='urn:dslforum-org:cwmp-1-0' xmlns:soapenv='
http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsi='
http://www.w3.org/2001/XMLSchema-instance'><soapenv:Header><cwmp:ID
soap:mustUnderstand='1'>1609f69db26000</cwmp:ID></soapenv:Header><soapenv:Body><cwmp:DownloadResponse><Status>1</Status><StartTime>0001-01-01T00:00:00Z</StartTime><CompleteTime>0001-01-01T00:00:00Z</CompleteTime></cwmp:DownloadResponse></soapenv:Body></soapenv:Envelope>

# RESPONSE Thu Dec 28 2017 18:16:43 GMT-0500 (EST)
{"Server":"GenieACS/1.1.1","SOAPServer":"GenieACS/1.1.1","Content-Type":"text/xml;
charset=\"utf-8\""}
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="
http://www.w3.org/2001/XMLSchema" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xmlns:cwmp="urn:dslforum-org:cwmp-1-0"><soap-env:Header><cwmp:ID
soap-env:mustUnderstand="1">1609f69db26100</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:GetParameterValues><ParameterNames
soap-enc:arrayType="xsd:string[7]"><string>Device.IP.Interface.1.LowerLayers</string><string>Device.IP.Interface.2.LowerLayers</string><string>Device.IP.Interface.3.LowerLayers</string><string>Device.IP.Interface.4.LowerLayers</string><string>
Device.X_MIKROTIK_Interface.Generic.1.Name</string><string>
Device.X_MIKROTIK_Interface.Generic.2.Name</string><string>
Device.X_MIKROTIK_Interface.Generic.3.Name
</string></ParameterNames></cwmp:GetParameterValues></soap-env:Body></soap-env:Envelope>


# REQUEST Thu Dec 28 2017 18:16:43 GMT-0500 (EST)
{"authorization":"Basic
YWRtaW46bTBvbiFpZ2h0ejBuZSE=","content-length":"1634","content-type":"text/xml","cookie":"session=522830f585f5b2f2","host":"
acs.moseley.ca","soapaction":"","user-agent":"MikroTik"}
<soapenv:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:cwmp='urn:dslforum-org:cwmp-1-0' xmlns:soapenv='
http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsi='
http://www.w3.org/2001/XMLSchema-instance'><soapenv:Header><cwmp:ID
soap:mustUnderstand='1'>1609f69db26100</cwmp:ID></soapenv:Header><soapenv:Body><cwmp:GetParameterValuesResponse><ParameterList
soap:arrayType='cwmp:ParameterValueStruct[7]'><ParameterValueStruct><Name>Device.IP.Interface.1.LowerLayers</Name><Value
xsi:type='xsd:string'>Device.X_MIKROTIK_Interface.Generic.3</Value></ParameterValueStruct><ParameterValueStruct><Name>Device.IP.Interface.2.LowerLayers</Name><Value
xsi:type='xsd:string'>Device.X_MIKROTIK_Interface.Generic.1</Value></ParameterValueStruct><ParameterValueStruct><Name>Device.IP.Interface.3.LowerLayers</Name><Value
xsi:type='xsd:string'>Device.Ethernet.Link.1</Value></ParameterValueStruct><ParameterValueStruct><Name>Device.IP.Interface.4.LowerLayers</Name><Value
xsi:type='xsd:string'>Device.X_MIKROTIK_Interface.Generic.2</Value></ParameterValueStruct><ParameterValueStruct><Name>
Device.X_MIKROTIK_Interface.Generic.1.Name</Name><Value
xsi:type='xsd:string'>bridge</Value></ParameterValueStruct><ParameterValueStruct><Name>
Device.X_MIKROTIK_Interface.Generic.2.Name</Name><Value
xsi:type='xsd:string'>l2tp-toronto</Value></ParameterValueStruct><ParameterValueStruct><Name>
Device.X_MIKROTIK_Interface.Generic.3.Name</Name><Value
xsi:type='xsd:string'>loopback0</Value></ParameterValueStruct></ParameterList></cwmp:GetParameterValuesResponse></soapenv:Body></soapenv:Envelope>

# RESPONSE Thu Dec 28 2017 18:16:43 GMT-0500 (EST)
{"Server":"GenieACS/1.1.1","SOAPServer":"GenieACS/1.1.1","Content-Type":"text/xml;
charset=\"utf-8\""}
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="
http://www.w3.org/2001/XMLSchema" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xmlns:cwmp="urn:dslforum-org:cwmp-1-0"><soap-env:Header><cwmp:ID
soap-env:mustUnderstand="1">1609f69db26101</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:GetParameterValues><ParameterNames
soap-enc:arrayType="xsd:string[2]"><string>Device.IP.Interface.1.IPv4Address.1.IPAddress</string><string>Device.IP.Interface.4.IPv4Address.1.IPAddress</string></ParameterNames></cwmp:GetParameterValues></soap-env:Body></soap-env:Envelope>


# REQUEST Thu Dec 28 2017 18:16:43 GMT-0500 (EST)
{"authorization":"Basic
YWRtaW46bTBvbiFpZ2h0ejBuZSE=","content-length":"858","content-type":"text/xml","cookie":"session=522830f585f5b2f2","host":"
acs.moseley.ca","soapaction":"","user-agent":"MikroTik"}
<soapenv:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:cwmp='urn:dslforum-org:cwmp-1-0' xmlns:soapenv='
http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsi='
http://www.w3.org/2001/XMLSchema-instance'><soapenv:Header><cwmp:ID
soap:mustUnderstand='1'>1609f69db26101</cwmp:ID></soapenv:Header><soapenv:Body><cwmp:GetParameterValuesResponse><ParameterList
soap:arrayType='cwmp:ParameterValueStruct[2]'><ParameterValueStruct><Name>Device.IP.Interface.1.IPv4Address.1.IPAddress</Name><Value
xsi:type='xsd:string'>172.16.50.255</Value></ParameterValueStruct><ParameterValueStruct><Name>Device.IP.Interface.4.IPv4Address.1.IPAddress</Name><Value
xsi:type='xsd:string'>192.168.77.243</Value></ParameterValueStruct></ParameterList></cwmp:GetParameterValuesResponse></soapenv:Body></soapenv:Envelope>

# RESPONSE Thu Dec 28 2017 18:16:43 GMT-0500 (EST)
{"Server":"GenieACS/1.1.1","SOAPServer":"GenieACS/1.1.1"}




On Thu, Dec 28, 2017 at 3:30 PM, Zaid Abdulla <zaid at genieacs.com> wrote:

> On Thu, 2017-12-28 at 15:13 -0800, Michael Ducharme wrote:
> > I know 1970 is unix timestamp 0, these devices have no battery so the
> > clock goes back to 1970 every reboot until NTP syncs.
>
> The Download structure isn't part of the device's data modle so the
> device's time doesn't affect this.
>
> > I just did a test push and the following is all I see in the CWMP log
> > file:
> > 2017-12-28T22:58:10.031Z [INFO] 192.168.77.243 E48D8C-RB750-
> > 2obfuscated: Inform; cpeRequestId=null informEvent="6 CONNECTION
> > REQUEST" informRetryCount=0
> > 2017-12-28T22:58:10.117Z [INFO] 192.168.77.243 E48D8C-RB750-
> > 2obfuscated: ACS request; acsRequestId="1609f58dfd8000"
> > acsRequestName="Download" acsRequestCommandKey="1609f58dfd8000"
> > 2017-12-28T22:58:10.214Z [INFO] 192.168.77.243 E48D8C-RB750-
> > 2obfuscated: ACS request; acsRequestId="1609f58dfd8100"
> > acsRequestName="GetParameterValues"
> > 2017-12-28T22:58:10.440Z [INFO] 192.168.77.243 E48D8C-RB750-
> > 2obfuscated: ACS request; acsRequestId="1609f58dfd8101"
> > acsRequestName="GetParameterValues"
> >
> > The device reboots 5 seconds later, no more updates until it reboots.
>
> Do you see a TransferComplete log after the reboot? If not, then the
> download will timeout after some time (one hour by default) and will
> show up as a fault and eventually be reattempted.
>
> --
> Zaid Abdulla <zaid at genieacs.com>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20171228/186b1428/attachment-0001.html>


More information about the Users mailing list