Uploaded image for project: 'Red Hat OpenShift Data Science'
  1. Red Hat OpenShift Data Science
  2. RHODS-6541

Dashboard auto-refresh does not work in Firefox

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • RHODS_1.21.0_GA
    • UI
    • False
    • None
    • False
    • Testable
    • No
    • No
    • No
    • Pending
    • None
    • Medium

      Description of problem:

      Auth-refresh (when OCP token expires) implemented in RHODS-5931 seems not working in Firefox. The fix leverages on "session storage" to store odh.dashboard.last.auto.refresh (last auto refresh), but  Firefox browser doesn't store that value.

      That's what i see in the browser console:

      When running in Chrome, it shows a date properly.

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. make the Openshift Oauth expiring in 2 minutes (not to wait 24hours)
      1. log in RHODS Dashboard with a basic user user1
      1. create a DS project and wait until token expires the first time
      1.  

      keep waiting for other 2 minutes to make the second expiration happening in one hour

       

      Actual results:

      • result for step 3: After 2 minutes, I started seeing errors in the dashboard UI: see image "start-failing.png" 
      • result for step 4: nothing happens (ok)

      Expected results:

      • result for step 3: the dashboard automatically reloads
      • result for step 4: nothing happens

      Reproducibility (Always/Intermittent/Only Once):

      Always using Firefox browser

      Build Details:

      RHODS v1.21.0-21

      Workaround:

      reload the page

      Additional info:

              Unassigned Unassigned
              rhn-support-bdattoma Berto D'Attoma
              Jorge Garcia Oncins Jorge Garcia Oncins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: