Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Looping ajax error with grouper 2.5 container

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Looping ajax error with grouper 2.5 container


Chronological Thread 
  • From: Andre Daniels <>
  • To: Grouper-Users <>
  • Cc: George Holbert <>, Gurkiran Singh <>
  • Subject: [grouper-users] Looping ajax error with grouper 2.5 container
  • Date: Wed, 16 Jun 2021 18:18:03 -0700

Hello all!

After getting the container running in AWS on EC2 I am seeing this repeating message and the browser eventually times out with too many redirects. I am trying to run just tomee and connect via ajp on port 8009. I suppose this is more of a Tomee problem than a grouper problem but this is the issue I ran into and maybe others have seen it before.

10.131.128.75 - G000171274 [16/Jun/2021:17:42:00 -0700] "GET /grouper/grouperExternal/public/UiV2Public.index?operation=UiV2Public.postIndex&function=UiV2Public.error&code=ajaxError HTTP/1.1" 302 -

This is the request that precedes the looping behavior:

GET https://grouper.dev.idm.aws.ucsc.edu/grouper/index.jsp HTTP/1.1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:88.0) Gecko/20100101 Firefox/88.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Referer: https://xxxx-some-ucsc-host/grouper/
Connection: keep-alive
Cookie: JSESSIONID=E12BF4F9D31A6C2ADA9A52AD65FD61C8; _ga=GA1.2.1524277588.1581106114; __utma=69683791.1524277588.1581106114.1616704226.1616704226.1; __utmz=69683791.1616704226.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); AWSELB=31DF9FD51C3224B746279841605C79AAF9F4103059BBA00E8985EA923D122CFCD45524C1E839DD759CF10EAA4EDCA1E6E46FABB013AFE72EA6D46A73852DD62E2565EBABDD; AWSELBCORS=31DF9FD51C3224B746279841605C79AAF9F4103059BBA00E8985EA923D122CFCD45524C1E839DD759CF10EAA4EDCA1E6E46FABB013AFE72EA6D46A73852DD62E2565EBABDD; _shibsession_64656661756c7468747470733a2f2f67726f757065722e6465762e69646d2e6177732e756373632e6564752f73686962626f6c657468=_0b56982b607f37f64bfb9e2cd9adc8b6
Upgrade-Insecure-Requests: 1
Host: xxxx-some-ucsc-host

it returns: 
HTTP/1.1 302 302
Cache-Control: private, no-store, no-cache, must-revalidate
Date: Thu, 17 Jun 2021 00:20:57 GMT
Expires: 0
Location: /grouper/grouperExternal/public/UiV2Public.index?operation=UiV2Public.postIndex&function=UiV2Public.error&code=ajaxError
Pragma: no-cache
Server: Apache/2.4.46 () OpenSSL/1.0.2k-fips
Content-Length: 0
Connection: keep-alive

The next is  (a new JSessionId) :

GET https://grouper.dev.idm.aws.ucsc.edu/grouper/grouperExternal/public/UiV2Public.index?operation=UiV2Public.postIndex&function=UiV2Public.error&code=ajaxError HTTP/1.1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:88.0) Gecko/20100101 Firefox/88.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Referer: https://grouper.dev.idm.aws.ucsc.edu/grouper/
Connection: keep-alive
Cookie: JSESSIONID=749027083D3FE60AB7730EEDCCA64C3F; _ga=GA1.2.1524277588.1581106114; __utma=69683791.1524277588.1581106114.1616704226.1616704226.1; __utmz=69683791.1616704226.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); AWSELB=31DF9FD51C3224B746279841605C79AAF9F4103059BBA00E8985EA923D122CFCD45524C1E839DD759CF10EAA4EDCA1E6E46FABB013AFE72EA6D46A73852DD62E2565EBABDD; AWSELBCORS=31DF9FD51C3224B746279841605C79AAF9F4103059BBA00E8985EA923D122CFCD45524C1E839DD759CF10EAA4EDCA1E6E46FABB013AFE72EA6D46A73852DD62E2565EBABDD; _shibsession_64656661756c7468747470733a2f2f67726f757065722e6465762e69646d2e6177732e756373632e6564752f73686962626f6c657468=_0b56982b607f37f64bfb9e2cd9adc8b6
Upgrade-Insecure-Requests: 1
Host: grouper.dev.idm.aws.ucsc.edu

Dockerfile:
ARG GROUPER_VERSION=2.5.50
FROM i2incommon/grouper:${GROUPER_VERSION}
COPY slashRoot /
RUN chown -R tomcat:tomcat /opt/grouper \
 && chown -R tomcat:tomcat /opt/tomee

run.sh
export GROUPER_DOCKER_HOME=/opt/app/grouper
export GROUPER_VERSION=2.5.50

docker run --detach --rm \
--mount type=bind,src="$GROUPER_DOCKER_HOME/logs/grouper-ws-logs,dst=/opt/grouper/logs" \
--mount type=bind,src="$GROUPER_DOCKER_HOME/grouper-2.5/slashRoot,dst=/opt/grouper/slashRoot" \
-e GROUPER_LOG_TO_HOST=true \
-e GROUPER_RUN_TOMEE=true \
-e GROUPER_RUN_APACHE=false \
-e GROUPER_RUN_SHIB_SP=false \
--name grouper-ui \
--publish 8009:8009 \
ucsc-grouper-2.5.50:latest ui

Please help if you can : )

Thanks,
Andre

--
Andre Daniels 
Sr. Developer/Security Analyst
University of California Santa Cruz
(831) 459-1980



Archive powered by MHonArc 2.6.24.

Top of Page