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

invalid response from region api #318

Open
baselalrefaie opened this issue Nov 4, 2020 · 4 comments
Open

invalid response from region api #318

baselalrefaie opened this issue Nov 4, 2020 · 4 comments

Comments

@baselalrefaie
Copy link

​hi, i have apigee private v 4.50.00 and i am trying to use microgateway on my windows pc (windows 10) i installed the latest version (edgemicro version is 3.1.7) and (nodejs version is v12.13.1), the installation was fine, but when i try to configure it i got the error "invalid response from region api", i did not get the key and secret i have apigee with 5 nodes setup so i provided the ip/port the second node as runtime url (router-message processor) and using virtual host with two IPs, the error is as attached, and when i try the link http://10.13.85.56:9002/edgemicro/region/organization/etimad/environment/test i got a blank page, what could be the issue.
image

@icarodemorais
Copy link

I have the same problem.

Apigee running on v 4.50.00.00 on private cloud and apigee 3.2.1 being configured on my computer (windows 10).

I get the same result as you when running the configure command.

node_modules/edgemicro/cli/edgemicro private configure -o -e dev -u -p -r -m -v secure

the -v flag is related to the virtual host that I use.

@baselalrefaie
Copy link
Author

the issue resolved when install version 3.1.5

@borcsokj
Copy link

I have the same problem with Apigee Edge v4.19.6.0 (private) and Apigee Microgateway 3.3.0.

@keyurkarnik
Copy link
Collaborator

keyurkarnik commented May 11, 2022

Till we fix this, you can try this workaround.
In Callout.xml located at edge/apiproxy/policies/Callout.xml
set

<Property name="REGION_MAP">DN=edgemicroservices.apigee.net</Property>

as the second property. It should look like this

<Properties>
<Property name="PROXY_NAME_PREFIX">edgemicro_</Property>
<Property name="REGION_MAP">DN=edgemicroservices.apigee.net</Property>
<Property name="org.noncps">true</Property>
</Properties>

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

4 participants