Discord Integration Forge

Discord Integration Forge

935k Downloads

[BUG] Server crashing / Rate Limit spam

SilverKytten opened this issue ยท 15 comments

commented

What happened?

  • The server randomly crashed with the error
    "[04:50:00] [OkHttp https://discordapp.com/.../INFO] [STDERR/]: [net.dv8tion.jda.internal.utils.SimpleLogger:write:277]: [OkHttp https://discordapp.com/...] WARN RateLimiter - Encountered 429 on route /channels/666310434931998750"
    and will not start back up, regardless of whether I have the DCintegration mod in or not.
    What should happen?
  • It should not

Steps to reproduce

  • No idea. It just happened after about 2 days of solid uptime. I can't get the server to start back up, at all.
    latest.log

Version

  • 1.1.14 1.15.2

Config file

dcintegration-common.txt

REMOVE YOUR BOT TOKEN BEFORE UPLOADING!!!

Crash report if available (use https://paste.dimdev.org)

dcintegration-common.txt

Additional info

commented

Any news about it ? :)

commented

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

commented

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

commented

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

commented

For the rate limits change this config value:
uptimeFormat = "dd 'days' HH 'hours' mm 'minutes'
(just remove the seconds)

However the crash without the mod can't be from this mod, since it is not loaded

commented

Alright, well that stopped the crashing but it's still spamming the console with the same error.
image

commented

Seems to be an discord issue. Had the same problem today while testing, maybe it is gone tomorrow

commented

ok, thank you

commented

I'm getting the same spam in my server logs. Is discordapp.com rate limiting this mod now?

commented

So, I changed the %uptime% placeholder out, and it got rid of the spam for now.
image

It's at least a temporary fix.

commented

(I just changed %uptime% to uptime as a test because the spam prevents the server from starting for some reason)

commented

Discord changed something and I need to wait for an update for the library I use (JDA). Update will hopefully come out soon.
discord-jda/JDA#1306

commented

Hotfix: set botModifyDescription to false until the update gets released

commented

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days