I’ve implemented a POC of an API proxy, very simple for a get operation and I was trying to invoke it via Postman and/or browser.
When trying to invoke the proxy I am getting the error "Error: getaddrinfo ENOTFOUND ".
I took the hostname from the environment groups and even tried to force a hostname through Domains in the settings portal, however the error is always the same.
Thanks for evaluating Apigee X. Seems like you are missing some fundamental understanding of how Apigee X works.
First off there are 2 high level architecture components:
API runtime that processes API calls to your proxies, which generally uses instances, environments and environment groups. It’s accessed via the GCP console to create proxies, etc.
the Developer Portal which allows you to publish your API documentation and allows API consumers to view your APIs and create Apps in a self-service fashion. It’s configured in the “Classic Apigee UI”.
For the API runtime, please review the Apigee Architecture. You will need to complete the “Access Routing” portion of the Evaluation Wizard. Apigee X runtime exposes a private IP address that is configured as a backend of your Global Load Balancer (GLB). The GLB is where you get a custom domain for your APIs, or you can use the special nip.io value that the wizard offers. Using nip.io is easiest since you don’t have to worry about using your own domain if you don’t have one.
Hi @rduarte , thanks for engaging with the community, and a big thank you to @kurtkanaskie for providing a response! If you find Kurt’s reply helpful and it resolves your issue, please consider marking it as the accepted solution. This helps others in the community who might face similar challenges.
For more learning - feel free to explore our articles.