Closed mattymatty97 closed 5 years ago
Is the mysql server on the same machine?
no its on a vps
other plugins like pex, worldguard and skin restorer correctly conntects and from my laptop i can connect whit the authme credentials to authme datatabase
MySql or MariaDB?
actually mysql
maxLifetime: 200000000000000
Wtf? Set it back to 1800...
sorry it a bit old config i'v tried expanding timeout value but the error hannes also whit normal one
try with 300
trying it now
nope same error
Sounds very strange, set poolSize to 4
nope error repeats again
make sure the connection between the 2 servers is stable
uh, found it: disable mySQLUseSSL
@mattymatty97
ssl is active on mysql and the connection is stable, one is on optic fibre and the other on a vps in germany. one think is the verify-server-certificate that i've had to diable it for hide some warning in other plugins
ps: sorry for my wrong spellings😌
like this uri: mysql://84.201.37.95/PermissionEx?verifyServerCertificate=false&useSSL=true
bump, no one have found a solution?
Can you connect using a normal mysql client?
yes normal mysql clients and other plugins correctly connect and modify
err 1th what qestion is unanswered? and 2th is still not working sadly
Which is your SSL provider/certificate authority?
Which Java version are you using?
Can you list me all the plugin that are correctly connecting to your mysql server?
Before reporting an issue make sure you are running the latest build of the plugin and checked for duplicate issues!
What behaviour is observed:
What happened? when connecting to a mysql database the plugin stops saying "Communications link failure"
What behaviour is expected:
What did you expect? plugin correctly connect to mysql database as other plugins do
Steps/models to reproduce:
The actions that cause the issue mysql
Plugin list:
This can be found by running
/pl
ActionBarAPI-1.5.3 AddLight-4.2.0 AsyncWorldEdit-ActionBarAPI AsyncWorldEditInjector AsyncWorldEdit AuthMe-5.5.0-SNAPSHOT AuthMeBridge-1.6.2 ConsoleSay EssentialsX-2.0.1 EssentialsXChat-2.0.1 FastLogin Holograms-2.5.0-SNAPSHOT Multiverse-Core-2.5 NametagEdit PermissionsEx-1.23.4 PluginManager-Reloaded-1.0.2 ProtocolLib SkinsRestorer-v13.1.4-BETA Vault VoidGenerator-1.1.0 WirelessRedstone worldedit-bukkit-6.1.7.3 worldguard-legacy-6.2.2-SNAPSHOT-distEnvironment description
Standalone server/Bungeecord network, SQLite/MySql, ... spigot server networked by bungeecord but authme is server side
AuthMe build number:
This can be found by running
/authme version
AuthMe-5.5.0-SNAPSHOTError Log:
Pastebin/Hastebin/Gist link of the error logo or stacktrace (if any)
https://pastebin.com/CSfyaP2Z
Configuration:
Pastebin/Hastebin/Gist link of your config.yml file (remember to delete any sensitive data) https://pastebin.com/AL3E5W9v