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: Mon, 18 Sep 2017 14:26:11 +0000
- Ironport-phdr: 9a23:YbeG2hXtHOrSWSJ8SQ0mXtOVUhHV8LGtZVwlr6E/grcLSJyIuqrYbRyHt8tkgFKBZ4jH8fUM07OQ6PGwHzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjSwbLdxIRmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KptVRTmijoINyQh/W7YhMx/jqJVrhyiqRJi3YDbfJqYO+Bicq7HZ94WWXZNU8RXWidcAo28dYwPD+8ZMOhWtYb9vUEOogW4BQKxGe7vzSRIhmTr1qA9zusuCxvG3BY+ENIIqnjbt9L1NLwJUe2u0KbIyjDDb+tL2Tfh9ofHbgouofeWUr1ta8Xd01UgGBncg1iWtIfrMTSV1uEXvGia6eptTf6ghHQjqw5tvzivwtsjhZPPho0P11/L7z91z5ovKtGgR057ZtmkEJRUty6ELYd5XsQiQ2RwtCkmzb0GvIa7fDUWyJs52xHQcfqHfJKV7R35TuqePS13iXR4c7y8nxa/6Vasx+zgWsS21VtKoClIncLQun0I2BHf9tSLRuZ480i9xTqC1gXe5+RaLUwqm6rWLYMqzKQqmZoJq0vDGzf7mEXog6+ScUUp4u2o5P7mYrXiv5OcNoh0hh3nPqUhhMCzH+o4PhIBX2ic/uS827nj8lPjTLpWif02l7HVsJHcJcsFuq60GxFZ34c/5xu9Cjqm3tcVkmIbIF9Adx+Lk5TlN0zLLf/kEfuyglGhnTJ1y/zYML3tGpDNIWLCkLflc7Z98UlcyA8rwN9C/Z1UEKsBL+z1WkPrr9PYCQQ5Mxevzun7D9V905seWX+TAqCHLKzdq1mI6fgyLOaWfoMapCzyJ+A/5/HylX85hUMdfa6x0JsYcnC4GelmI12Hbnr2m9sBDHwKsRQkTOzxk1CCVT9TZ22uX6In+D03EoOmDYHfRo+zmryB2jm0HoFIamxcFF+DDGroJM24XKJGSDOAL9Ul2hcET7m6Acd10BqupR330ZJmNeGS5zUVs5Sl2dRosamb3x4o8iFsAt7YznqAVXpcn2UUSiUw0bwl50Fx1x3LhadihOFAGMYW+uhESBwSNJjAwvZ8BsyoHA/NY4HaZkyhR4CKCCsrQ9R56dgVeA4pF9y4lB3FmSCtGKQ9nLuOHIEo/6nV2XH9LoB2wiCVh+Eak1A6T54XZiWdjall+l2LCg==
> 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.