What's happening when you ask the API Manager for the endpoint is that the
manager tries to make an HTTP connection to the Gateway that the API has
been published to. The assumption is that the Gateway knows its own
external URL and is therefore the only party that can report it.
The error stack trace indicates that the HTTP connection between the
manager and gateway resulted in a 502 error (Bad Gateway).
Has anything changed with your deployed Gateway? Can you still publish
APIs to that Gateway? You could try going to the Gateway admin page and
try "testing" the Gateway link from there.
-Eric
On Wed, Feb 28, 2018 at 2:22 AM, Ashish Patel <ashish.patel(a)futuregroup.in>
wrote:
Hi,
Issue help required: We are using APIMan 1.2.7 in production with Wildfly
10.
In APIManager UI, I can see all API details, however whenever I click on
Endpoin, I get below error. Even when I click on APIManager -> ClientApp ->
click on APIs, it breaks with 500 page error. Any help on this is highly
appreciated.
io.apiman.manager.api.rest.contract.exceptions.SystemErrorException:
java.lang.RuntimeException: Failed to get the API endpoint: 502
at io.apiman.manager.api.rest.
impl.OrganizationResourceImpl.getApiVersionEndpointInfo(
OrganizationResourceImpl.java:1937)
at io.apiman.manager.api.rest.
impl.OrganizationResourceImpl$Proxy$_$$_WeldClientProxy.
getApiVersionEndpointInfo(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(
MethodInjectorImpl.java:139)
at org.jboss.resteasy.core.ResourceMethodInvoker.
invokeOnTarget(ResourceMethodInvoker.java:295)
at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(
ResourceMethodInvok
….
Caused by: java.lang.RuntimeException: Failed to get the API endpoint: 502
at io.apiman.manager.api.gateway.rest.GatewayClient.
getApiEndpoint(GatewayClient.java:120)
at io.apiman.manager.api.gateway.rest.RestGatewayLink.
getApiEndpoint(RestGatewayLink.java:156)
Thanks & Regards,
Ashish Patel
_______________________________________________
Apiman-user mailing list
Apiman-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/apiman-user