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

COT router appears offline when the user has been deauthorized #44

Open
jakobbuis opened this issue Aug 17, 2024 · 4 comments
Open

COT router appears offline when the user has been deauthorized #44

jakobbuis opened this issue Aug 17, 2024 · 4 comments

Comments

@jakobbuis
Copy link

Steps to reproduce

  1. Open admin panel, sign in, close window.
  2. Wait 1-2 days or so
  3. Open admin panel again.

Expected
To either be logged out, or remain logged in.

Happened
I'm in the dashboard (even after an F5 refresh), but the COT Router indicator states COT offline. It isn't actually offline, as the server is functional.

image

There's a status request that says 401 Unauthorized:

image

Theory
What I think is happening is that the session expired somewhere, but the frontend still believes the session is valid. I suggest either logging the user out once that 401 comes in, or making sure that session lifetimes match.

Workaround

  1. Click on Administrator
  2. Click Log out
  3. Sign in again.

This restores the working of the dashboard.

@jakobbuis
Copy link
Author

AFAIK whether any EUDs are active has no effect on this bug.

@jakobbuis
Copy link
Author

Just confirmed with the updater that I'm running the latest version, 1.2.1

@jakobbuis
Copy link
Author

Server details:
image

Browser details
Using Firefox 129.0.1 on Ubuntu 24.04

@jasonmhitegtc
Copy link

jasonmhitegtc commented Jan 14, 2025

This also happens for me. It looks like the login/authentication expires but the user does not get redirected back to the login prompt. The CoT router will show as offline, and many operations (e.g. editing users, viewing the map) will show no entries. For example, editing users will show no users listed or operations will fail, and the map will not show any markers. Manually logging out and logging back in and everything works again.

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

No branches or pull requests

2 participants