Edge Microgateway Configuration Error

Not applicable

Hi All,

I'm trying to configure Edge Microgateway:

root@05d19dc7:/# edgemicro private configure -o org -e prod -u ac@**.com -r https://rts.p*.com -m https://api-ms.p*.com -v default,secure

current nodejs version is v8.11.3

current edgemicro version is 2.5.19

password:

delete cache config

deleted /root/.edgemicro/plexorg-prod-config.yaml

init config

file doesn't exist, setting up

Proxy edgemicro-internal is already deployed

edgemicro-auth is already deployed

checking org for existing KVM

KVM already exists in your org

generating keys

{ Error: cannot POST https://rts.p*.com/edgemicro/credential/organization/org/environment/prod (404)

at translateError (/usr/lib/node_modules/edgemicro/cli/lib/private.js:432:11)

at Request._callback (/usr/lib/node_modules/edgemicro/cli/lib/private.js:381:13)

at Request.self.callback (/usr/lib/node_modules/edgemicro/node_modules/request/request.js:185:22)

at emitTwo (events.js:126:13)

at Request.emit (events.js:214:7)

at Request.<anonymous> (/usr/lib/node_modules/edgemicro/node_modules/request/request.js:1157:10)

at emitOne (events.js:116:13)

at Request.emit (events.js:211:7)

at IncomingMessage.<anonymous> (/usr/lib/node_modules/edgemicro/node_modules/request/request.js:1079:12)

at Object.onceWrapper (events.js:313:30)

text:

{ fault:

{ faultstring: 'Unable to identify proxy for host: secure and url: /edgemicro/credential/organization/plexorg/environment/prod',

detail: [Object] } } }

I have rechecked the runtime API & Management Server I don't see any issue with that but why am I getting 404 for generating Keys the API runtime is working totally fine with other API's.

Please suggest?

0 6 499
6 REPLIES 6

Former Community Member
Not applicable

Looks like you are missing the secure virtual host. Either create the virtual host or use the -v flag to only deploy to default.

Hi, @srinandans My bad for not updating the latest one I did add the virtual host tag:

> edgemicro private configure -o org -e prod -u ac@**.com -r https://rts.p*.com -m https://api-ms.p*.com -v default,secure

Still the same Issue

Former Community Member
Not applicable

Remove secure. You probably don’t have that VH

@srinandans I do have both secure and default it's the same issue when I do

> edgemicro private configure -o org -e prod -u ac@**.com -r https://rts.p*.com -m https://api-ms.p*.com -v secure

Please let me know your thoughts on the endpoint that is not found.

Former Community Member
Not applicable

Something doesn’t add up. In the fault string I see the org as plexorg and in the 404 I see the org name as org. Maybe you’re obfuscating the strings hide actual details. That’s not helping.

Did a proxy called edgemicro-internal get deployed successfully?

The org name your seeing in the string is the real one. yeah, the proxy got created and deployed but the part where it generates keys is failing.