DiscordIntegration

DiscordIntegration

3M Downloads

Dropped messages during websocket disconnection

DarkYuan opened this issue ยท 0 comments

commented

Base informations

Minecraft version:
forge-1.7.10-10.13.4.1614

DiscordIntegration version:
DiscordIntegration-mc1.7.10-3.0.5

Expected behavior

Short-term logging of messages that need to be sent during a temporary disconnection from websocket for sending upon reconnection

Actual behavior

Skipping any such messages

Steps to reproduce

General use of chatting, joining/leaving server. Happens roughly once or twice an hour. See example:

[17:51:16] [JDA MainWS-ReadThread/INFO] [STDERR/discordintegration]: [chikachi.discord.repack.net.dv8tion.jda.core.utils.SimpleLogger:write:277]: [JDA MainWS-ReadThread] WARN WebSocketClient - Got disconnected from WebSocket (Internet?!)...
[17:51:16] [JDA MainWS-ReadThread/INFO] [STDERR/discordintegration]: [chikachi.discord.repack.net.dv8tion.jda.core.utils.SimpleLogger:write:277]: [JDA MainWS-ReadThread] WARN WebSocketClient - Attempting to reconnect in 2s
[17:51:18] [JDA MainWS-ReadThread/INFO] [STDERR/discordintegration]: [chikachi.discord.repack.net.dv8tion.jda.core.utils.SimpleLogger:write:277]: [JDA MainWS-ReadThread] WARN WebSocketClient - Attempting to reconnect!
[17:51:19] [Server thread/INFO]: atmas31 lost connection: TextComponent{text='Disconnected', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}}
[17:51:19] [Server thread/INFO]: atmas31 left the game
[17:51:22] [JDA MainWS-WriteThread/INFO] [STDERR/discordintegration]: [chikachi.discord.repack.net.dv8tion.jda.core.utils.SimpleLogger:write:277]: [JDA MainWS-WriteThread] INFO WebSocketClient - Connected to WebSocket
[17:51:23] [JDA MainWS-ReadThread/INFO] [STDERR/discordintegration]: [chikachi.discord.repack.net.dv8tion.jda.core.utils.SimpleLogger:write:277]: [JDA MainWS-ReadThread] INFO JDA - Successfully resumed Session!```