Api managament self hosted gateway returns 404

David Macháček 25 Reputation points
2024-02-29T20:40:59.93+00:00

I have deployed APIM self hosted GW to AKS and it is up and running User's image

this gateway got exposed using ingress User's image

I create my API with self hosted GW and I would expect to call my it and get routed to beta svc in demo namespace
User's image

but I get 404 instead (even whil trying inside APIM portal) User's image

What do I do wrong? Do I need to configure the GW exposed IP somewhere? When I click on "Trace" I just get this empty screen:User's image

Please help, i am lost

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,206 questions
{count} votes

Accepted answer
  1. JananiRamesh-MSFT 28,716 Reputation points
    2024-03-01T10:37:15.2233333+00:00

    @David Macháček Thanks for getting back, this will not work from portal test console as i see from the screenshot that you're making a call to http://sgc-apim-prem.azure-api.net/request the host name gc-apim-prem.azure-api.net will resolve to Ip address of your APIM instance. Can you please try with postman as below with AKS ip address.
    User's image

    By this way you can verify that the self-hosted gateway is configured correctly, and that the API is accessible through the SHG.

    do let me know incase of further queries, I would be happy to assist you.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.