cwmp worker died on processing inform

Michael Neumann mn at jm-data.at
Wed May 4 17:06:30 EDT 2016


Hello,

please can someone help me to find out what's wrong with that inform? Other devices are working fine - so I think this device is sending a sloppy inform.

I tried already to apply the fix from that issue ... https://github.com/zaidka/genieacs/issues/17#issuecomment-45466577 - but still not working

Output from /usr/bin/genieacs-cwmp

4 May 21:00:12 - Worker 12251 listening to 0.0.0.0:10500
(node) util.error is deprecated. Use console.error instead.
2016-05-04T19:42:52.333Z - TypeError: Cannot read property 'find' of undefined
    at parameterValueList (/usr/lib/node_modules/genieacs/lib/soap.js:134:13)
    at acsInform (/usr/lib/node_modules/genieacs/lib/soap.js:292:20)
    at Object.exports.request (/usr/lib/node_modules/genieacs/lib/soap.js:428:39)
    at /usr/lib/node_modules/genieacs/lib/cwmp.js:642:26
    at getSession (/usr/lib/node_modules/genieacs/lib/cwmp.js:573:12)
    at IncomingMessage.<anonymous> (/usr/lib/node_modules/genieacs/lib/cwmp.js:640:12)
    at emitNone (events.js:67:13)
    at IncomingMessage.emit (events.js:166:7)
    at endReadableNT (_stream_readable.js:913:12)
    at nextTickCallbackWith2Args (node.js:442:9)

4 May 21:42:52 - Worker 11278 died (0)



TCP Stream from the device

POST / HTTP/1.1
Accept: */*
Host: 192.18.0.101:10500
Connection: Keep-Alive
Content-type: text/xml; charset=UTF-8
Content-length: 2807
SOAPAction: ""

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cwmp="urn:dslforum-org:cwmp-1-0" xmlns="urn:dslforum-org:cwmp-1-0">
 <SOAP-ENV:Header>
  <cwmp:ID SOAP-ENV:mustUnderstand="1">677886</cwmp:ID>
 </SOAP-ENV:Header>
 <SOAP-ENV:Body>
  <cwmp:Inform>
   <DeviceId>
    <Manufacturer>Arcadyan</Manufacturer>
    <OUI>001A2A</OUI>
    <ProductClass>VDSL_IAD_WLAN</ProductClass>
    <SerialNumber>4083014818</SerialNumber>
   </DeviceId>
   <Event SOAP-ENC:arrayType="cwmp:EventStruct[2]">
    <EventStruct>
     <EventCode>0 BOOTSTRAP</EventCode>
     <CommandKey></CommandKey>
    </EventStruct>
    <EventStruct>
     <EventCode>4 VALUE CHANGE</EventCode>
     <CommandKey></CommandKey>
    </EventStruct>
   </Event>
   <MaxEnvelopes>1</MaxEnvelopes>
   <CurrentTime>2016-05-04T13:11:10</CurrentTime>
   <RetryCount>0</RetryCount>
   <ParameterList SOAP-ENC:arrayType="cwmp:ParameterValueStruct[8]">
    <ParameterValueStruct>
     <Name>InternetGatewayDevice.DeviceSummary</Name>
     <Value xsi:type="xsd:string">InternetGatewayDevice:1.4[](Baseline:2,EthernetLAN:2,WiFiLAN:2,WiFiWMM:1,WiFiWPS:1,ADSLWAN:1,ADSL2WAN:1,QoS:2,Time:2,IPPing:1),VoiceService:1.0[1](Endpoint:1,SIPEndpoint:1,TAEndpoint:1)</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
     <Name>InternetGatewayDevice.DeviceInfo.HardwareVersion</Name>
     <Value xsi:type="xsd:string">VGV7510KW22</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
     <Name>InternetGatewayDevice.DeviceInfo.SoftwareVersion</Name>
     <Value xsi:type="xsd:string">O2-ARC-1.01.25-VDSL_IAD_WLAN</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
     <Name>InternetGatewayDevice.DeviceInfo.SpecVersion</Name>
     <Value xsi:type="xsd:string">1.0</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
     <Name>InternetGatewayDevice.DeviceInfo.ProvisioningCode</Name>
     <Value xsi:type="xsd:string"></Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
     <Name>InternetGatewayDevice.ManagementServer.ParameterKey</Name>
     <Value xsi:type="xsd:string"></Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
     <Name>InternetGatewayDevice.ManagementServer.ConnectionRequestURL</Name>
     <Value xsi:type="xsd:string">http://192.18.1.100:7170/ConnectionRequest</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
     <Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.ExternalIPAddress</Name>
     <Value xsi:type="xsd:string">192.18.1.100</Value>
    </ParameterValueStruct>
   </ParameterList>
  </cwmp:Inform>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

HTTP/1.1 500 Internal Server Error
Connection: close
Date: Wed, 04 May 2016 11:11:10 GMT
Transfer-Encoding: chunked
33
TypeError: Cannot read property 'find' of undefined
0





npm list
genieacs at 1.0.5 /usr/lib/node_modules/genieacs
├─┬ hiredis at 0.4.1
│ ├── bindings at 1.2.1
│ └── nan at 2.2.1
├─┬ libxmljs at 0.14.3
│ ├── bindings at 1.2.1
│ └── nan at 2.0.7
├─┬ mongodb at 1.4.40
│ ├─┬ bson at 0.2.22
│ │ └── nan at 1.8.4
│ ├─┬ kerberos at 0.0.11
│ │ └── nan at 1.8.4
│ └─┬ readable-stream at 2.1.0
│   ├── core-util-is at 1.0.2
│   ├── inherits at 2.0.1
│   ├─┬ inline-process-browser at 2.0.1
│   │ ├─┬ falafel at 1.2.0
│   │ │ ├── acorn at 1.2.2
│   │ │ ├── foreach at 2.0.5
│   │ │ ├── isarray at 0.0.1
│   │ │ └── object-keys at 1.0.9
│   │ └─┬ through2 at 0.6.5
│   │   ├─┬ readable-stream at 1.0.34
│   │   │ └── isarray at 0.0.1
│   │   └── xtend at 4.0.1
│   ├── isarray at 1.0.0
│   ├── process-nextick-args at 1.0.6
│   ├── string_decoder at 0.10.31
│   ├─┬ unreachable-branch-transform at 0.5.1
│   │ ├── esmangle-evaluator at 1.0.0
│   │ └─┬ recast at 0.11.5
│   │   ├── ast-types at 0.8.16
│   │   ├── esprima at 2.7.2
│   │   ├── private at 0.1.6
│   │   └── source-map at 0.5.3
│   └── util-deprecate at 1.0.2
└── redis at 0.12.1





OS Debian 8.4






Best Regards
 
Michael Neumann
Engineering
mn at JM-DATA.at




More information about the Users mailing list