mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 15:05:57 +03:00
[GH-ISSUE #1199] Don't keep retrying websockets connection with an invalid token #2680
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#2680
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NiceGuyIT on GitHub (Jul 6, 2022).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1199
Is your feature request related to a problem? Please describe.
If the session times out, for example overnight, you are presented with the login page. Open the developer tools and you'll notice the WebSockets connection is tried every 5 seconds with a null token. This is needless chatter and could cause confusion when troubleshooting other issues.
Describe the solution you'd like
Check if the token represents a valid token before attempting to [re]connect WebSockets.
Describe alternatives you've considered
N/A
Additional context

This screenshot shows the console from the time TRMM started the connection this morning.