-
Notifications
You must be signed in to change notification settings - Fork 32
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
Random silence and messages floods #57
Comments
yeah I've been experiencing that too... as well as a few others my theories
when was the last time you had the issue? |
Ive had it multiple times today, 2 of which with messages to the wrong channel ( they have been having issues). Ill need to review some logs to see if i can see how often it occures prior too today. We've a theory that its rate limit as one of our users managed to cause it by reacting 19 time to a discord message in a minute |
let me know how it goes. at some point i'll need to add some extra logging so that there's some output when the rate limit is hit. (at the moment all rate limiting is handled by the library, we don't do any rate limiting) |
This occurred again today long hour gap in messages, no-log events to correspond to it as far as I can see, messages were sent to 3 channels that were talked in but the wrong channels received the wrong messages |
Next time it happens, can you go into Server Settings -> Integrations -> Webhooks and then click "New Webhook". Does the "New Webhook" button popup with an "Internal Server Error" message? If it does: get open the Developer Tools browser pane, hop to the Network tab, and click the "New Webhook" button. Inspect the request that failed. Does the response include some rate limit information? Yesterday I saw this If it doesn't pop up with an "Internal Server Error" message, then maybe it's not a server-wide ratelimit. (I saw something like this yesterday) |
I have a random silence issue right now and can reproduce this. I think we should contact discord. I think they may have introduced some sort of maximum webhook edits per time period :( Request headers Request payload {"name":"Captain Hook"} Response body {
"code": 20029,
"global": false,
"message": "The write action you are performing on the server has hit the write rate limit.",
"retry_after": 699.464
} |
I've sent a support request with this message:
https://support.discord.com/hc/en-us/requests/9958995 (not that others will be able to visit this link) |
Sadly, the response was essentially:
|
Tomorrow I will update the bot to create a webhook per channel. See 42wim/matterbridge#1255 (comment) for more information. |
Hi always the same problem for me after a while it crashes because discord forbids us webhooks |
Sorry, been a bit busy with work. I started writing the update last weekend, I'll try and get this fixed this week. |
See #1255 and qaisjp/go-discord-irc#57 Webhook edits gets ratelimited which cause other problems with matterbridge. Disabling for now.
See #1255 and qaisjp/go-discord-irc#57 Webhook edits gets ratelimited which cause other problems with matterbridge. Disabling for now.
See #1255 and qaisjp/go-discord-irc#57 Webhook edits gets ratelimited which cause other problems with matterbridge. Disabling for now.
I've deployed the fix to my server will report back if I've any issues |
thanks! |
Having run the bridge on a relatively active IRC and discord channel for over multiple weeks weve expereicned random silence where messages from dicord will appear in IRC but not the other way, then after 10 min or so messages will flood in random order into discord
On one occasion the messages have flooded to a second discord channel than the one they were sent in following a user sending a message in that channel from irc
The text was updated successfully, but these errors were encountered: