Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to setup edgemicro gateway for Apigee X?

I'm a newbie with Apigee and have configured Apigee X. While setting up edgemicro gateway for Apigee X, I tried both configure and private configure options. Unfortunately no success in both cases and getting following errors:

 

edgemicro configure -o XXXXXXXX -e eval -u XXXXXXXX
2021-08-30T22:32:19.489Z [2693] [microgateway edgemicro] current nodejs version is v14.17.5
2021-08-30T22:32:19.491Z [2693] [microgateway edgemicro] current edgemicro version is 3.2.2
2021-08-30T22:32:19.491Z [2693] [microgateway edgemicro] Current NodeJS version is v14.17.5.
password:
2021-08-30T22:32:24.917Z [2693] [microgateway-config io] file doesn't exist, setting up
2021-08-30T22:32:26.142Z [2693] [microgateway configure] Error: HTTP error 401
at Request._callback (/usr/lib/node_modules/edgemicro/node_modules/apigeetool/lib/commands/listdeployments.js:93:12)
at Request.self.callback (/usr/lib/node_modules/edgemicro/node_modules/request/request.js:185:22)
at Request.emit (events.js:400:28)
at Request.<anonymous> (/usr/lib/node_modules/edgemicro/node_modules/request/request.js:1154:10)
at Request.emit (events.js:400:28)
at IncomingMessage.<anonymous> (/usr/lib/node_modules/edgemicro/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:519:28)
at IncomingMessage.emit (events.js:412:35)
at endReadableNT (internal/streams/readable.js:1317:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
edgemicro private configure -o XXXXXX -e eval -u XXXXXXXX -r https://XXXXXX-eval.apigee.net -m https://XXXXXX.nip.io -v XXXXXXX -p -d
2021-08-30T22:36:15.938Z [2704] [microgateway edgemicro] current nodejs version is v14.17.5
2021-08-30T22:36:15.940Z [2704] [microgateway edgemicro] current edgemicro version is 3.2.2
2021-08-30T22:36:15.940Z [2704] [microgateway edgemicro] Current NodeJS version is v14.17.5.
2021-08-30T22:36:17.660Z [2715] [microgateway private] delete cache config
2021-08-30T22:36:17.662Z [2715] [microgateway private] deleted /home/XXXX/.edgemicro/XXXXXX-eval-config.yaml
2021-08-30T22:36:17.667Z [2715] [microgateway private] init config
2021-08-30T22:36:17.698Z [2715] [microgateway-config io] file doesn't exist, setting up
2021-08-30T22:36:18.215Z [2715] [microgateway private] configuring edgemicro internal proxy
2021-08-30T22:36:18.229Z [2715] [microgateway private] error - editing apiproxy Callout.xml
2021-08-30T22:36:18.230Z [2715] [microgateway private] [Error: EACCES: permission denied, open '/usr/lib/node_modules/edgemicro/edge/apiproxy/policies/Callout.xml'] {
errno: -13,
code: 'EACCES',
syscall: 'open',
path: '/usr/lib/node_modules/edgemicro/edge/apiproxy/policies/Callout.xml'
}

 

I've provided correct credentials. Also I couldn't find any mention of edgemicro in Apigee X documentation.

Am I missing something? Help on this is highly appreciated, thanks in advance.

0 2 617
2 REPLIES 2