Challenges are not implemented after 24 hours (server restart fixes it)
See original GitHub issueDescription
After around 24 hours /is challenges displays Challenges are not implemented. A server reset fixes it.
Steps to reproduce the behavior:
- start servrer
- check /is challenges is working 3 wait 24 hours 4 Try /is challenges again
Server / BentoBox information:
Running spigot invalid Bentobox version 1.5.3 loaded game worlds: Acidislands_world (AcitIsland) overworld,nether, end bskyblock_world(Bskyblock) overworld,nether,end Loaded Addons: AcidIsland 1.5.0 (enabled) Bentobox-InvSwitcher 0.0.3-SNAPSHOT (enabled) Biomes 1.5.0.0 (enabled) BSkyBlock 1.5.0 (enabled) Challenges 0.7.5 (enabled) Level 1.5.0-snapshot (enabled) MagicCobbleGenerator 1.5.0.1 (enabled) MagicSummon 1.5.0.0 (enabled) WelcomeWarps 1.5.0-snapshot (enabled)
Database : MySQL version 5.7.26
Plugins (28): WorldEdit, ColoredSigns, PlaceholderAPI, ProtocolLib, LibsDisguises, AsyncWorldEdit, PermissionsEx, mcMMO, Vault, BungeeTabListPlus, Essentials, mcMMOAction, HolographicDisplays, WorldGuard, DeluxeChat, BossMessenger, BentoBox, EssentialsProtect, EssentialsGeoIP, EssentialsChat, EssentialsAntiBuild, EssentialsSpawn, EnjinMinecraftPlugin, PluginLibrary, EpicSpawners, Multiverse-Core, Multiverse-Portals, Multiverse-NetherPortals
Screenshots / Server log
[09:39:16] [Server thread/INFO]: KiwiFrogg issued server command: /ai challenges
[09:39:16] [Server thread/ERROR]: [BentoBox] Could not load objects No operations allowed after connection closed. [09:39:16] [Server thread/ERROR]: [BentoBox] Could not load objects No operations allowed after connection closed. [09:39:16] [Server thread/ERROR]: [BentoBox] There are no challenges set up in CraftWorld{name=acidisland_world}! Entire days log : https://www.hastebin.com/epamepugex.cs Also from the other day it said this : https://www.hastebin.com/ijamoqexuv.sql
Expected behavior / Additional context
It looks like the database disconnects and then bentobox can’t reconnect, the other plugins using the database do not have the same issue. Looking at the logs it effects more than just challenges. Also, I tried with a dev version of challenges same issue.
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (6 by maintainers)
Top GitHub Comments
Well, its been 15hours uptime, the database is still connected and there is only 1 on the list localhost:34024 | bentobox | Sleep | 00:01:22 .
I’d call that fixed.
Ok it is running, and I can confirm just 1 connection, | 4181 | mc | localhost:34024 | bentobox | Sleep | 00:00:59 and everything is working fine so far. We wont know for at least 12 hours, with no resets.