LuckPerms

LuckPerms

41.4k Downloads

LuckPerms MySQL Connection randomly stops working

SoldierSacha opened this issue ยท 8 comments

commented

So basically, I use a queue system plugin that requires redis to function. The queue plugin seems to be connecting to redis fine. with that being said, when I load the queue plugin on the server, it completely interfere's with LuckPerms's MySQL database connection and causes it not to connect. The weird this is though, it that it does not interfere with the litebans MySQL connection I have open on the exact same server with the LuckPerms connection. And the most strange thing of all, is that the queue system plugin has nothing whatsoever to do with MySQL. Any ideas on why this is happening?

Also, just to clarify, yes all of my ports are open. And yes, luckperms was running 100% fine before the queue plugin was inserted in the same spigot server. Also, as soon as I remove the queue plugin from the spigot server, luckperms starts working fine again and is successfully able to connect to my MySQL database.

The luck perms error: https://pastebin.com/fgLJjgrP

Full console log: https://pastebin.com/aHXHaZdA

For faster communication, please add my discord if you'd like. If not, its fine, this works fine too!
Discord: Fierce#8174

commented

Looks to me like a unshaded dependency causing issues.
Can be wrong tho.

commented

Looks to me like a unshaded dependency causing issues.
Can be wrong tho.

i dont know. everything was working fine... i dont know what the issue could be.

commented

still having this issue :(

commented

Is your queue plugin attempting to shade the SLF4J library?

commented

Is your queue plugin attempting to shade the SLF4J library?

it does infact. would that be causing the issue?

commented

Yes, as you're seemingly obfuscating your copy of it, which due to how classloaders are setup in bukkit can cause breakage due to multiple versions of a library in plugins

commented

Obfuscateted code. Ewww

commented

Yes, as you're seemingly obfuscating your copy of it, which due to how classloaders are setup in bukkit can cause breakage due to multiple versions of a library in plugins

ill get that looked at! thank you so much!