ERROR: can't decrypt token unpad error. This could happen when incorrect encryption key is used #250
Labels
Help Wanted
Community help wanted
Tech/Go
Type/Bug
Something isn't working
Up For Grabs
Ready for help from the community. Removed when someone volunteers
Milestone
Hello, I was setting up the plugin and everything worked fine. Then I've accidentally started the Mattermost server instance and lost the whole configuration and now I am setting it up from the ground again.
I am guessing, that some settings have persisted in the database, since I am receiving following error:
I guess it is this line:
mattermost-plugin-gitlab/server/plugin.go
Line 163 in bb1e4fb
I have tried following:
Now, the GitLab part is OK:

Problem is on the Mattermost side. Following "Unknown Error" is after

/gitlab me
or/gitlab disconnect
:Any ideas how can I update the encryption key in the Mattermost or mattermost-plugin-gitlab?
I guess, that after changing settings in
/opt/mattermost/config/config.json
:The database is not updated. Is there any way how to trigger it?
EDIT: Just asked a colleague who have not did have Mattermost GitLab plugin integration (
/gitlab connect
) and it is working for him. Therefore, there are probably some remedies for my original account, since when I am doing/gitlab me
I am gettingUnknown Error
as was screenshoted above.Is there a way how can I disconnect bot for my account?
/gitlab disconnect
yields the same problem.The text was updated successfully, but these errors were encountered: