-
Notifications
You must be signed in to change notification settings - Fork 625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discord Bot Token Reset Due to Potential Abuse #1260
Comments
Could you provide logs? It seems like you have a process manager that's restarting Matterbridge even though it is crashing due to some issue. |
Thank you, I should have looked into the logs. You are right, it shows this over and over 1000 times:
I'll try to figure out why that connection refused is happening. In the Mattemost System Console I see a Revoke Sessions for my bot user. Could that be useful? Feel free to close the issue if it's obviously not an issue with Matterbridge. |
Solved. First I changed a bunch of settings in Mattermost, with the goal of enabling the use of tokens, which do not expire. I suspect the log in in mattermost had expired. I commented out It still did not start. I was then having this issue #1263 which I solved by changing the bot settings in discordapp. |
Describe the bug
My server was down for 25 hours. Now that it's back, Discord is resetting the bot token after I turn Matterbridge on, so matterbridge can't sync Mattermost & Discord.
To Reproduce
I can only "reproduce" on my server: I get a new Discord token, restart Matterbridge and after a while the Token is reset.
Expected behavior
I'm not sure if it's due to the down time nor if it really is a bug in Matterbridge. I'm wondering if many messages have queued somewhere due to the downtime and now when I restart the system it's too much for Discord to handle.
The expected behavior is that it continues to work as it has during the last year.
Screenshots/debug logs
Are there details I can provide to help figure it out?
Environment (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: