<div dir="ltr">BTW.. at first I thought it could be related to the 5 second timeout mentioned here:<div><a href="http://lists.genieacs.com/pipermail/users/2017-August/001642.html">http://lists.genieacs.com/pipermail/users/2017-August/001642.html</a><br></div><div><br></div><div>but I downgraded to node 7  and I see now a 30-second timeout and still no luck. </div><div><br></div><div><br></div><div>When comparing with a "working" device, the only difference I see is that the device that seems to be working, the inform is of type BOOT and VALUE_CHANGE:</div><div><br></div><div><div><EventStruct></div><div><EventCode>1 BOOT</EventCode></div><div><CommandKey></CommandKey></div><div></EventStruct></div><div><EventStruct></div><div><EventCode>4 VALUE CHANGE</EventCode></div><div><CommandKey></CommandKey></div><div></EventStruct></div><div></Event></div></div><div><br></div><div><br></div><div>Could this be related? Thanks!</div><div><br></div><div><br></div><div><br></div><div>Thanks in advance!</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 29, 2018 at 11:38 PM, Diego Garcia del Rio <span dir="ltr"><<a href="mailto:garci66@gmail.com" target="_blank">garci66@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Everyone,<div><br></div><div>I've been testing GenieACS for a while, using it to validate different CPEs we have in the network.</div><div><br></div><div>We're seeing a weird issue with a variant of a vendor's CPE after pushing the configuration for the device to use STUN</div><div><br></div><div>I can push the config just fine, but after a reboot I seem to lose the device. </div><div><br></div><div>There is only one Inform sent after boot (the "1 BOOT" ) message, and I see that the proper STUN bindings have been discovered by the device. But the problem is that on GenieACS' logs I see the following:</div><div><br></div><div><br></div><div><div>2018-01-30T02:22:35.693Z [INFO] 186.182.172.218 F4068D-PLC%201200-<wbr>F4068DA36F5A: Inform; cpeRequestId="818014743" informEvent="1 BOOT" informRetryCount=0</div><div>2018-01-30T02:23:06.728Z [ERROR] 186.182.172.218 F4068D-PLC%201200-<wbr>F4068DA36F5A: Session timeout; sessionTimestamp=1517278955668</div></div><div><br></div><div>And the device's "last seen"  time does not update on the DB</div><div><br></div><div>Somwhere on the list it was mentioned that the changes are not written to the DB in case of a timeout, so that explains why im not seeing the device updated. But any clue why the connection might not be closing and instead timing out? . </div><div><br></div><div>What follows is the whole inform and response as shown in the debug logs:</div><div><br></div><div><br></div><div><div><br></div><div># REQUEST Tue Jan 30 2018 02:22:35 GMT+0000 (UTC)</div><div>{"host":"<a href="http://tr069-oem.mediatel.com.ar:8181" target="_blank">tr069-oem.mediatel.<wbr>com.ar:8181</a>","user-agent":"<wbr>TR069 Client 1.0","content-type":"text/xml; charset=utf-8","soapaction":"<wbr>Inform","transfer-encoding":"<wbr>chunked"}</div><div><?xml version='1.0' encoding='UTF-8'?></div><div><soap-env:Envelope xmlns:soap-env='<a href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank">http://<wbr>schemas.xmlsoap.org/soap/<wbr>envelope/</a>' xmlns:soap-enc='<a href="http://schemas.xmlsoap.org/soap/encoding" target="_blank">http://<wbr>schemas.xmlsoap.org/soap/<wbr>encoding</a>' xmlns:xsd='<a href="http://www.w3.org/2001/XMLSchema" target="_blank">http://www.w3.org/<wbr>2001/XMLSchema</a>' xmlns:xsi='<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/<wbr>2001/XMLSchema-instance</a>' xmlns:cwmp='urn:dslforum-org:<wbr>cwmp-1-0'></div><div><soap-env:Header></div><div><cwmp:ID soap-env:mustUnderstand='1'><wbr>818014743</cwmp:ID></div><div></soap-env:Header></div><div><soap-env:Body></div><div><cwmp:Inform></div><div><DeviceId></div><div><Manufacturer>devolo</<wbr>Manufacturer></div><div><OUI>F4068D</OUI></div><div><ProductClass>PLC 1200</ProductClass></div><div><SerialNumber>F4068DA36F5A</<wbr>SerialNumber></div><div></DeviceId></div><div><Event xsi:type='soap-enc:Array' soap-enc:arrayType='cwmp:<wbr>EventStruct[1]'></div><div><EventStruct></div><div><EventCode>1 BOOT</EventCode></div><div><CommandKey></CommandKey></div><div></EventStruct></div><div></Event></div><div><MaxEnvelopes>1</MaxEnvelopes></div><div><CurrentTime>2018-01-29T23:22:<wbr>35-03:00</CurrentTime></div><div><RetryCount>0</RetryCount></div><div><ParameterList xsi:type='soap-enc:Array' soap-enc:arrayType='cwmp:<wbr>ParameterValueStruct[13]'></div><div><ParameterValueStruct></div><div><Name>Device.DeviceInfo.<wbr>HardwareVersion</Name></div><div><Value xsi:type='xsd:string'>1</<wbr>Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.DeviceInfo.<wbr>SoftwareVersion</Name></div><div><Value xsi:type='xsd:string'>MAC-<wbr>QCA7500-2.4.0.55-01-20170605-<wbr>CS</Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.DeviceInfo.<wbr>SerialNumber</Name></div><div><Value xsi:type='xsd:string'><wbr>F4068DA36F5A</Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.DeviceInfo.<wbr>ProvisioningCode</Name></div><div><Value xsi:type='xsd:string'></Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.LAN.IPAddress</<wbr>Name></div><div><Value xsi:type='xsd:string'>192.168.<wbr>100.112</Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.LAN.MACAddress</<wbr>Name></div><div><Value xsi:type='xsd:string'>f4:06:<wbr>8d:a3:6f:5a</Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.ManagementServer.<wbr>ConnectionRequestURL</Name></div><div><Value xsi:type='xsd:string'><a href="http://192.168.100.112:7547" target="_blank">http://<wbr>192.168.100.112:7547</a></Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.ManagementServer.<wbr>ParameterKey</Name></div><div><Value xsi:type='xsd:string'></Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.ManagementServer.<wbr>UDPConnectionRequestAddress</<wbr>Name></div><div><Value xsi:type='xsd:string'><a href="http://186.182.172.218:7547" target="_blank">186.182.<wbr>172.218:7547</a></Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.ManagementServer.<wbr>NATDetected</Name></div><div><Value xsi:type='xsd:boolean'>1</<wbr>Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.GatewayInfo.<wbr>ManufacturerOUI</Name></div><div><Value xsi:type='xsd:string'></Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.GatewayInfo.<wbr>ProductClass</Name></div><div><Value xsi:type='xsd:string'></Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.GatewayInfo.<wbr>SerialNumber</Name></div><div><Value xsi:type='xsd:string'></Value></div><div></ParameterValueStruct></div><div></ParameterList></div><div></cwmp:Inform></div><div></soap-env:Body></div><div></soap-env:Envelope></div><div><br></div><div><br></div><div># RESPONSE Tue Jan 30 2018 02:22:35 GMT+0000 (UTC)</div><div>{"Server":"GenieACS/1.1.1","<wbr>SOAPServer":"GenieACS/1.1.1","<wbr>Content-Type":"text/xml; charset=\"utf-8\"","Set-<wbr>Cookie":"session=<wbr>f817dadac118c0c9"}</div><div><?xml version="1.0" encoding="UTF-8"?></div><div><soap-env:Envelope xmlns:soap-enc="<a href="http://schemas.xmlsoap.org/soap/encoding/" target="_blank">http://<wbr>schemas.xmlsoap.org/soap/<wbr>encoding/</a>" xmlns:soap-env="<a href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank">http://<wbr>schemas.xmlsoap.org/soap/<wbr>envelope/</a>" xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema" target="_blank">http://www.w3.org/<wbr>2001/XMLSchema</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/<wbr>2001/XMLSchema-instance</a>" xmlns:cwmp="urn:dslforum-org:<wbr>cwmp-1-0"><soap-env:Header><<wbr>cwmp:ID soap-env:mustUnderstand="1"><wbr>818014743</cwmp:ID></soap-env:<wbr>Header><soap-env:Body><cwmp:<wbr>InformResponse><MaxEnvelopes><wbr>1</MaxEnvelopes></cwmp:<wbr>InformResponse></soap-env:<wbr>Body></soap-env:Envelope></div><div><br></div><div><br></div><div><br></div></div><div><br></div><div>Any ideas on what the problem might be?</div><div><br></div><div>thanks in advance,</div><div>Diego</div><div><br></div></div>
</blockquote></div><br></div>