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

DarkYuan opened this Issue Sep 21, 2018 · 0 comments


None yet
1 participant
Copy link

DarkYuan commented Sep 21, 2018

Base informations

Minecraft version:

DiscordIntegration version:

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]: []: [JDA MainWS-ReadThread] WARN WebSocketClient - Got disconnected from WebSocket (Internet?!)...
[17:51:16] [JDA MainWS-ReadThread/INFO] [STDERR/discordintegration]: []: [JDA MainWS-ReadThread] WARN WebSocketClient - Attempting to reconnect in 2s
[17:51:18] [JDA MainWS-ReadThread/INFO] [STDERR/discordintegration]: []: [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]: []: [JDA MainWS-WriteThread] INFO WebSocketClient - Connected to WebSocket
[17:51:23] [JDA MainWS-ReadThread/INFO] [STDERR/discordintegration]: []: [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