<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-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-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">tr069-oem.mediatel.com.ar:8181</a>","user-agent":"TR069 Client 1.0","content-type":"text/xml; charset=utf-8","soapaction":"Inform","transfer-encoding":"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/">http://schemas.xmlsoap.org/soap/envelope/</a>' xmlns:soap-enc='<a href="http://schemas.xmlsoap.org/soap/encoding">http://schemas.xmlsoap.org/soap/encoding</a>' xmlns:xsd='<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>' xmlns:xsi='<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>' xmlns:cwmp='urn:dslforum-org:cwmp-1-0'></div><div><soap-env:Header></div><div><cwmp:ID soap-env:mustUnderstand='1'>818014743</cwmp:ID></div><div></soap-env:Header></div><div><soap-env:Body></div><div><cwmp:Inform></div><div><DeviceId></div><div><Manufacturer>devolo</Manufacturer></div><div><OUI>F4068D</OUI></div><div><ProductClass>PLC 1200</ProductClass></div><div><SerialNumber>F4068DA36F5A</SerialNumber></div><div></DeviceId></div><div><Event xsi:type='soap-enc:Array' soap-enc:arrayType='cwmp: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:35-03:00</CurrentTime></div><div><RetryCount>0</RetryCount></div><div><ParameterList xsi:type='soap-enc:Array' soap-enc:arrayType='cwmp:ParameterValueStruct[13]'></div><div><ParameterValueStruct></div><div><Name>Device.DeviceInfo.HardwareVersion</Name></div><div><Value xsi:type='xsd:string'>1</Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.DeviceInfo.SoftwareVersion</Name></div><div><Value xsi:type='xsd:string'>MAC-QCA7500-2.4.0.55-01-20170605-CS</Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.DeviceInfo.SerialNumber</Name></div><div><Value xsi:type='xsd:string'>F4068DA36F5A</Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.DeviceInfo.ProvisioningCode</Name></div><div><Value xsi:type='xsd:string'></Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.LAN.IPAddress</Name></div><div><Value xsi:type='xsd:string'>192.168.100.112</Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.LAN.MACAddress</Name></div><div><Value xsi:type='xsd:string'>f4:06:8d:a3:6f:5a</Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.ManagementServer.ConnectionRequestURL</Name></div><div><Value xsi:type='xsd:string'><a href="http://192.168.100.112:7547">http://192.168.100.112:7547</a></Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.ManagementServer.ParameterKey</Name></div><div><Value xsi:type='xsd:string'></Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.ManagementServer.UDPConnectionRequestAddress</Name></div><div><Value xsi:type='xsd:string'><a href="http://186.182.172.218:7547">186.182.172.218:7547</a></Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.ManagementServer.NATDetected</Name></div><div><Value xsi:type='xsd:boolean'>1</Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.GatewayInfo.ManufacturerOUI</Name></div><div><Value xsi:type='xsd:string'></Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.GatewayInfo.ProductClass</Name></div><div><Value xsi:type='xsd:string'></Value></div><div></ParameterValueStruct></div><div><ParameterValueStruct></div><div><Name>Device.GatewayInfo.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","SOAPServer":"GenieACS/1.1.1","Content-Type":"text/xml; charset=\"utf-8\"","Set-Cookie":"session=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/">http://schemas.xmlsoap.org/soap/encoding/</a>" xmlns:soap-env="<a href="http://schemas.xmlsoap.org/soap/envelope/">http://schemas.xmlsoap.org/soap/envelope/</a>" xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" xmlns:cwmp="urn:dslforum-org:cwmp-1-0"><soap-env:Header><cwmp:ID soap-env:mustUnderstand="1">818014743</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:InformResponse><MaxEnvelopes>1</MaxEnvelopes></cwmp:InformResponse></soap-env: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>