BTW.. at first I thought it could be related to the 5 second timeout mentioned here: http://lists.genieacs.com/pipermail/users/2017-August/001642.html
but I downgraded to node 7 and I see now a 30-second timeout and still no luck. 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: <EventStruct> <EventCode>1 BOOT</EventCode> <CommandKey></CommandKey> </EventStruct> <EventStruct> <EventCode>4 VALUE CHANGE</EventCode> <CommandKey></CommandKey> </EventStruct> </Event> Could this be related? Thanks! Thanks in advance! On Mon, Jan 29, 2018 at 11:38 PM, Diego Garcia del Rio <[email protected]> wrote: > Hi Everyone, > > I've been testing GenieACS for a while, using it to validate different > CPEs we have in the network. > > We're seeing a weird issue with a variant of a vendor's CPE after pushing > the configuration for the device to use STUN > > I can push the config just fine, but after a reboot I seem to lose the > device. > > 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: > > > 2018-01-30T02:22:35.693Z [INFO] 186.182.172.218 > F4068D-PLC%201200-F4068DA36F5A: > Inform; cpeRequestId="818014743" informEvent="1 BOOT" informRetryCount=0 > 2018-01-30T02:23:06.728Z [ERROR] 186.182.172.218 > F4068D-PLC%201200-F4068DA36F5A: > Session timeout; sessionTimestamp=1517278955668 > > And the device's "last seen" time does not update on the DB > > 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? . > > What follows is the whole inform and response as shown in the debug logs: > > > > # REQUEST Tue Jan 30 2018 02:22:35 GMT+0000 (UTC) > {"host":"tr069-oem.mediatel.com.ar:8181","user-agent":"TR069 Client > 1.0","content-type":"text/xml; charset=utf-8","soapaction":" > Inform","transfer-encoding":"chunked"} > <?xml version='1.0' encoding='UTF-8'?> > <soap-env:Envelope xmlns:soap-env='http://schemas.xmlsoap.org/soap/ > envelope/' xmlns:soap-enc='http://schemas.xmlsoap.org/soap/encoding' > 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'>818014743</cwmp:ID> > </soap-env:Header> > <soap-env:Body> > <cwmp:Inform> > <DeviceId> > <Manufacturer>devolo</Manufacturer> > <OUI>F4068D</OUI> > <ProductClass>PLC 1200</ProductClass> > <SerialNumber>F4068DA36F5A</SerialNumber> > </DeviceId> > <Event xsi:type='soap-enc:Array' soap-enc:arrayType='cwmp:EventStruct[1]'> > <EventStruct> > <EventCode>1 BOOT</EventCode> > <CommandKey></CommandKey> > </EventStruct> > </Event> > <MaxEnvelopes>1</MaxEnvelopes> > <CurrentTime>2018-01-29T23:22:35-03:00</CurrentTime> > <RetryCount>0</RetryCount> > <ParameterList xsi:type='soap-enc:Array' soap-enc:arrayType='cwmp: > ParameterValueStruct[13]'> > <ParameterValueStruct> > <Name>Device.DeviceInfo.HardwareVersion</Name> > <Value xsi:type='xsd:string'>1</Value> > </ParameterValueStruct> > <ParameterValueStruct> > <Name>Device.DeviceInfo.SoftwareVersion</Name> > <Value xsi:type='xsd:string'>MAC-QCA7500-2.4.0.55-01-20170605-CS</Value> > </ParameterValueStruct> > <ParameterValueStruct> > <Name>Device.DeviceInfo.SerialNumber</Name> > <Value xsi:type='xsd:string'>F4068DA36F5A</Value> > </ParameterValueStruct> > <ParameterValueStruct> > <Name>Device.DeviceInfo.ProvisioningCode</Name> > <Value xsi:type='xsd:string'></Value> > </ParameterValueStruct> > <ParameterValueStruct> > <Name>Device.LAN.IPAddress</Name> > <Value xsi:type='xsd:string'>192.168.100.112</Value> > </ParameterValueStruct> > <ParameterValueStruct> > <Name>Device.LAN.MACAddress</Name> > <Value xsi:type='xsd:string'>f4:06:8d:a3:6f:5a</Value> > </ParameterValueStruct> > <ParameterValueStruct> > <Name>Device.ManagementServer.ConnectionRequestURL</Name> > <Value xsi:type='xsd:string'>http://192.168.100.112:7547</Value> > </ParameterValueStruct> > <ParameterValueStruct> > <Name>Device.ManagementServer.ParameterKey</Name> > <Value xsi:type='xsd:string'></Value> > </ParameterValueStruct> > <ParameterValueStruct> > <Name>Device.ManagementServer.UDPConnectionRequestAddress</Name> > <Value xsi:type='xsd:string'>186.182.172.218:7547</Value> > </ParameterValueStruct> > <ParameterValueStruct> > <Name>Device.ManagementServer.NATDetected</Name> > <Value xsi:type='xsd:boolean'>1</Value> > </ParameterValueStruct> > <ParameterValueStruct> > <Name>Device.GatewayInfo.ManufacturerOUI</Name> > <Value xsi:type='xsd:string'></Value> > </ParameterValueStruct> > <ParameterValueStruct> > <Name>Device.GatewayInfo.ProductClass</Name> > <Value xsi:type='xsd:string'></Value> > </ParameterValueStruct> > <ParameterValueStruct> > <Name>Device.GatewayInfo.SerialNumber</Name> > <Value xsi:type='xsd:string'></Value> > </ParameterValueStruct> > </ParameterList> > </cwmp:Inform> > </soap-env:Body> > </soap-env:Envelope> > > > # RESPONSE Tue Jan 30 2018 02:22:35 GMT+0000 (UTC) > {"Server":"GenieACS/1.1.1","SOAPServer":"GenieACS/1.1.1","Content-Type":"text/xml; > charset=\"utf-8\"","Set-Cookie":"session=f817dadac118c0c9"} > <?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"> > 818014743</cwmp:ID></soap-env:Header><soap-env:Body><cwmp: > InformResponse><MaxEnvelopes>1</MaxEnvelopes></cwmp: > InformResponse></soap-env:Body></soap-env:Envelope> > > > > > Any ideas on what the problem might be? > > thanks in advance, > Diego > >
_______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
