Layer7 API Management

  • 1.  Which Url pass route via http(s) assertion

    Posted Sep 16, 2017 01:29 PM

    Hi All,

    Hope all are doing good.

    I have pass any url getting below error.

     

    can you please let me know how to handle this  Urls.

     

    Thanks in advance.

    -Sudhakar



  • 2.  Re: Which Url pass route via http(s) assertion

    Posted Sep 17, 2017 02:01 AM

    Hi,

     

    Do you happen to have an assertion in your policy which routes to google.co.in?, as the error says name resolution error looks like gateway does not no where is google.co.in, are you using DNS for name resolution ?



  • 3.  Re: Which Url pass route via http(s) assertion

    Broadcom Employee
    Posted Sep 17, 2017 07:24 PM

    Agree, it seems to be a problem of DNS of gateway.



  • 4.  Re: Which Url pass route via http(s) assertion

    Posted Sep 17, 2017 11:55 AM

    Hi Sudhakar,

    Can you please check if your able to ping or telnet or curl  the domain/url to which you are routing in the policy from the gateway console?



  • 5.  Re: Which Url pass route via http(s) assertion
    Best Answer

    Posted Sep 18, 2017 02:34 PM

    This is definitely a DNS resolution problem. Either your API Gateway doesn't have a proper DNS configuration, the DNS servers that are configured can't be reached, or they can't resolve external domain names.

     

    To verify, login to your API Gateway using the privileged root shell and type this command:

     

    nslookup www.google.co.in

     

    You should see this:

     

    [root@yourapigateway ~]# nslookup www.google.co.in
    Server: yourdnsserver
    Address: yourdnsserver#53

    Name: www.google.co.in
    Address: 172.217.2.163

     

    If it doesn't resolve, check your DNS configuration: cat /etc/resolv.conf