PluginBugs / Issues-CosmeticsCore

Repository used to keep track of issues of my plugin CosmeticsCore
https://lonedev.gitbook.io/cosmeticscore/
0 stars 0 forks source link

I set up the bungee code, but an error appears in the bucket. #175

Closed leestar960 closed 1 year ago

leestar960 commented 1 year ago

Terms

Discord tag (optional)

l_fallingstar

What happened?

It's a bungee code server. When I run the server after setting the address code in Config, an error appears in the bucket.

Steps to reproduce the issue

save:

Use only one at a time

file: enabled: true mysql: enabled: true url: jdbc:mysql://my_url_database_69.com:3306/database_name username: root password: root table: cosmeticscore_saved

Server version

This server is running Paper version git-Paper-195 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: 3fd1502) You are 1 version(s) behind Download the new version at: https://papermc.io/downloads/paper Previous version: git-Paper-196 (MC: 1.20.1)

CosmeticsCore Version

CosmeticsCore version 1.2.2f

ProtocolLib Version

version 5.1.0

LoneLibs Version

version 1.0.25

FULL server log

[13:11:55 ERROR]: [dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool] HikariPool-1 - Exception during pool initialization. com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:175) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) ~[mysql-connector-j-8.0.33.jar:8.0.33] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.util.DriverDataSource.getConnection(SourceFile:138) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.a(SourceFile:359) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.b(SourceFile:201) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.a(SourceFile:470) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.aB(SourceFile:561) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.(SourceFile:100) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.HikariDataSource.(SourceFile:81) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.cosmeticscore.main.ad.(SourceFile:26) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.cosmeticscore.main.ab.(SourceFile:32) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.cosmeticscore.main.aa.a(SourceFile:20) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.cosmeticscore.main.j.h(SourceFile:514) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.cosmeticscore.main.C.o(SourceFile:332) ~[CosmeticsCore_1.2.2f.jar:?] at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.1.jar:git-Paper-195] at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480) ~[paper-1.20.1.jar:git-Paper-195] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1479) ~[paper-1.20.1.jar:git-Paper-195] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:446) ~[paper-1.20.1.jar:git-Paper-195] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1393) ~[paper-1.20.1.jar:git-Paper-195] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1170) ~[paper-1.20.1.jar:git-Paper-195] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.20.1.jar:git-Paper-195] at java.lang.Thread.run(Thread.java:833) ~[?:?] Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?] at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:150) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:166) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:89) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.NativeSession.connect(NativeSession.java:121) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) ~[mysql-connector-j-8.0.33.jar:8.0.33] ... 23 more Caused by: java.net.UnknownHostException: 알려진 호스트가 없습니다 (my_url_database_69.com) at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[?:?] at java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:933) ~[?:?] at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1543) ~[?:?] at java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:852) ~[?:?] at java.net.InetAddress.getAllByName0(InetAddress.java:1532) ~[?:?] at java.net.InetAddress.getAllByName(InetAddress.java:1384) ~[?:?] at java.net.InetAddress.getAllByName(InetAddress.java:1305) ~[?:?] at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:130) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:63) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.NativeSession.connect(NativeSession.java:121) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) ~[mysql-connector-j-8.0.33.jar:8.0.33] ... 23 more [13:11:55 WARN]: [CosmeticsCore] Task #8742 for CosmeticsCore v1.2.2f generated an exception dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.a(SourceFile:596) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.aB(SourceFile:582) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.(SourceFile:100) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.HikariDataSource.(SourceFile:81) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.cosmeticscore.main.ad.(SourceFile:26) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.cosmeticscore.main.ab.(SourceFile:32) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.cosmeticscore.main.aa.a(SourceFile:20) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.cosmeticscore.main.j.h(SourceFile:514) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.cosmeticscore.main.C.o(SourceFile:332) ~[CosmeticsCore_1.2.2f.jar:?] at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.1.jar:git-Paper-195] at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480) ~[paper-1.20.1.jar:git-Paper-195] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1479) ~[paper-1.20.1.jar:git-Paper-195] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:446) ~[paper-1.20.1.jar:git-Paper-195] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1393) ~[paper-1.20.1.jar:git-Paper-195] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1170) ~[paper-1.20.1.jar:git-Paper-195] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.20.1.jar:git-Paper-195] at java.lang.Thread.run(Thread.java:833) ~[?:?] Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:175) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) ~[mysql-connector-j-8.0.33.jar:8.0.33] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.util.DriverDataSource.getConnection(SourceFile:138) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.a(SourceFile:359) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.b(SourceFile:201) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.a(SourceFile:470) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.aB(SourceFile:561) ~[CosmeticsCore_1.2.2f.jar:?] ... 15 more Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?] at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:150) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:166) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:89) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.NativeSession.connect(NativeSession.java:121) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) ~[mysql-connector-j-8.0.33.jar:8.0.33] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.util.DriverDataSource.getConnection(SourceFile:138) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.a(SourceFile:359) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.b(SourceFile:201) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.a(SourceFile:470) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.aB(SourceFile:561) ~[CosmeticsCore_1.2.2f.jar:?] ... 15 more Caused by: java.net.UnknownHostException: 알려진 호스트가 없습니다 (my_url_database_69.com) at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[?:?] at java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:933) ~[?:?] at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1543) ~[?:?] at java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:852) ~[?:?] at java.net.InetAddress.getAllByName0(InetAddress.java:1532) ~[?:?] at java.net.InetAddress.getAllByName(InetAddress.java:1384) ~[?:?] at java.net.InetAddress.getAllByName(InetAddress.java:1305) ~[?:?] at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:130) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:63) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.NativeSession.connect(NativeSession.java:121) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) ~[mysql-connector-j-8.0.33.jar:8.0.33] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.util.DriverDataSource.getConnection(SourceFile:138) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.a(SourceFile:359) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.b(SourceFile:201) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.a(SourceFile:470) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.aB(SourceFile:561) ~[CosmeticsCore_1.2.2f.jar:?] ... 15 more

