As reported in IDEMPIERE-4175.
In the test-postgresql and test-oracle servers, sometimes the session timeout UI is shown when changing roles, it is not consistent, it happens sometimes the first time, sometimes it takes more attempts.
I tested with the Brave browser.
Steps to reproduce:
Login as SuperUser
Select the Garden Admin role
Click on change role
Select system as the role
The home UI is shown as System (or the selected role)
The system timeout UI is shown, when you click continue, the GardenAdmin session is shown again.
Attached you can find a video showing the behaviour
While your testing shows that might be the case, I’ve found no logical reason why this issue doesn’t exists in 7.1. For the change role part, it is essentially the same code between 7.1 an master.
I see jetty and zk are the same versions - but maybe the changes on org.adempiere.eclipse.equinox.http.servlet* could affect?
SessionManager also has some minor differences.
Well - now I repeated the tests in my local release-7.1 - and the issue happened after 13 iterations.
test-oracle and test-postgresql passed test with 200 iterations
i have test server, yesterday i update to latest of 7.1
today it's hang i check log and see full of message
10:58:45.720-----------> ZkAtmosphereHandler.warn: Could not find session: /webui/zkau/comet;jsessionid=node0gi72ftw9stds23v3otjmwmoo47.node0 
12:06:12.569-----------> ZkAtmosphereHandler.warn: Could not find session: /webui/zkau/comet;jsessionid=node0gi72ftw9stds23v3otjmwmoo47.node0 
(more than 1 hour)
will restart to see it happen again or not