sphinx-tribes icon indicating copy to clipboard operation
sphinx-tribes copied to clipboard

Log In Bug Tracker

Open humansinstitute opened this issue 11 months ago • 4 comments

14th Jan 2025

I am constantly being logged out of Bounties platform.

I have been getting logged out consistently.

Options to monitor:

  1. Cypress test that attempts to run for 5 mins?
  • Fire up Cypress test navigate around for 5 minutes pausing on various parts of the site, e.g. workspace planner and refresh multiple times, open and close tabs.
  • See if disconnected during this time
  • Adds longer test into a lengthy deployment process
  1. Monitor for short timeouts on newly generated access tokens?
  • Assumption: We record access token generation time
  • Tracks token granting and deactivation events
  • Calculates token lifespans
  • Detects patterns of short-lived tokens (e.g. less than 30 mins)
  • Triggers alerts when multiple short-lived tokens are detected within a time window

Somewhat related was this: https://github.com/stakwork/sphinx-tribes/issues/2450

humansinstitute avatar Jan 14 '25 06:01 humansinstitute

@humansinstitute This issue was produced after merging this PR and releasing image

https://github.com/stakwork/sphinx-tribes/pull/2406/files

aliraza556 avatar Jan 14 '25 06:01 aliraza556

Suggested fix by Evan https://github.com/stakwork/sphinx-tribes/pull/2449

humansinstitute avatar Jan 15 '25 03:01 humansinstitute

Before A refresh when logout has occured:

sphinx wed 15 jan 01 37 51

Associated Logs:

errors.log

After Refresh:

image

Logs After refresh:

errors-postRefresh.log

humansinstitute avatar Jan 15 '25 05:01 humansinstitute

Raphael replicating "I just saw the error, its a token refreshed failed error":

image

humansinstitute avatar Jan 15 '25 09:01 humansinstitute