Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-6773

Sticky loadbalancer in fabric http-gateway continues to forward request to offline containe

XMLWordPrintable

    • % %
    • Hide

      1. Create fabric and two child containers say c-1 and c-2

      2. Deploy gateway-http on root container and webservice on c-1 and c-2

      3. Configure stick loadbalacing (loadBalancerType=sticky in io.fabric8.gateway.http.mapping-apis.properties)

      4. Hit the gateway url 2-3 times to check if the stick loadbalancing is working.

      5, Stop the container serving the requests. We would see that the new requests would get ERROR like below

      2017-04-27 16:28:47,263 | ERROR | entloop-thread-0 | DefaultContext                   | 280 - io.fabric8.fabric-vertx - 1.2.0.redhat-621084 | Unhandled exception
      java.net.ConnectException: Connection refused: vpn2-54-71.bne.redhat.com/10.64.54.71:8184
      
      Show
      1. Create fabric and two child containers say c-1 and c-2 2. Deploy gateway-http on root container and webservice on c-1 and c-2 3. Configure stick loadbalacing (loadBalancerType=sticky in io.fabric8.gateway.http.mapping-apis.properties) 4. Hit the gateway url 2-3 times to check if the stick loadbalancing is working. 5, Stop the container serving the requests. We would see that the new requests would get ERROR like below 2017-04-27 16:28:47,263 | ERROR | entloop-thread-0 | DefaultContext | 280 - io.fabric8.fabric-vertx - 1.2.0.redhat-621084 | Unhandled exception java.net.ConnectException: Connection refused: vpn2-54-71.bne.redhat.com/10.64.54.71:8184

      Sticky loadbalancer in fabric http-gateway continues to forward request to offline container

            pantinor@redhat.com Paolo Antinori
            rhn-support-hnaram Herambh Naram (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: