Configuration Issue in edge microgateway-invalid response from region api

privatejs.pngInstalling Edge Micro in my local windows OS. Using Latest version edgemicro 3.1.7.

Following APIGEE private Cloud configuration steps for the configuration.

Apigee Private Cloud configuration steps

Getting Error: Invalid Response from Region API.

But getting the response edgemicro configuration completed! (Without generating the Key and Secret)

That is due to one condition in Private.js file line number 420.

if (!res.body.region || !res.body.host) {
                            cb(writeConsoleLog('error',{component: CONSOLE_LOG_TAG_COMP},'invalid response from region api', regionUrl, res.text));
                            return;
                        }

If I comment above code, I am able to get Key and Secret for edge configuration.

Attaching the images for more details.

Please help me to resolve the above issue.

0 5 514
5 REPLIES 5

sydub7
New Member

Check if edgemicro-internal is deployed correctly in your edge ? Also run a trace on it to see what response is being returned while you execute your edgemicro private configure command

Yes edgemicro-internal deployed correctly.

trace2.png trace1.png

The host entry is not populated in edgemicro-internal json response (trace2.png) and hence microgateway is unable to configure the host.

Hi,

Where is this file located, I have the same probelm, which host needs to be there?

any updates on this, i have the same issue