GitLab Deauthenticates User Apparently for No Reason and Without Notification
Sometimes, I will be forcibly logged out of GitLab.
This happens very frequently, but in batches. For example, I may not be logged out of GitLab at all for a week or so, and then for a few days, I will be logged out multiple times per day.
The least intrusive times that this happens, I am not actively using GitLab. I will return to the site and find that my login is invalid.
However, more common - and much worse - is when I am actively using the site.
An example:
- I am logged in
- I begin an MR review
- I leave a comment or do some other action like leaving a reaction emoji
- I continue the review - fewer than 5 minutes elapse
- I try to leave another comment or a reaction - an error occurs, which doesn't inform me that I've been logged out.
- Because I have dozens of experiences with this, I know to refresh the page, after which I see that the header bar is the "Log in / Sign Up" button instead of my profile image
- However, none of the error messages indicate that I've been logged out, they just say that submitting my comment (etc.) has failed.
- I log back in
- Fortunately, comments are cached locally, etc. so I can pick right back up
My memory isn't great, but I recall this happening once while I was in the middle of submitting an MR, and that is not cached, causing me to lose the entire MR description and other metadata.
Why am I being logged out of GitLab regularly and frequently?