pnxtech / hydra-cli

Hydra Command Line Client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cfg pull is getting undefined response only

acardozzo opened this issue · comments

When I upload the configuration following the guide I always get undefined response from cfg pull.

above my config.json

"redis": {
"url": "redis://redis-14005.c82.us-east-1-2.ec2.cloud.redislabs.com:14005/0"
}

I tried another format as well:

"redis": {
"url": "ec2-3-82-236-210.compute-1.amazonaws.com",
"port": 6379,
"db": 15
}

So, when i create the service I got:
1/3: task: non-zero exit (255)
2/3: task: non-zero exit (255)
3/3: task: non-zero exit (255)

and the service logs are brought this:

hydra-router.1.t378xa5nf1qr@master01 | Error: Invalid service stored config
hydra-router.1.t378xa5nf1qr@master01 | at _getConfig.then (/usr/src/app/node_modules/hydra/index.js:123:30)
hydra-router.1.t378xa5nf1qr@master01 | at tryCatcher (/usr/src/app/node_modules/bluebird/js/release/util.js:16:23)
hydra-router.1.t378xa5nf1qr@master01 | at Promise._settlePromiseFromHandler (/usr/src/app/node_modules/bluebird/js/release/promise.js:512:31)
hydra-router.1.t378xa5nf1qr@master01 | at Promise._settlePromise (/usr/src/app/node_modules/bluebird/js/release/promise.js:569:18)
hydra-router.1.t378xa5nf1qr@master01 | at Promise._settlePromise0 (/usr/src/app/node_modules/bluebird/js/release/promise.js:614:10)
hydra-router.1.t378xa5nf1qr@master01 | at Promise._settlePromises (/usr/src/app/node_modules/bluebird/js/release/promise.js:693:18)
hydra-router.1.t378xa5nf1qr@master01 | at Async._drainQueue (/usr/src/app/node_modules/bluebird/js/release/async.js:133:16)
hydra-router.1.t378xa5nf1qr@master01 | at Async._drainQueues (/usr/src/app/node_modules/bluebird/js/release/async.js:143:10)
hydra-router.1.t378xa5nf1qr@master01 | at Immediate.Async.drainQueues (/usr/src/app/node_modules/bluebird/js/release/async.js:17:14)
hydra-router.1.t378xa5nf1qr@master01 | at runCallback (timers.js:637:20)
hydra-router.1.t378xa5nf1qr@master01 | at tryOnImmediate (timers.js:610:5)
hydra-router.1.t378xa5nf1qr@master01 | at processImmediate [as _immediateCallback] (timers.js:582:5)