-
Feature
-
Resolution: Done
-
Major
-
3.4.0.GA
-
False
-
None
-
False
-
-
Bug Fix
-
Done
-
-
Synced from eclipse/che issue
https://github.com/eclipse/che/issues/21799
Describe the bug
- suddenly developer gets logged out
- 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.