mattermost-plugin-gitlab: "Your GitLab account was disconnected due to an invalid or revoked authorization token"
We are constantly getting the following message:
Your GitLab account was disconnected due to an invalid or revoked authorization token. Reconnect your account using the /git`lab connect command
calling gitlab connect works again for a day or two, and then it starts over for all users. gitlab v. 16.0.1 . The application is still registered in gitlab and running the connect commands works of course, for a while.
What should we debug ? At the moment we are updating to 16.5 of gitlab, but there seem to be no changes in the auth flow.
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 7
- Comments: 49 (16 by maintainers)
Commits related to this issue
- [MM-18] Added debug statements to debug issue #411 — committed to Brightscout/mattermost-plugin-gitlab by raghavaggarwal2308 3 years ago
Current: 16.6.2, but it started after one of the recent updates on Nov 16th.
GitLab(1.7.0)
No
yes
I don’t think so
Yes
@alekseyp, Can you please use this drive link to download the dist of the Gitlab plugin? I have added some debugging logs to determine exactly where our accounts are getting disconnected. Here is the link to the PR
debug_revoked_tokenin case you have the repo cloned on your local.Latest gitlab, latest plugin (1.9.0) - 6+ disconnects a day. We passed all previous stages of anger and just accepted this as is until we move to slack 😄
I’ve manually installed 1.8.0 4 days ago and got logged out after couple of hours. 2nd logout just happened now, 4 days later.
–
Added:
2 more logouts today
This started happening for us roughly around after we updated to GitLab 16. I don’t think we updated the Mattermost GitLab Plugin at that time.