Error connecting to CPEs that require connection auth using master
Zaid Abdulla
zaid at genieacs.com
Sun Feb 26 20:28:45 EST 2017
On Wed, 2017-02-22 at 08:27 -0900, Dan Morphis wrote:
> It appears that the address isn't being passed in correctly. I did a
> console.log on the arguments:
> args
> { '0': 'RA:',
> '1': 'username',
> '2': 'MY_PASSWORD',
> '3': [Function] }
>
> 2017-02-22T17:15:22.697Z [ERROR] Uncaught exception;
> exceptionName="RangeError" exceptionMessage="Port should be > 0 and <
> 65536" exceptionStack="RangeError: Port should be > 0 and < 65536
> at Socket.send (dgram.js:338:11)
> at udpConReq (/opt/genieacs/lib/api-functions.js:73:17)
> at conReq (/opt/genieacs/lib/api-functions.js:189:9)
> at /opt/genieacs/lib/api-functions.js:212:12
> at handleCallback
> (/opt/genieacs/node_modules/mongodb/lib/utils.js:95:56)
> at /opt/genieacs/node_modules/mongodb/lib/collection.js:1406:5
> at handleCallback
> (/opt/genieacs/node_modules/mongodb/lib/utils.js:95:56)
> at /opt/genieacs/node_modules/mongodb/lib/cursor.js:674:5
> at handleCallback
> (/opt/genieacs/node_modules/mongodb/node_modules/mongodb-
> core/lib/cursor.js:171:5)
> at nextFunction
> (/opt/genieacs/node_modules/mongodb/node_modules/mongodb-
> core/lib/cursor.js:682:5)
Just pushed a fix for that. I couldn't test every case though so feel
free to reopen the Issue on Github if you still get an exception.
--
Zaid Abdulla <zaid at genieacs.com>
More information about the Users
mailing list