By: Pahuni Saharan user 03 Nov 2017 at 5:18 a.m. CDT

3 Responses
Pahuni Saharan gravatar
Hi When we have used NGINX as loadbalancer for setting up the replication between nodes in Glu 3.1.1,everything works perfectly fine but since NGINX can be single point of failure we have taken the AWS Application Load balancer and with ALB the glu console shows the inconsistent behaviour. It makes connection with one node and when we bring down the other node it gives 502 Errors for few seconds with below errors coming in Identity logs: Please let us know what could be the reason and solution for inconsistent behaviour of Gluu with ALB. 2017-11-03 10:06:19,053** ERROR [qtp985655350-16] [org.gluu.oxtrust.exception.GlobalExceptionHandler] (GlobalExceptionHandler.java:77) - Can't perform redirect to viewId: /error java.lang.IllegalStateException: Committed at **org.eclipse.jetty.server.HttpChannel.resetBuffer(HttpChannel.java:788) ~[jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.HttpOutput.resetBuffer(HttpOutput.java:885) ~[jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.Response.resetBuffer(Response.java:1232) ~[jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.Response.sendRedirect(Response.java:663) ~[jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.Response.sendRedirect(Response.java:672) ~[jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:176) ~[servlet-api-3.1.jar:3.1.0] at org.ocpsoft.rewrite.servlet.impl.HttpRewriteWrappedResponse.sendRedirect(HttpRewriteWrappedResponse.java:479) ~[rewrite-servlet-3.4.1.Final.jar:3.4.1.Final] at com.sun.faces.context.ExternalContextImpl.redirect(ExternalContextImpl.java:678) ~[jsf-impl-2.2.14.jar:2.2.14] at javax.faces.context.ExternalContextWrapper.redirect(ExternalContextWrapper.java:578) ~[jsf-api-2.2.14.jar:2.2] at javax.faces.context.ExternalContextWrapper.redirect(ExternalContextWrapper.java:578) ~[jsf-api-2.2.14.jar:2.2] at org.gluu.oxtrust.exception.GlobalExceptionHandler.performRedirect(GlobalExceptionHandler.java:75) [classes/:?] at org.gluu.oxtrust.exception.GlobalExceptionHandler.handle(GlobalExceptionHandler.java:55) [classes/:?] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:119) [jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198) [jsf-impl-2.2.14.jar:2.2.14] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:658) [jsf-api-2.2.14.jar:2.2] 7-11-03 10:06:19,053 ERROR [qtp985655350-16] [org.gluu.oxtrust.exception.GlobalExceptionHandler] (GlobalExceptionHandler.java:54) - Committed javax.faces.FacesException: Committed at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:89) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198) [jsf-impl-2.2.14.jar:2.2.14] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:658) [jsf-api-2.2.14.jar:2.2] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:837) [jetty-servlet-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1772) [jetty-servlet-9.3.15.v20161220.jar:9.3.15.v20161220] at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:226) [rewrite-servlet-3.4.1.Final.jar:3.4.1.Final] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) [jetty-servlet-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582) [jetty-servlet-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.security.SecurityHandler.han Thanks Pahuni

By Mohib Zico staff 03 Nov 2017 at 10:58 a.m. CDT

Mohib Zico gravatar
Out of curiosity... why ALB.. why not ELB?

By Michael Schwartz Account Admin 05 Nov 2017 at 3:45 a.m. CST

Michael Schwartz gravatar
Get a support contact. Not answering this until then.

By Marya Thomes user 19 Nov 2017 at 5:41 a.m. CST

Marya Thomes gravatar
Hello Please let us know what could be the reason and solution for inconsistent behaviour of Gluu with ALB ____________________ Web solution [Locus Rags](http://www.yfs.co.uk/preview/Locus%20RAGS%20-%20Web%20&%20Mobile%20Software%20Solutions-23319138) in UK