Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-37894

Page Crash: Something Went Wrong - Session not active

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • None

      Description of Problem

      Theres an issue related to the users session where once the user is inactive for a select period of time and then tries to navigate insights, they're greeted with a page crash 'Something Went Wrong' error.

      Here is the sentry error being reported: https://red-hat-it.sentry.io/issues/6294149868/events/072563c1656542e7b7e243d81fdffc91/ 
      In the bread crumbs (you can look through multiple instances) it looks like the threshold is two hours. After 2 hours, in the instance I shared, it looks like the 
       https://console.redhat.com/api/chrome-service/v1/last-visited  end point is hit, it returns a 401, and then the page is crashing. This is probably expected behavior but the error itself isnt handled well and should probably be a reroute as opposed to a page crash.

       

      How reproducible

      In production you can wait 2 hours and then try to do anything on insights, but locally itd probably be best to mimc a 401 return from the api end point:  https://console.redhat.com/api/chrome-service/v1/last-visited

      Actual Behavior

      User is greeted with a Page Crash Something Went Wrong Error

      Expected Behavior

      Reroute to login screen/any other screen. Just not a page crash

      Business Impact / Additional info

              Unassigned Unassigned
              rhn-engineering-apuente Adonis Puente
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: