APIGEE Private Cloud Edge Micro Gateway configuration issue

gopaldurgoji
Participant III

I am using Windows OS to configure the edge micro gateway in Private APIGEE cloud using the following command

edgemicro private configure -o [org]-e [env]-u [username]-r [runtime_url]-m [mgmt_url]-v [virtual_host]

Getting the following error in my local:

C:\Windows\****>edgemicro private configure -o testOrg -e dev -u ****@.com -p ******-r http://######:9006 -m http://#######:8080 -v default -p ****** 2020-09-16T15:14:12.161Z [14272] [microgateway edgemicro] current nodejs version is v10.0.0 2020-09-16T15:14:12.163Z [14272] [microgateway edgemicro] current edgemicro version is 3.1.6 2020-09-16T15:14:14.917Z [18908] [microgateway private] delete cache config 2020-09-16T15:14:14.919Z [18908] [microgateway private] deleted C:\Users\**********\.edgemicro\***-***-config.yaml 2020-09-16T15:14:14.925Z [18908] [microgateway private] init config 2020-09-16T15:14:14.938Z [18908] [microgateway-config io] file doesn't exist, setting up 2020-09-16T15:14:18.000Z [18908] [microgateway private] Proxy edgemicro-internal is already deployed 2020-09-16T15:14:18.001Z [18908] [microgateway private] edgemicro-auth is already deployed 2020-09-16T15:14:18.004Z [18908] [microgateway private] checking org for existing KVM 2020-09-16T15:14:19.112Z [18908] [microgateway private] KVM already exists in your org 2020-09-16T15:14:19.926Z [18908] [microgateway private] generating keys 2020-09-16T15:14:20.729Z [18908] [microgateway private] { Error: cannot POST http://***.***.com:***2/edgemicro/credential/organization/***/environment/*** (401) at translateError (C:\Users\****\AppData\Roaming\npm\node_modules\edgemicro\cli\lib\private.js:451:15) at Request._callback (C:\Users\****\AppData\Roaming\npm\node_modules\edgemicro\cli\lib\private.js:400:19) at Request.self.callback (C:\Users\****\AppData\Roaming\npm\node_modules\edgemicro\node_modules\request\request.js:185:22) at Request.emit (events.js:182:13) at Request.<anonymous> (C:\Users\****\AppData\Roaming\npm\node_modules\edgemicro\node_modules\request\request.js:1154:10) at Request.emit (events.js:182:13) at IncomingMessage.<anonymous> (C:\Users\****\AppData\Roaming\npm\node_modules\edgemicro\node_modules\request\request.js:1076:12) at Object.onceWrapper (events.js:275:13) at IncomingMessage.emit (events.js:187:15) at endReadableNT (_stream_readable.js:1091:14) text: undefined }

Getting the following log in the APIGEE server box (aatached file):

10361-apigee-privatecloud-edgemg.jpg

Restarted the APIGEE server using: /opt/apigee/apigee-service/bin/apigee-all restart


Still getting the same issue. Please help to resolve.

0 1 210
1 REPLY 1

sydub7
Participant IV

Can you check if 'Authenticate-Call' policy in edgemicro-auth and Callout (Java) in edgemicro-internal proxy are correctly pointing to right values ?