Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-34387

RHOCP Web Console - One inactive/idle tab causes session expiry for all other tabs.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • None
    • 4.13.z, 4.12.z, 4.14.z, 4.15.z
    • Management Console
    • None
    • No
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, one inactive or idle browser tab caused session expiration for all other tabs. With this change, activity in any tab will prevent session expiration even if there is one inactive or idle browser tab. (link:https://issues.redhat.com/browse/OCPBUGS-34387[*OCPBUGS-34387*])
      Show
      * Previously, one inactive or idle browser tab caused session expiration for all other tabs. With this change, activity in any tab will prevent session expiration even if there is one inactive or idle browser tab. (link: https://issues.redhat.com/browse/OCPBUGS-34387 [* OCPBUGS-34387 *])
    • Bug Fix
    • Done

      Description of problem:

      Using "accessTokenInactivityTimeoutSeconds: 900" for "OAuthClient" config. 
      
      One inactive or idle tab causes session expiry for all other tabs. 
      
      Following are the tests performed: 
      Test 1 - a single window with a single tab no activity would time out after 15 minutes. 
       
      Test 2 - a single window two tabs. No activity in the first tab, but was active in the second tab. Timeout occurred for both tabs after 15 minutes.
      
      Test 3 - a single window with a single tab and activity, does not time out after 15 minutes.
      
      Hence single idle tab causes the user logout from rest of the tabs.

      Version-Release number of selected component (if applicable):

          

      How reproducible:

          Always

      Steps to Reproduce:

          1. Set the OAuthClient.accessTokenInactivityTimeoutSeconds to 300(or any value)
          2. Login using to OCP web console and open multiple tabs.
          3. Keep one tab idle and work on the other open tabs.
          4. After 5 minutes the session expires for all tabs.
          

      Actual results:

          One inactive or idle tab causes session expiry for all other tabs. 

      Expected results:

          Session should not be expired if any tab is not idle. 

      Additional info:

          

            rhn-engineering-rhamilto Robb Hamilton
            rhn-support-ssardar Sameer Sardar
            YaDan Pei YaDan Pei
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: