Created attachment 991157 [details] Browser (Firefox) Network Profiling Description of problem: When browsing to the web-admin, selecting the VMs main tab, selecting a VM in the VMs grid and leaving the web-admin idle, the web-admin doesn't log out. Version-Release number of selected component (if applicable): latest master, possibly in 3.5 as well (see bug 1175313) How reproducible: 100% Steps to Reproduce: 1. Log into web-admin (you will automatically be navigated to the VMs main tab 2. Select a VM 3. Leave the GUI idle for more than configured engine session time-out * 2 Actual results: Web admin stays logged in Expected results: Web admin automatically logs out after no more than configured engine session time-out * 2. Additional info: I suspect that when a VM is selected, we are *periodically* calling a certain query (i.e. maybe for details for the 'General' sub-tab or similar) with "refresh=true" always, which is bad - need to find this query and make sure that it is invoked with "refresh=false" for background-refresh invocations. See attached screen-shot that shows browser network profiling: Note that when a VM is selected, there is a call to "/api" (which is done by the ui-plugins infrastructure) every 1 minute. The ui-plugins infrastructure is calling "/api" (as a heartbeat mechanism in order to keep the REST-API session alive) only upon doing one of the following in the GUI: - invoking an action - invoking a query with "refresh=true" i.e. when the GUI is invoking a query with "refresh=false", the ui-plugins infrastructure will not call "/api". more details in http://gerrit.ovirt.org/#/c/36622/. The periodical "refresh=true" queries (+ the ui-plugins heartbeat mechanism) are keeping the engine session alive, preventing auto-logout even when GUI is idle. When a VM is not selected, the behavior is fine: there are no "/api" calls at all, which implies that the GUI is not invoking any queries with "refresh=true", which means that if the GUI is kept idle long enough (up to engine session time out * 2), the engine session will eventually die and the user will be automatically logged out.
3.5.1 is already full with bugs (over 80), and since none of these bugs were added as urgent for 3.5.1 release in the tracker bug, moving to 3.5.2
*** This bug has been marked as a duplicate of bug 1206338 ***