Error (optional)

[13:11:55 ERROR]: [dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool] HikariPool-1 - Exception during pool initialization.
com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
        at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:175) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:446) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.util.DriverDataSource.getConnection(SourceFile:138) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.a(SourceFile:359) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.b(SourceFile:201) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.a(SourceFile:470) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.aB(SourceFile:561) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.<init>(SourceFile:100) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.HikariDataSource.<init>(SourceFile:81) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.cosmeticscore.main.ad.<init>(SourceFile:26) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.cosmeticscore.main.ab.<init>(SourceFile:32) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.cosmeticscore.main.aa.a(SourceFile:20) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.cosmeticscore.main.j.h(SourceFile:514) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.cosmeticscore.main.C.o(SourceFile:332) ~[CosmeticsCore_1.2.2f.jar:?]
        at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.1.jar:git-Paper-195]
        at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480) ~[paper-1.20.1.jar:git-Paper-195]
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1479) ~[paper-1.20.1.jar:git-Paper-195]
        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:446) ~[paper-1.20.1.jar:git-Paper-195]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1393) ~[paper-1.20.1.jar:git-Paper-195]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1170) ~[paper-1.20.1.jar:git-Paper-195]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.20.1.jar:git-Paper-195]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?]
        at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
        at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?]
        at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:150) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:166) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:89) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.NativeSession.connect(NativeSession.java:121) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        ... 23 more
Caused by: java.net.UnknownHostException: 알려진 호스트가 없습니다 (my_url_database_69.com)
        at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[?:?]
        at java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:933) ~[?:?]
        at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1543) ~[?:?]
        at java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:852) ~[?:?]
        at java.net.InetAddress.getAllByName0(InetAddress.java:1532) ~[?:?]
        at java.net.InetAddress.getAllByName(InetAddress.java:1384) ~[?:?]
        at java.net.InetAddress.getAllByName(InetAddress.java:1305) ~[?:?]
        at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:130) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:63) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.NativeSession.connect(NativeSession.java:121) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        ... 23 more
[13:11:55 WARN]: [CosmeticsCore] Task #8742 for CosmeticsCore v1.2.2f generated an exception
dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.a(SourceFile:596) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.aB(SourceFile:582) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.<init>(SourceFile:100) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.HikariDataSource.<init>(SourceFile:81) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.cosmeticscore.main.ad.<init>(SourceFile:26) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.cosmeticscore.main.ab.<init>(SourceFile:32) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.cosmeticscore.main.aa.a(SourceFile:20) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.cosmeticscore.main.j.h(SourceFile:514) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.cosmeticscore.main.C.o(SourceFile:332) ~[CosmeticsCore_1.2.2f.jar:?]
        at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.1.jar:git-Paper-195]
        at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480) ~[paper-1.20.1.jar:git-Paper-195]
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1479) ~[paper-1.20.1.jar:git-Paper-195]
        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:446) ~[paper-1.20.1.jar:git-Paper-195]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1393) ~[paper-1.20.1.jar:git-Paper-195]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1170) ~[paper-1.20.1.jar:git-Paper-195]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.20.1.jar:git-Paper-195]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
        at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:175) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:446) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.util.DriverDataSource.getConnection(SourceFile:138) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.a(SourceFile:359) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.b(SourceFile:201) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.a(SourceFile:470) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.aB(SourceFile:561) ~[CosmeticsCore_1.2.2f.jar:?]
        ... 15 more
Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?]
        at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
        at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?]
        at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:150) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:166) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:89) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.NativeSession.connect(NativeSession.java:121) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:446) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.util.DriverDataSource.getConnection(SourceFile:138) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.a(SourceFile:359) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.b(SourceFile:201) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.a(SourceFile:470) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.aB(SourceFile:561) ~[CosmeticsCore_1.2.2f.jar:?]
        ... 15 more
