On Mon, Aug 31, 2015, at 12:13 AM, Martin wrote: > Hello Zaid, > > i have add > > "XML_PARSE_RECOVER" : true > > in genieacs/config/config.json and restart ./genieacs/bin/genieacs- > cwmp > > The result: > > 30 Aug 23:09:53 - Worker 31722 died (0) > â 30 Aug 23:09:53 - Worker 31739 listening to 0.0.0.0:7547 > â 30 Aug 23:09:58 - 9C9726-MediaAccess%20TG588v-CP1402CZE4K: Inform (1 > BOOT,2 PERIODIC); retry count 25 â 30 Aug 23:09:58 - > 9C9726-MediaAccess%20TG588v-CP1402CZE4K: Started task > refreshObject(55e36ea440c3372c7aeeae93) â 2015-08- > 30T21:10:29.382Z - Error: PCDATA invalid Char value 26 > â > â at Object.module.exports.fromXml > (/opt/genieacs/node_modules/libxmljs/lib/document.js:120:21) > â at Object.exports.request (/opt/genieacs/lib/soap.js:373:20) > â at /opt/genieacs/lib/cwmp.js:642:26 > â at /opt/genieacs/lib/cwmp.js:579:12 > â at b (domain.js:183:18) > â at try_callback (/opt/genieacs/node_modules/redis/index.js:592:9) > â at RedisClient.return_reply > (/opt/genieacs/node_modules/redis/index.js:685:13) > â at HiredisReplyParser.<anonymous> > (/opt/genieacs/node_modules/redis/index.js:321:14) > â at HiredisReplyParser.emit (events.js:95:17) > â at HiredisReplyParser.execute > (/opt/genieacs/node_modules/redis/lib/parser/hiredis.js:43:18) > â > â 30 Aug 23:10:29 - Worker 31730 died (0) > â 30 Aug 23:10:29 - Worker 31747 listening to 0.0.0.0:7547 > â 30 Aug 23:10:34 - 9C9726-MediaAccess%20TG588v-CP1402CZE4K: Inform (1 > BOOT,2 PERIODIC); retry count 26 â 30 Aug 23:10:34 - > 9C9726-MediaAccess%20TG588v-CP1402CZE4K: Started task > refreshObject(55e36ea440c3372c7aeeae93)
In that case it's best to contact the device vendor for a proper fix. A *very* hacky workaround is to find problematic bits in the raw data and replace them with valid string. You'll need to patch the function request() in soap.coffee. Zaid
_______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
