JDA WARN's spamming console
axemwa opened this issue ยท 5 comments
I keep getting these warns spam in console, but my internet connection is fine, also seems to happen in version on the spigotmc website
[14:29:39 WARN]: [DiscordSRV] [JDA] Got disconnected from WebSocket (Internet?!)...
[14:29:39 WARN]: [DiscordSRV] [JDA] Attempting to reconnect in 2s
[14:29:41 WARN]: [DiscordSRV] [JDA] Attempting to reconnect!
[14:29:42 INFO]: [DiscordSRV] [JDA] Connected to WebSocket
[14:29:42 INFO]: [DiscordSRV] [JDA] Successfully resumed Session!
[14:54:52 INFO]: [AsyncWorldEdit] Undo cleanup started...
[14:54:52 INFO]: [AsyncWorldEdit] ...undo cleanup done.
[15:17:50 WARN]: [DiscordSRV] [JDA] Got disconnected from WebSocket (Internet?!)...
[15:17:50 WARN]: [DiscordSRV] [JDA] Attempting to reconnect in 2s
[15:17:52 WARN]: [DiscordSRV] [JDA] Attempting to reconnect!
[15:17:52 INFO]: [DiscordSRV] [JDA] Connected to WebSocket
[15:17:53 INFO]: [DiscordSRV] [JDA] Successfully resumed Session!
[15:19:56 WARN]: [DiscordSRV] [JDA] Got disconnected from WebSocket (Internet?!)...
[15:19:56 WARN]: [DiscordSRV] [JDA] Attempting to reconnect in 2s
[15:19:58 WARN]: [DiscordSRV] [JDA] Attempting to reconnect!
[15:19:59 INFO]: [DiscordSRV] [JDA] Connected to WebSocket
[15:19:59 INFO]: [DiscordSRV] [JDA] Successfully resumed Session!
[15:20:40 WARN]: [DiscordSRV] [JDA] Got disconnected from WebSocket (Internet?!)...
[15:20:40 WARN]: [DiscordSRV] [JDA] Attempting to reconnect in 2s
[15:20:42 WARN]: [DiscordSRV] [JDA] Attempting to reconnect!
[15:20:43 INFO]: [DiscordSRV] [JDA] Connected to WebSocket
[15:20:43 INFO]: [DiscordSRV] [JDA] Successfully resumed Session!
Discord API has been sucky the last couple days. The errors literally tell you that the bot got disconnected and later reconnected. It happens- such is Internet connections.
A suggestion for next jenkins and spigotmc version of this plugin is adding an update in config that can disable these messages, sort of like a debug option for that specifically.