On Sun, Aug 30, 2015, at 01:35 PM, Ekta Awadhiya wrote: > Hi , > > > > Problem in sending any request (like SPV, GPV ) from GenieAcs to > CPE when CPE connects first time to ACS as "BOOTSTRAP" annd "BOOT" > both ... > > > > > Following error comes in : > > > > " 2015-08-27T18:17:09.134Z - TypeError: *Cannot read property > 'ConnectionRequestURL' of undefined* at > /home/cpe/GenieACS/Nodejs/node-v0.12.6-linux- > x64/lib/node_modules/genieacs/lib/api-functions.js:117:60 at > /home/cpe/GenieACS/Nodejs/node-v0.12.6-linux- > x64/lib/node_modules/genieacs/node_modules/mongodb/lib/mongodb/collec- > tion/query.js:164:5 at Cursor.nextObject > (/home/cpe/GenieACS/Nodejs/node-v0.12.6-linux- > x64/lib/node_modules/genieacs/node_modules/mongodb/lib/mongodb/cursor- > .js:773:5) at commandHandler (/home/cpe/GenieACS/Nodejs/node-v0.12.6-linux- > x64/lib/node_modules/genieacs/node_modules/mongodb/lib/mongodb/cursor- > .js:741:14) at bound (domain.js:254:14) at runBound > (domain.js:267:12) at /home/cpe/GenieACS/Nodejs/node-v0.12.6-linux- > x64/lib/node_modules/genieacs/node_modules/mongodb/lib/mongodb/db.js:- > 1905:9 at bound (domain.js:254:14) at runBound > (domain.js:267:12) at Server.Base._callHandler > (/home/cpe/GenieACS/Nodejs/node-v0.12.6-linux- > x64/lib/node_modules/genieacs/node_modules/mongodb/lib/mongodb/connec- > tion/base.js:453:41) > > > > " > > > > Although we send "*ConnectionRequestURL" in Inform message .* > > *Like :* > > > <ParameterValueStruct><Name>*Device.ManagementServer.ParameterKey*</N- > ame><Value xsi:type="xsd:string">KKK</Value></ParameterValueStruct> > > <ParameterValueStruct><Name>*Device.ManagementServer.ConnectionReques- > tUR*L</Name><Value xsi:type="xsd:string"> > http://200.20.20.24:15285[1]</Value></ParameterValueStruct></ParameterList>
Nice password you got there xD. Not to be rude, but please don't post to this mailing list as a reply to some random email in your inbox. Compose a new email and include an relevant subject line. See the guidelines for posting at https://genieacs.com/community/. To answer your question, I'm guessing you're sending an API call with a device ID that doesn't exist. That's almost certainly a URL-encoding issue so make sure the device ID in the request URL is url-encoded. Zaid Links: 1. http://200.20.20.24:15285/
_______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
