Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edgemicro verify fails after fresh configuration. #308

Open
PaulRudin opened this issue Aug 14, 2020 · 1 comment
Open

Edgemicro verify fails after fresh configuration. #308

PaulRudin opened this issue Aug 14, 2020 · 1 comment

Comments

@PaulRudin
Copy link

Following the instructions in https://docs.apigee.com/api-platform/microgateway/3.1.5/setting-and-configuring-edge-microgateway,
I get an error at the edgemicro verify step. The error is as follows

2020-08-14T14:27:24.015Z [966983] [microgateway edgemicro] current nodejs version is v12.16.0
2020-08-14T14:27:24.016Z [966983] [microgateway edgemicro] current edgemicro version is 3.1.5
2020-08-14T14:27:24.599Z [966983] [microgateway-config network] products download from https://cam-sandbox.apigee.net/edgemicro-auth/products returned 
2020-08-14T14:27:24.601Z [966983] [microgateway-config network] error downloading config, please check bootstrap configuration Error: Not Found
    at _loadStatus (/home/paul/.nvm/versions/node/v12.16.0/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/network.js:580:12)
    at Request._callback (/home/paul/.nvm/versions/node/v12.16.0/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/network.js:364:25)
    at Request.self.callback (/home/paul/.nvm/versions/node/v12.16.0/lib/node_modules/edgemicro/node_modules/microgateway-config/node_modules/request/request.js:185:22)
    at Request.emit (events.js:321:20)
    at Request.<anonymous> (/home/paul/.nvm/versions/node/v12.16.0/lib/node_modules/edgemicro/node_modules/microgateway-config/node_modules/request/request.js:1154:10)
    at Request.emit (events.js:321:20)
    at IncomingMessage.<anonymous> (/home/paul/.nvm/versions/node/v12.16.0/lib/node_modules/edgemicro/node_modules/microgateway-config/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (events.js:427:28)
    at IncomingMessage.emit (events.js:333:22)
    at endReadableNT (_stream_readable.js:1204:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)
/home/paul/.nvm/versions/node/v12.16.0/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/io.js:121
  Object.keys(config).forEach(function (key) {
         ^

TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at IO.save (/home/paul/.nvm/versions/node/v12.16.0/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/io.js:121:10)
    at IO.saveSync (/home/paul/.nvm/versions/node/v12.16.0/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/io.js:105:8)
    at Object.save (/home/paul/.nvm/versions/node/v12.16.0/lib/node_modules/edgemicro/node_modules/microgateway-config/index.js:44:25)
    at /home/paul/.nvm/versions/node/v12.16.0/lib/node_modules/edgemicro/cli/lib/verify.js:231:16
    at /home/paul/.nvm/versions/node/v12.16.0/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/network.js:155:20
    at /home/paul/.nvm/versions/node/v12.16.0/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/network.js:443:20
    at /home/paul/.nvm/versions/node/v12.16.0/lib/node_modules/edgemicro/node_modules/microgateway-config/node_modules/async/lib/async.js:726:13
    at /home/paul/.nvm/versions/node/v12.16.0/lib/node_modules/edgemicro/node_modules/microgateway-config/node_modules/async/lib/async.js:52:16
    at done (/home/paul/.nvm/versions/node/v12.16.0/lib/node_modules/edgemicro/node_modules/microgateway-config/node_modules/async/lib/async.js:241:17)
    at /home/paul/.nvm/versions/node/v12.16.0/lib/node_modules/edgemicro/node_modules/microgateway-config/node_modules/async/lib/async.js:44:16
    at /home/paul/.nvm/versions/node/v12.16.0/lib/node_modules/edgemicro/node_modules/microgateway-config/node_modules/async/lib/async.js:723:17
    at /home/paul/.nvm/versions/node/v12.16.0/lib/node_modules/edgemicro/node_modules/microgateway-config/node_modules/async/lib/async.js:167:37
    at _loadStatus (/home/paul/.nvm/versions/node/v12.16.0/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/network.js:580:9)
    at Request._callback (/home/paul/.nvm/versions/node/v12.16.0/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/network.js:364:25)
    at Request.self.callback (/home/paul/.nvm/versions/node/v12.16.0/lib/node_modules/edgemicro/node_modules/microgateway-config/node_modules/request/request.js:185:22)
    at Request.emit (events.js:321:20)
    at Request.<anonymous> (/home/paul/.nvm/versions/node/v12.16.0/lib/node_modules/edgemicro/node_modules/microgateway-config/node_modules/request/request.js:1154:10)
    at Request.emit (events.js:321:20)
    at IncomingMessage.<anonymous> (/home/paul/.nvm/versions/node/v12.16.0/lib/node_modules/edgemicro/node_modules/microgateway-config/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (events.js:427:28)
@borcsokj
Copy link

Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants