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

Unexpeted session expiration invalidation results in random logouts

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Done
    • Icon: Major Major
    • 3.4.0.GA
    • 3.4.0.GA
    • docs
    • False
    • None
    • False
    • Hide
      = Fixed unexpected session expirations resulting in random logouts

      Before this update, the developer could be logged out unexpectedly because the session expired. With this update, the issue is resolved.
      Show
      = Fixed unexpected session expirations resulting in random logouts Before this update, the developer could be logged out unexpectedly because the session expired. With this update, the issue is resolved.
    • Bug Fix
    • Done

      Synced from eclipse/che issue

      https://github.com/eclipse/che/issues/21799

      Describe the bug

      1. suddenly developer gets logged out
      2. session expiration is not handled, developers are not informed and see a list of errors instead

      Che version

      7.55@latest

      Steps to reproduce

      • Launch IDE with devfile URL
      • IDE launch as expected
      • Update .devfile.yaml in repo
      • Switch back to DevSpaces UI (to delete current space)
        See attached error
      • Must close the many errors, hit refresh, login, logout, login

      Expected behavior

      • [x] if k8s API is failing on che-dashboard backend we should try to retry a couple of times before failing @olexii4
      • [x] re-try on che-dashboard-client side che-server API calls (namespace provisioning) @akurinnoy
      • [x] add API sanity check with a single request to prevent showing multiple error messages @akurinnoy
      • [x] if after all checks above and re-tries API is still failing we show a single error with the session expired message and redirect to the login page @akurinnoy

      Runtime

      OpenShift

      Screenshots

      No response

      Installation method

      OperatorHub

      Environment

      Amazon

      Eclipse Che Logs

      No response

      Additional context

      Related issues that should be addressed as part of this issue

      Release Notes Text

      Before this fix the developer could be logged out unexpectedly because the session expired for unknown reasons.

              rhn-ecs-pkovar Petr Kovar (Inactive)
              nickboldt Nick Boldt
              Jana Vrbkova Jana Vrbkova
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: