egg-passport-oauth2 error key required #fabric #cello


mallikarjunasai995@...
 

Hi Team

Am trying to bring the master node with make start command given my public id also

but container user-dashboard is exiting because of egg-passport-0auth2 issue. Below are the error logs ... could anyone help me where can I found this config file and what is the key and secret that I have to pass to resolve this 

AssertionError [ERR_ASSERTION]: [egg-passport-oauth2] config.passportOauth2.key required
at module.exports.app (/node_modules/egg-passport-oauth2/app.js:10:3)
at Hook.configDidLoad (/node_modules/egg-core/lib/lifecycle.js:92:9)
at Lifecycle.triggerConfigDidLoad (/node_modules/egg-core/lib/lifecycle.js:143:14)
at Lifecycle.triggerConfigWillLoad (/node_modules/egg-core/lib/lifecycle.js:137:10)
at AppWorkerLoader.loadCustomApp (/node_modules/egg-core/lib/loader/mixin/custom.js:37:20)
at AppWorkerLoader.load (/node_modules/egg/lib/loader/app_worker_loader.js:33:10)
at new Application (/node_modules/egg/lib/application.js:66:19)
at Object.<anonymous> (/node_modules/egg-cluster/lib/app_worker.js:19:13)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
[2019-07-23 17:44:34.826] [cfork:master:50] worker:66 disconnect (exitedAfterDisconnect: false, state: disconnected, isDead: false, worker.disableRefork: true)
[2019-07-23 17:44:34.827] [cfork:master:50] don't fork, because worker:66 will be kill soon
2019-07-23 17:44:34,828 INFO 50 [master] app_worker#1:66 disconnect, suicide: false, state: disconnected, current workers: ["1"]
[2019-07-23 17:44:34.829] [cfork:master:50] worker:66 exit (code: 1, exitedAfterDisconnect: false, state: dead, isDead: true, isExpected: false, worker.disableRefork: true)
2019-07-23 17:44:34,833 ERROR 50 nodejs.AppWorkerDiedError: [master] app_worker#1:66 died (code: 1, signal: null, suicide: false, state: dead), current workers: []
at Master.onAppExit (/node_modules/egg-cluster/lib/master.js:408:21)
at emitOne (events.js:116:13)
at Master.emit (events.js:211:7)
at Messenger.sendToMaster (/node_modules/egg-cluster/lib/utils/messenger.js:137:17)
at Messenger.send (/node_modules/egg-cluster/lib/utils/messenger.js:102:12)
at EventEmitter.cluster.on (/node_modules/egg-cluster/lib/master.js:277:22)
at emitThree (events.js:141:20)
at EventEmitter.emit (events.js:217:7)
at ChildProcess.worker.process.once (internal/cluster/master.js:185:13)
at Object.onceWrapper (events.js:317:30)
name: "AppWorkerDiedError"
pid: 50
hostname: cello-user-dashboard

2019-07-23 17:44:34,839 ERROR 50 [master] app_worker#1:66 start fail, exiting with code:1
2019-07-23 17:44:34,839 ERROR 50 [master] exit with code:1
2019-07-23 17:44:34,849 ERROR 56 [agent_worker] receive disconnect event on child_process fork mode, exiting with code:110
2019-07-23 17:44:34,854 ERROR 56 [agent_worker] exit with code:110
⚠️ Error: /node_modules/egg-bin/lib/start-cluster {"stricky":true,"port":8081,"baseDir":"/var/www","workers":1,"framework":"/var/www/node_modules/egg"} exit with code 1
⚠️ Command Error, enable `DEBUG=common-bin` for detail