Hi,
We have OPDK 16.01 and now trying to install and configure Edge Micro gateway with this OPDK installation.
WE ran into below error during the validation call:
Any help on this would be really helpful.
warning: error downloading config, please check bootstrap configuration Error: Not Found at _loadStatus (/usr/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/network.js:200:8) at Request._callback (/usr/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/network.js:112:9) at Request.self.callback (/usr/lib/node_modules/edgemicro/node_modules/request/request.js:186:22) at emitTwo (events.js:106:13) at Request.emit (events.js:191:7) at Request.<anonymous> (/usr/lib/node_modules/edgemicro/node_modules/request/request.js:1081:10) at emitOne (events.js:96:13) at Request.emit (events.js:188:7) at IncomingMessage.<anonymous> (/usr/lib/node_modules/edgemicro/node_modules/request/request.js:1001:12) at IncomingMessage.g (events.js:291:16) at emitNone (events.js:91:20) at IncomingMessage.emit (events.js:185:7) at endReadableNT (_stream_readable.js:974:12) at _combinedTickCallback (internal/process/next_tick.js:74:11) at process._tickCallback (internal/process/next_tick.js:98:9) /usr/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/io.js:118 Object.keys(config).forEach(function (key) { ^ TypeError: Cannot convert undefined or null to object at IO.save (/usr/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/io.js:118:10) at IO.saveSync (/usr/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/io.js:102:8) at Object.save (/usr/lib/node_modules/edgemicro/node_modules/microgateway-config/index.js:42:25) at /usr/lib/node_modules/edgemicro/cli/lib/verify.js:222:16 at /usr/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/network.js:52:14 at /usr/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/network.js:130:14 at /usr/lib/node_modules/edgemicro/node_modules/async/lib/async.js:726:13 at /usr/lib/node_modules/edgemicro/node_modules/async/lib/async.js:52:16 at done (/usr/lib/node_modules/edgemicro/node_modules/async/lib/async.js:241:17) at /usr/lib/node_modules/edgemicro/node_modules/async/lib/async.js:44:16 at /usr/lib/node_modules/edgemicro/node_modules/async/lib/async.js:723:17 at /usr/lib/node_modules/edgemicro/node_modules/async/lib/async.js:167:37 at _loadStatus (/usr/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/network.js:200:5) at Request._callback (/usr/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/network.js:112:9) at Request.self.callback (/usr/lib/node_modules/edgemicro/node_modules/request/request.js:186:22) at emitTwo (events.js:106:13)
[]$ node -v
v6.9.4
[]$ npm -v
3.10.10
[]$ edgemicro --version
current nodejs version is v6.9.4 current edgemicro version is 2.3.3-beta 2.3.3-beta
Thanks,
Mani
Mani, Did you run "edgemicro init" and did the default.yaml file get created (in edgemicro home)?
Hi Srinandan,
Thanks for the inputs. But, actually, i ran into some issue during the "edgemicro configure private ...." and after some debugging, found out that it was due to the "secure" virtual host defined in the edgemicro_auth API that was breaking and that proxy was not always getting deployed properly and when i do a verify it was unable to get the products. I fixed it by creating a VH called "Secure" in my EDGE GW and that solved the issue.
Thanks again!
Thanks,
Mani