GenieACS help

Hello,

I noticed from the previous TR-069 thread that alot of you are using GenieACS. I have had a go at setting up a instance myself but I am running into some problems. I can see the soapenv is hitting the ACS server but according to the cwmp I am seeing this error "exceptionStack=“TypeError: Cannot read property ‘text’ of undefined”. which appears to be killing the worker

I have tested with a RB3011 with 6.40rc4 and a Gr3 hEX with and 6.40rc4 6.39.1.

Below if the full error I am seeing from genieacs-cwmp (I apologise for the formatting):

2017-05-09T21:50:53.540Z [ERROR] Uncaught exception; exceptionName=“TypeError” exceptionMessage=“Cannot read property │2017-05-09T21:19:50.222Z [INFO] Worker listening; pid=2336 address=“0.0.0.0” port=7557
‘text’ of undefined” exceptionStack=“TypeError: Cannot read property ‘text’ of undefined\n at Object.request (/usr/│2017-05-09T21:19:50.224Z [INFO] Worker listening; pid=2343 address=“0.0.0.0” port=7557
local/lib/node_modules/genieacs/lib/soap.js:463:94)\n at f (/usr/local/lib/node_modules/genieacs/lib/cwmp.js:747:20│2017-05-09T21:19:50.226Z [INFO] Worker listening; pid=2351 address=“0.0.0.0” port=7557
)\n at getSession (/usr/local/lib/node_modules/genieacs/lib/cwmp.js:647:12)\n at IncomingMessage. (/u│
sr/local/lib/node_modules/genieacs/lib/cwmp.js:741:12)\n at emitNone (events.js:86:13)\n at IncomingMessage.emit│
(events.js:188:7)\n at endReadableNT (_stream_readable.js:975:12)\n at _combinedTickCallback (internal/process/│
next_tick.js:80:11)\n at process._tickCallback (internal/process/next_tick.js:104:9)”

Here is the soapenv that is received (once again sorry for the formatting):

<soapenv:Envelope xmlns:soap=‘http://schemas.xmlsoap.org/soap/encoding/’ xmlns:xsd=‘http://www.w3.org/2001/XMLSchema’ xmlns:cwmp=‘urn:dslforum-org:cwmp-1-0’ xmlns:soapenv=‘http://schemas.xmlsoap.org/soap/envelope/’ xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance’>soapenv:Bodycwmp:InformMikroTikE48D8CRB3011UiAS71A106EBCAC0<Event soap:arrayType=‘cwmp:EventStruct[2]’>0 BOOTSTRAP1 BOOT12017-05-10T09:34:19+12:003Device.RootDataModelVersion2.11Device.DeviceInfo.SoftwareVersion6.40rc4Device.DeviceInfo.ProvisioningCodeDevice.DeviceInfo.HardwareVersionv1.0Device.ManagementServer.ParameterKeyDevice.ManagementServer.ConnectionRequestURLhttp://192.168.4.200:7547/3b9158fd6cc78adcb19c332268de3f06d591Device.ManagementServer.AliasBasedAddressing<Value xsi:type=‘xsd:boolean’>0</cwmp:Inform></soapenv:Body></soapenv:Envelope>

Any help would be much appreciated.

Thank you.

I join, the same problem.

The ID element in the SOAP header is missing. This is a client issue. I hope it gets fixed eventually but for now I implemented a workaround so try updating your GenieACS installation. See discussion here: https://github.com/zaidka/genieacs/issues/233.

Hi Zaidka,

Added those lines to the soap.js and can see the MT now.

TYVM!