IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

API Gateway Load Balancer Config

  • 1.  API Gateway Load Balancer Config

    Posted Mon May 18, 2020 02:32 PM

    Hi,

    We have configed an API Gateway cluster with 2 nodes, one intranet hostname of one node is VPSZ-API-Gateway01 and another hostname is VPSZ-API-Gateway02, and we use load balancer Nginx for the API Gateway cluster, the external URL for the nginx will be https://api.jusdaglobal.com:443/gateway, on API Gateway Administration load balancer configuration, we have configed an HTTPS url : “https://api.jusdaglobal.com:443” to match the URL of nginx, but after creating a new API, the Gateway endpoint is still intranet host name “http://VPSZ-API-Gateway01:5555/…” instead of nginx url “https://api.jusdaglobal.com:443”, we hope that the url exposed by the API in the Gateway endpoint is consistent with the url of nginx, what should we do.
    The screenshots of the API and Gateway Administration load balancer configuration are attached for your reference, thanks.

    Kelley


    #webMethods
    #API-Gateway
    #API-Management


  • 2.  RE: API Gateway Load Balancer Config



  • 3.  RE: API Gateway Load Balancer Config

    Posted Tue May 19, 2020 02:13 AM

    Hi,

    This doesn’t look to be the right behavior. What is the product and fix version?


    #API-Management
    #API-Gateway
    #webMethods


  • 4.  RE: API Gateway Load Balancer Config

    Posted Tue May 19, 2020 04:07 AM

    Can you please relogin once and check it


    #API-Gateway
    #API-Management
    #webMethods


  • 5.  RE: API Gateway Load Balancer Config

    Posted Tue May 19, 2020 04:18 AM

    Hi, Praveen:

    The API Gateway version is 10.5, and we have installed fix YAI_10.5_Fix4, IS_10.5_Core_Fix3,and CEL_10.5_Fix1 as attached.

    Kelley


    #API-Management
    #webMethods
    #API-Gateway


  • 6.  RE: API Gateway Load Balancer Config

    Posted Tue May 19, 2020 04:25 AM

    Hi, Mohammed:

    It’s same issue no matter restarting API Gateway or relogin.

    Kelley


    #API-Management
    #webMethods
    #API-Gateway


  • 7.  RE: API Gateway Load Balancer Config

    Posted Tue May 19, 2020 04:30 AM

    Hi Kelly,

    You have added LB for https and you didn’t select HTTPS in Policy → Transport → Enable HTTP / HTTPS.

    Option 1: Add LB for HTTP protocol
    Option 2: Enable HTTPS protocol in Policy → Transport → Enable HTTP / HTTPS


    #API-Gateway
    #API-Management
    #webMethods


  • 8.  RE: API Gateway Load Balancer Config

    Posted Tue May 19, 2020 05:43 AM

    Hi, Mohammed:

    When we enabled HTTPS protocol in policy, this problem was solved,thank you very much.

    Kelley


    #webMethods
    #API-Management
    #API-Gateway


  • 9.  RE: API Gateway Load Balancer Config

    Posted Tue May 19, 2020 09:38 AM

    Hi, Mohammed:

    When we only enable HTTPS protocol in policy, the gateway endpoint URL of the API has only one HTTPS URL like “https://openapi.jusda.com:443/…”, which is exactly what we want, but when we call the API, an exception of “Transport protocol not supported…” will be reported. In this case, whether the HTTP protocol must be enabled in the policy? But the HTTP protocol is not enabled on nginx, we do not want to expose the service of HTTP protocol, how can we solve this problem.

    Kelley


    #API-Gateway
    #API-Management
    #webMethods


  • 10.  RE: API Gateway Load Balancer Config

    Posted Tue May 19, 2020 10:16 AM

    Please invoke the gateway endpoint using HTTPS instead of HTTP as you configured HTTPS only.
    Or you can add the HTTP protocol in policy


    #API-Management
    #API-Gateway
    #webMethods


  • 11.  RE: API Gateway Load Balancer Config

    Posted Wed May 20, 2020 07:32 AM

    Hi, Mohammed:

    Noted ,thanks.

    Kelley


    #webMethods
    #API-Management
    #API-Gateway