Caused by: java.net.UnknownHostException: 알려진 호스트가 없습니다 (my_url_database_69.com)
        at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[?:?]
        at java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:933) ~[?:?]
        at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1543) ~[?:?]
        at java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:852) ~[?:?]
        at java.net.InetAddress.getAllByName0(InetAddress.java:1532) ~[?:?]
        at java.net.InetAddress.getAllByName(InetAddress.java:1384) ~[?:?]
        at java.net.InetAddress.getAllByName(InetAddress.java:1305) ~[?:?]
        at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:130) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:63) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.NativeSession.connect(NativeSession.java:121) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:446) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.util.DriverDataSource.getConnection(SourceFile:138) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.a(SourceFile:359) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.b(SourceFile:201) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.a(SourceFile:470) ~[CosmeticsCore_1.2.2f.jar:?]
        at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.aB(SourceFile:561) ~[CosmeticsCore_1.2.2f.jar:?]
        ... 15 more

CosmeticsCore config.yml

lang: en
extract_default_assets: true
cosmetics:
  max_equippable:
    body: 3
    balloon: 2
wardrobe_room:
  camera:
    hide_actionbar_texts: true
    rotation:
      enabled: true
    zoom:
      enabled: true
      min: 2
    fade_effect: true
    location:
      world: flat
      x: 205
      y: -58.5
      z: 41
      yaw: 359.85
      pitch: 6.6
  mannequin:
    location:
      world: flat
      x: 204.5
      y: -60
      z: 45.5
      yaw: 180
      pitch: 0
  teleport_area:
    enter:
      world: flat
      pos1:
        x: 167
        y: -61
        z: 42
      pos2:
        x: 167
        y: -57
        z: 37
    exit_location:
      world: flat
      x: 164
      y: -60
      z: 40
      yaw: 98
      pitch: 10
  gui:
    cursor_default: fermented_spider_eye:9000001
    cursor_rotate: fermented_spider_eye:9000002
    cursor_pointer: fermented_spider_eye:9000003
    dyeing_pointer: fermented_spider_eye:9100003
    tutorial_gui: fermented_spider_eye:9100004
    tutorial_gui_checked: fermented_spider_eye:9100005
    slots:
      colors:
        not_owned: 195,147,57
        owned: 56,67,100
        wearing: 57,70,195
        wearing_preview: 195,120,57
        max_amount_reached: 111,111,111
      add_item_in_blank_slots:
        # This is useful only for some expert users that need to do some crazy stuff.
        # Do not enable it if you don't know what you are doing.
        enabled: false
        type: PAPER
        custom_model_data: 1337666
send_creative_hidden_hat_message: true
save:
  # Use only one at a time
  file:
    enabled: true
  mysql:
    enabled: true
    url: jdbc:mysql://my_url_database_69.com:3306/database_name
    username: root
    password: root
    table: cosmeticscore_saved
debug: false

Problematic items yml configuration file (optional)

save:
  # Use only one at a time
  file:
    enabled: true
  mysql:
    enabled: true
    url: jdbc:mysql://my_url_database_69.com:3306/database_name
    username: root
    password: root
    table: cosmeticscore_saved

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

No response

LoneDev6 commented 1 year ago

UnknownHostException: 알려진 호스트가 없습니다 (my_url_database_69.com)

Please fix your mysql address.

leestar960 commented 1 year ago

How do I fix it?

leestar960 commented 1 year ago

Please fix your mysql address.

leestar960 commented 1 year ago
url: jdbc:mysql://localhost:3306/cosmetics

??????????????
LoneDev6 commented 1 year ago

UnknownHostException means your host address my_url_database_69.com doesn't exists.