Closed certrik closed 4 years ago
session timeout probably.
Well probably true. But why can I still access /#!/organization_list after the timeout.
currently set to 30 minutes in config.py
PERMANENT_SESSION_LIFETIME = timedelta(minutes=30)
did you click the back button of your browser or click the 'Organizations' link?
session timeout handling is implemented rather strange at the moment, some improvement have to be done there anyway
I have clicked the 'Organizations' link.
im testing the displaying of the organizations list after the session timed out, i guess its just a cached view.
doesnt seem to be a cache issue.
could not reproduce locally, going to diff configs
on my local installation im not logged out after 30 minutes either.
Any new information regarding this issue?
i tried again on our staging env, waited 18 minutes and nothing of importance happend. no timeout, no error, no warning, it just kept working.
I was twice as diligent as David and waited 36 minutes for nothing to happen
left my computer running and the page open in my browser, clicked the organizations link and the login page appeared.
so far the behaviour (as observed by Mark and I) is as expected. If you still experience the bug please check whats actually happening. especially which requests are sent and the responses are of significance.
There are aproximately two hours between the actions in the green box. The actions in the blue box are done within a minute. What can you see. I log in. Click on an organisation. Wait two hours. Click on link "Organizations" to /#!/organization_list . The page is loaded. Try to click an other organisation in the list. Redirected to login page. Why is /#!/organization_list still loaded after two hours of login and I am not directly redirected to the login page as my login has apparently timed out.
This time i created a new non-admin user and waited 5 hours inbetween requests. when i clicked the "organizations" link I immediately got a HTTP 401 and a red "unauthorized" notification from the app.
lets turn on logging and try to reproduce simultaneously at the start of next week.
I see the same behavior somtimes btw
After being idle for aprox. 15 minutes at /#!/user_list and going back to /#!/organization_list the list of organizations is shown. Trying to go to /#!/account error unauthorized is thrown and you are at the login page. I assume that goinig to any other page different from /#!/account would have thrown same error and results.