GenieACS v1.2 CPE auth fail

Hello, I’m testing with GenieACS v1.2 and I create the config cwmp.auth in the gui (Admin / Config) with the next value AUTH(“username_string”, “password_string”), I configure this credentials in the CPE’s (TP-Link, Mikrotik and NuCom) but the devices don’t register in the server.

If Imake a tcpdump in the server I see the connection but in the CPE error log I get “Connection refused”, and I haven’t iptables or other firewall in the Geniacs server.

Can anyone help me?

Thanks

Ok, the problem is that the genieacs-cwmp service, not running, but when I execute this, I get the next error:

c@genieacs:/usr/local/lib/node_modules/genieacs/bin$ ./genieacs-cwmp
/usr/local/lib/node_modules/genieacs/bin/genieacs-cwmp:2
“use strict”;function _interopDefault(e){return e&&“object”==typeof e&&“default"in e?e.default:e}const path=require(“path”),fs=require(“fs”),os=require(“os”),cluster=_interopDefault(require(“cluster”)),http=require(“http”),https=require(“https”),zlib=require(“zlib”),crypto=require(“crypto”),vm=require(“vm”),seedrandom=_interopDefault(require(“seedrandom”)),child_process=require(“child_process”),later=require(“later”),mongodb=require(“mongodb”),parsimmon=require(“parsimmon”),util=require(“util”),tls=require(“tls”),yaml=require(“yaml”);let configDir,cwmpSsl,nbiSsl,fsSsl,uiSsl,ROOT_DIR=path.resolve(__dirname,”…");for(;!fs.existsSync(${ROOT_DIR}/package.json);){const e=path.resolve(ROOT_DIR,"…");if(e===ROOT_DIR){ROOT_DIR=process.cwd();break}ROOT_DIR=e}const options={EXT_DIR:{type:“path”,default:path.resolve(ROOT_DIR,“config/ext”)},MONGODB_CONNECTION_URL:{type:“string”,default:“mongodb://127.0.0.1/genieacs”},CWMP_WORKER_PROCESSES:{type:“int”,default:0}

SyntaxError: Unexpected reserved word
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Object.Module._extensions…js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3

and the service not run. I need help

Problem solved, I’m worked with the nodejs version 8, I update to version 12 and all work fine

1 Like