Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-3060

Empty page in Dashboard when OCP OAuth session is expired

XMLWordPrintable

    • False
    • None
    • False
    • Hide
      = Blank dashboard page in expired OpenShift OAuth sessions

      Currently, when an OpenShift OAuth session expires, the dashboard page appears blank.

      .Workaround

      * Use either option:
      ** Clear the cookies related to the {prod-short} dashboard page from your browser.
      ** Load the {prod-short} dashboard page in incognito mode.
      Show
      = Blank dashboard page in expired OpenShift OAuth sessions Currently, when an OpenShift OAuth session expires, the dashboard page appears blank. .Workaround * Use either option: ** Clear the cookies related to the {prod-short} dashboard page from your browser. ** Load the {prod-short} dashboard page in incognito mode.
    • Documented as Known Issue
    • Workaround Exists
    • Hide
      • Go to DS Dashboard page in browser incognito mode.
        or
      • Clear DS Dashboard page cookies in browser.
      Show
      Go to DS Dashboard page in browser incognito mode. or Clear DS Dashboard page cookies in browser.

      Affects DS 3.0.0.RC-06-03 on OCP 4.10

      How to reproduce:
      1. Install DS 3.0.0.RC-06-03
      2. Set cluster accessTokenInactivityTimeout = 5 minutes:

      oc patch OAuth/cluster -p '{ "spec": { "tokenConfig": { "accessTokenInactivityTimeout": "5m" }}}' --type merge
      

      3. Open DS Dashboard page in Google Chrome.
      4. Leave it along about 20 minutes.
      5. Refresh DS Dashboard page.

      Actual result:
      it was end up with empty Dashboard page after several redirecting

      ---------------- case 0 ------------------------------------------------

      screencast-nimbus-capture-2022.06.09-21_40_24.webm

      Expected behavior:
      screencast-nimbus-capture-2022.06.09-22_53_54.webm

      ---------------- case 1 ------------------------------------------------

      client.802f792e319bb4cb4c3b.js:1 Unexpected workspace object shape: Object
      d @ client.802f792e319bb4cb4c3b.js:1
      vendor.3c48f84e469bcd72586d.js:115 Error: Unexpected workspace object shape.
          at new d (client.802f792e319bb4cb4c3b.js:1:131048)
          at u (client.802f792e319bb4cb4c3b.js:1:136188)
          at client.802f792e319bb4cb4c3b.js:1:29187
          at Array.map (<anonymous>)
          at client.802f792e319bb4cb4c3b.js:1:29169
          at vendor.3c48f84e469bcd72586d.js:16:20079
          at d (vendor.3c48f84e469bcd72586d.js:16:19032)
          at vendor.3c48f84e469bcd72586d.js:16:20212
          at d (vendor.3c48f84e469bcd72586d.js:16:19032)
          at vendor.3c48f84e469bcd72586d.js:16:20178
      ec @ vendor.3c48f84e469bcd72586d.js:115
      client.802f792e319bb4cb4c3b.js:1 Uncaught (in promise) Error: Unexpected workspace object shape.
          at new d (client.802f792e319bb4cb4c3b.js:1:131048)
          at u (client.802f792e319bb4cb4c3b.js:1:136188)
          at client.802f792e319bb4cb4c3b.js:1:29187
          at Array.map (<anonymous>)
          at client.802f792e319bb4cb4c3b.js:1:29169
          at vendor.3c48f84e469bcd72586d.js:16:20079
          at d (vendor.3c48f84e469bcd72586d.js:16:19032)
          at vendor.3c48f84e469bcd72586d.js:16:20212
          at d (vendor.3c48f84e469bcd72586d.js:16:19032)
          at vendor.3c48f84e469bcd72586d.js:16:20178
      /dashboard/#/create-workspace:1 Uncaught (in promise) DOMException: Failed to register a ServiceWorker for scope ('https://devspaces-openshift-devspaces.apps.ds-airgap-v10.crw-qe.com/dashboard/') with script ('https://devspaces-openshift-devspaces.apps.ds-airgap-v10.crw-qe.com/dashboard/service-worker.js'): An SSL certificate error occurred when fetching the script.
      manifest.json:1          Failed to load resource: the server responded with a status of 403 (Forbidden)
      

      ------------------------- case 2 --------------------------------------------------

        1. screencast-nimbus-capture-2022.06.09-21_40_24.webm
          6.74 MB
          Dmytro Nochevnov
        2. screencast-nimbus-capture-2022.06.09-22_53_54.webm
          5.20 MB
          Dmytro Nochevnov
        3. Screenshot from 2022-06-09 16-17-45.png
          178 kB
          Dmytro Nochevnov
        4. Screenshot from 2022-06-09 18-49-15.png
          191 kB
          Dmytro Nochevnov
        5. Screenshot from 2022-06-09 21-42-02.png
          221 kB
          Dmytro Nochevnov
        6. Screenshot from 2022-06-12 23-58-22.png
          186 kB
          Dmytro Nochevnov
        7. Screenshot from 2022-06-13 00-00-19.png
          173 kB
          Dmytro Nochevnov

              oorel Oleksii Orel
              dnochevn Dmytro Nochevnov
              Max Leonov Max Leonov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: