Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node UI should report expired session properly #6001

Open
PaJaSoft opened this issue Mar 3, 2024 · 5 comments
Open

Node UI should report expired session properly #6001

PaJaSoft opened this issue Mar 3, 2024 · 5 comments
Assignees
Labels

Comments

@PaJaSoft
Copy link

PaJaSoft commented Mar 3, 2024

When a session expired, Node UI reported weird issue (a box at right bottom) or just using/visualize stale data. In such a situation there should be a proper handling which should lead to report about situation and ask user for a session refreshing action (-> a new login). Current behavior is really confusing...

@PaJaSoft PaJaSoft added the bug label Mar 3, 2024
@ZygintasBudrys
Copy link

Severity: low
Priority: low

@lusine-h try to reproduce

@lusine-h
Copy link

lusine-h commented Mar 6, 2024

When the token is expired and I do refresh it shows Node UI Welcome screen for login and there isn't reported issue at right corner.

@PaJaSoft
Copy link
Author

PaJaSoft commented Mar 6, 2024

That's another case - if you have an open tab with Node UI in web browser and do F5/Ctrl-F5 (aka Refresh) than it is taken properly. However if you have an open tab with Node UI, session somehow expires, you can still navigate through pages (e.g. Dashboard -> History, Transaction - Settle now etc.) and there is no any sign that displayed data are staled. Sometimes something gets broken and you can see red box in right bottom corner, but not always, so you can't easy discover your session is over and you need to re-login.

@ZygintasBudrys
Copy link

Hello, we will be changing the NodeUI in the upcoming quarters that would solve the issue.

@lusine-h
Copy link

lusine-h commented May 2, 2024

  • Adjusted token expiry date using the DevTools application section
  • Navigated within the webpage after modifying the token expiry
  • Token expired during navigation
  • Clicked around the page, resulting in an error message Request failed with status code 401 (path="node/monitoring-status")
  • Continued clicking led to a white empty screen display

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants