How to verify edgemicro : edgemicro verify -o sqr -e test -k **** -s **** throws error

Not applicable

While I am working with Apigee edge micro gate way. following tutorial: http://docs.apigee.com/microgateway/latest/edge-microgateway-tutorial When i try to edgemicro verify -o sqr -e test -k **** -s **** I am getting following error: current nodejs version is v6.7.0 warning: products download from https://sqr-test.apigee.net/edgemicro-auth/products returned 404 Not Found 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:102:9) at Request.self.callback (/usr/lib/node_modules/edgemicro/node_modules/request/request.js:187: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:1048: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:969:12) 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:51:14 at /usr/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/network.js:120: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:102:9) at Request.self.callback (/usr/lib/node_modules/edgemicro/node_modules/request/request.js:187:22) at emitTwo (events.js:106:13)

Solved Solved
1 2 269
1 ACCEPTED SOLUTION

Former Community Member
Not applicable
@bharat

Did edgemicro configure run successfully? I recommend deleting the edgemicro-auth proxy from the environment, then

1) run edgemicro init

2) run edgemicro configure

View solution in original post

2 REPLIES 2

Former Community Member
Not applicable
@bharat

Did edgemicro configure run successfully? I recommend deleting the edgemicro-auth proxy from the environment, then

1) run edgemicro init

2) run edgemicro configure

@Srinandan Sridhar yes configure run successfully.

Thank you for your answer.

I undeploy and deploy edgemicro-auth proxy from the environment,

and now able to verify successfully.