grouper-users - Re: [grouper-users] New UI problems with reverse proxy
Subject: Grouper Users - Open Discussion List
List archive
- From: Darren Boss <>
- To: "Hyzer, Chris" <>, "" <>
- Subject: Re: [grouper-users] New UI problems with reverse proxy
- Date: Tue, 19 Sep 2017 13:06:40 +0000
- Ironport-phdr: 9a23:vXNgshaBnHayvQjM2EPOh+v/LSx+4OfEezUN459isYplN5qZpsy6bB7h7PlgxGXEQZ/co6odzbGH4+a4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9GiTe5Yr5+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v6bpgRh31hycdLzM2/2/Xhc5wgqxVoxyvugJxzJLPbY6PKPZzZLnQcc8GSWdDWMtaSixPApm7b4sKF+cPM/xXr5Pnp1QQqxu1GBShBOT0yj9Tm3T72rA13P47EQHcwgMgGcgCv2/TrNXuL6cfSvy6zK7NzTXbcvNWxSny55TSfRAnu/6DQKh/fdDNxkY1Dg7IiEibp4LiPzOQzOsNsm6b4vJ8Wu21j24otxxxojyzycg2jInGnJ8axUre+Spl2ok5PdK4SEl8Yd6rFJtfqTuWOJdxQsMnW21ouSA6yqEYtp6heigF1ognywDFZ/OZboeI/wrvW/qWITd9nHJlZa6/iAiu/ke6zO3zTNS730xQoiVZiNbBsG0G2R/L6sWfVPdw/1ut1DSK2gDd6exLOlw4mK/UJpI93rI8i58evljfEiL3nUj7ibGae0sq9+Wu9u/peK/ppoWGOI9xkgz+Mrohmsi4AekgNwgBRWmb+eCl2L3i+k31XKxGj/IonqTXvp3WP8sbpqm+Aw9a1oYs9QyzACuh0NQdhXUHLVRFdwybj4XxJV3DIez0APW6jlSikzpk3OzKM7juD5nRMnTPjbLscqph50NdzQc+yM5T6pxaB70ZJfL8QE7xtNjWDh8jNAy0xv7qB8hn2YMEQ2KAHKmZPLnJvl+P/eIvOPKBa5MSuDb4M/gl+uLugmElllAHe6mmx4YYZ2qiEvt6OUqVeWDsjcsZEWcWogo+S/TniFKYUT5UenayR7wz5isiBIK7FofMWJqtgKea0Se/H51WfXxGCkuSHXvydoWEXesMZzyIIs9njDMESaatR5U/2h6zqQ+pg4Zge6D06z8Vr9ar/9hv5vaZ3UU3/jxlHcmH+2CWRCdphm4OQXk70L0p5QQ3xU2EzLB1mblFDtFJ/NtIVBs3L5jR07Y8BtzvEEqVcc2OVU6rWJC7GjwrVfowxcMDeUBwB4/kgxzeiXmEGbgQwpCCHoY59Or22GPqb5Jxwmzc2a9nhV49WeNEMmi+m7Jy/AHVDoLA1U6QwfX5PZ8A1TLAoT/QhVGFu1tVBVZ9
> Full disclousure, I'm running Grouper in containers under Kubernetes with an nginx ingress
> controller which is terminating TLS at the ingress. When I use "kubectl port-forward pod-name"
> and access the ui over localhost:8080 I have no issues in accessing the interface.
So you are saying it works when you are not load balancing? But it doesn’t work with load balancing? Is the load balancing sticky by cookie? Does it work if it is load balancing with one node in the pool?
What the X-Grouper-path response http header coming back from the server?
Are you sure there are no errors in any of the logs?
Thanks
Chris
From: [mailto:] On Behalf Of Darren Boss
Sent: Monday, September 18, 2017 9:58 AM
To:
Subject: [grouper-users] New UI problems with reverse proxy
Question about the New UI and OWASP csrfguard and accessing the UI behind a nginx reverse proxy.
Took me a little while to figure out the additions to make to Tomcat to fix the major issue of accessing the UI after which the admin ui works. This is a common solution when running tomcat behind a reverse proxy. I have another tweak for Jetty that accomplished the same.
<Valve className="org.apache.catalina.valves.RemoteIpValve"
internalProxies="my.nginx.proxy.address"
remoteIpHeader="x-forwarded-for"
requestAttributesEnabled="true"
protocolHeader="x-forwarded-proto"
protocolHeaderHttpsValue="https"/>
Now when I click on any link in the new ui I end up in an infinite redirect loop with &csrfExtraParam=xyz being added to the existing url on every redirect. I've tried to search through the mailing list to find a resolution. I know there are lots of deployments behind reverse proxies so this should be a solved issue.
Full disclousure, I'm running Grouper in containers under Kubernetes with an nginx ingress controller which is terminating TLS at the ingress. When I use "kubectl port-forward pod-name" and access the ui over localhost:8080 I have no issues in accessing the interface.
I'm also incredably new to deploying grouper but had been using the deployment at Duke when I was a staff member there and I believe their deployment was running under OpenShift so probably a similar deployment to what I'm doing now.
--
Darren Boss
Senior Programmer/Analyst
Programmeur-analyste principal
(o) 416.228.1234 x 230(c) 919.525.0083
Darren Boss
Senior Programmer/AnalystProgrammeur-analyste principal
(o) 416.228.1234 x 230
155 University Ave, Suite 302 Toronto, ON M5H 3B7
www.computecanada.ca / www.calculcanada.ca
@ComputeCanada
- [grouper-users] New UI problems with reverse proxy, Darren Boss, 09/18/2017
- RE: [grouper-users] New UI problems with reverse proxy, Hyzer, Chris, 09/18/2017
- Re: [grouper-users] New UI problems with reverse proxy, Darren Boss, 09/18/2017
- Re: [grouper-users] New UI problems with reverse proxy, Darren Boss, 09/19/2017
- RE: [grouper-users] New UI problems with reverse proxy, Hyzer, Chris, 09/20/2017
- Re: [grouper-users] New UI problems with reverse proxy, Darren Boss, 09/20/2017
- Re: [grouper-users] New UI problems with reverse proxy, Darren Boss, 09/22/2017
- Re: [grouper-users] New UI problems with reverse proxy, Darren Boss, 09/22/2017
- Re: [grouper-users] New UI problems with reverse proxy, Darren Boss, 09/22/2017
- Re: [grouper-users] New UI problems with reverse proxy, Darren Boss, 09/22/2017
- RE: [grouper-users] New UI problems with reverse proxy, Hyzer, Chris, 09/22/2017
- RE: [grouper-users] New UI problems with reverse proxy, Hyzer, Chris, 09/25/2017
- RE: [grouper-users] New UI problems with reverse proxy, Hyzer, Chris, 09/25/2017
- Re: [grouper-users] New UI problems with reverse proxy, Darren Boss, 09/22/2017
- Re: [grouper-users] New UI problems with reverse proxy, Darren Boss, 09/22/2017
- Re: [grouper-users] New UI problems with reverse proxy, Darren Boss, 09/20/2017
- RE: [grouper-users] New UI problems with reverse proxy, Hyzer, Chris, 09/20/2017
- RE: [grouper-users] New UI problems with reverse proxy, Hyzer, Chris, 09/18/2017
Archive powered by MHonArc 2.6.19.