Hi All,
We have an organization with 3 environments, dev, stage and prod. We are facing a problem in Apigee Cloud when trying to use "stage" organization. Right now we have all of our projects accessing API proxies in dev environment, in this case everything works fine, we can start edgemicro and use it!
But when trying to use edgemicro to start in stage (i already generated key/secret for stage) we're facing problems.
DEBUG=* edgemicro start -o <my-org> -e stage -k <my-key>-s <my-secret>
Here is the error:
current nodejs version is v6.11.1 current edgemicro version is 2.4.6 Wed, 19 Jul 2017 11:48:49 GMT apigee Operating without access to apigee-access warning: products download from https://my-org-cwp-stage.apigee.net/edgemicro-auth/products returned 404 Not Found Wed, 19 Jul 2017 11:48:50 GMT agent:config error Error: Not Found, proxies undefined, products Cannot GET /products , jwt_public_key undefined warning: error downloading config, please check bootstrap configuration Error: Not Found at _loadStatus (/app/edgemicro/node_modules/microgateway-config/lib/network.js:205:8) at Request._callback (/app/edgemicro/node_modules/microgateway-config/lib/network.js:117:9) at Request.self.callback (/app/edgemicro/node_modules/request/request.js:188:22) at emitTwo (events.js:106:13) at Request.emit (events.js:191:7) at Request.<anonymous> (/app/edgemicro/node_modules/request/request.js:1171:10) at emitOne (events.js:96:13) at Request.emit (events.js:188:7) at IncomingMessage.<anonymous> (/app/edgemicro/node_modules/request/request.js:1091:12) at IncomingMessage.g (events.js:292: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:80:11) at process._tickCallback (internal/process/next_tick.js:104:9) failed to retieve config from gateway. continuing, will try cached copy.. Error: Not Found at _loadStatus (/app/edgemicro/node_modules/microgateway-config/lib/network.js:205:8) at Request._callback (/app/edgemicro/node_modules/microgateway-config/lib/network.js:117:9) at Request.self.callback (/app/edgemicro/node_modules/request/request.js:188:22) at emitTwo (events.js:106:13) at Request.emit (events.js:191:7) at Request.<anonymous> (/app/edgemicro/node_modules/request/request.js:1171:10) at emitOne (events.js:96:13) at Request.emit (events.js:188:7) at IncomingMessage.<anonymous> (/app/edgemicro/node_modules/request/request.js:1091:12) at IncomingMessage.g (events.js:292: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:80:11) at process._tickCallback (internal/process/next_tick.js:104:9) cache configuration /root/.edgemicro/my-org-cwp-stage-cache-config.yaml does not exist. exiting. info: jwt_public_key download from https://my-org-cwp-stage.apigee.net/edgemicro-auth/publicKey returned 200 OK info: config download from https://edgemicroservices-us-east-1.apigee.net/edgemicro/bootstrap/organization/my-org-cwp/environme... returned 200 OK
I observed the url for dev https://my-org-dev.apigee.net/edgemicro-auth/products works but the one for staging in https://my-org-stage.apigee.net/edgemicro-auth/products does not work!! i get the following response:
Cannot GET /products
In Apigee Cloud i have the edgemicro-auth deployed in dev and stage but it seems something is missing.
Is there any other configuration we need to do to have this working on staging?
Can anyone help me?
Thanks
Ciro
Is the edgemicro-auth proxy deployed to the stage environment?
Thanks for the answer @srinandans . But the problem was some mess around revision versions we had in edgemicro-auth. Thanks!