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

Dropped messages during websocket disconnection #164

Open
DarkYuan opened this Issue Sep 21, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@DarkYuan
Copy link

DarkYuan commented Sep 21, 2018

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!```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment