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
[email protected] /usr/lib/node_modules/genieacs
├─┬ [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│   ├── [email protected]
│   ├── [email protected]
│   ├─┬ [email protected]
│   │ ├─┬ [email protected]
│   │ │ ├── [email protected]
│   │ │ ├── [email protected]
│   │ │ ├── [email protected]
│   │ │ └── [email protected]
│   │ └─┬ [email protected]
│   │   ├─┬ [email protected]
│   │   │ └── [email protected]
│   │   └── [email protected]
│   ├── [email protected]
│   ├── [email protected]
│   ├── [email protected]
│   ├─┬ [email protected]
│   │ ├── [email protected]
│   │ └─┬ [email protected]
│   │   ├── [email protected]
│   │   ├── [email protected]
│   │   ├── [email protected]
│   │   └── [email protected]
│   └── [email protected]
└── [email protected]





OS Debian 8.4






Best Regards
 
Michael Neumann
Engineering
[email protected]


_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to