Zrips / CMI

116 stars 98 forks source link

CMI constantly crashing server #7303

Closed amadeusmz closed 1 year ago

amadeusmz commented 2 years ago

Description of Issue

It has issues contacting to api.mojang.com

Version Information

[20:47:57 INFO]: --------------------------------------------------
[20:47:57 INFO]: CMI: 9.2.4.6 BungeeCord  MySQL
[20:47:57 INFO]: CMILib: 1.2.3.6
[20:47:57 INFO]: Server: Pufferfish 1.19.2-R0.1-SNAPSHOT
[20:47:57 INFO]: CMI economy: Disabled CMI Chat: Enabled
[20:47:57 INFO]: Modules -> 43 enabled 14 disabled: launchPad, tablist, portals, holograms, cmiPlaytime, dynamicSigns, kits, deathMessages, schedule, ranks, firstJoinMessages, playerCombat, votifier, homeInteractions
[20:47:57 INFO]: --------------------------------------------------

Errors

[20:39:10] [Server thread/WARN]: [MatchMakerClient] CMI is connecting to socket://api.mojang.com:443 in main thread
[20:39:20] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH  - git-Sakura-"c41463b" (MC: 1.19.2) ---
[20:39:20] [Paper Watchdog Thread/ERROR]: The server has not responded for 10 seconds! Creating thread dump
[20:39:20] [Paper Watchdog Thread/ERROR]: ------------------------------
[20:39:20] [Paper Watchdog Thread/ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
[20:39:20] [Paper Watchdog Thread/ERROR]: ------------------------------
[20:39:20] [Paper Watchdog Thread/ERROR]: Current Thread: Server thread
[20:39:20] [Paper Watchdog Thread/ERROR]:   PID: 43 | Suspended: false | Native: true | State: RUNNABLE
[20:39:20] [Paper Watchdog Thread/ERROR]:   Stack:
[20:39:20] [Paper Watchdog Thread/ERROR]:       java.base@17.0.4.1/sun.nio.ch.Net.poll(Native Method)
[20:39:20] [Paper Watchdog Thread/ERROR]:       java.base@17.0.4.1/sun.nio.ch.NioSocketImpl.park(NioSocketImpl.java:181)
[20:39:20] [Paper Watchdog Thread/ERROR]:       java.base@17.0.4.1/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:548)
[20:39:20] [Paper Watchdog Thread/ERROR]:       java.base@17.0.4.1/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
[20:39:20] [Paper Watchdog Thread/ERROR]:       java.base@17.0.4.1/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
[20:39:20] [Paper Watchdog Thread/ERROR]:       java.base@17.0.4.1/java.net.Socket.connect(Socket.java:639)
[20:39:20] [Paper Watchdog Thread/ERROR]:       java.base@17.0.4.1/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304)
[20:39:20] [Paper Watchdog Thread/ERROR]:       java.base@17.0.4.1/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
[20:39:20] [Paper Watchdog Thread/ERROR]:       java.base@17.0.4.1/sun.net.www.http.HttpClient.openServer(HttpClient.java:532)
[20:39:20] [Paper Watchdog Thread/ERROR]:       java.base@17.0.4.1/sun.net.www.http.HttpClient.openServer(HttpClient.java:637)
[20:39:20] [Paper Watchdog Thread/ERROR]:       java.base@17.0.4.1/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:266)
[20:39:20] [Paper Watchdog Thread/ERROR]:       java.base@17.0.4.1/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:380)
[20:39:20] [Paper Watchdog Thread/ERROR]:       java.base@17.0.4.1/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:193)
[20:39:20] [Paper Watchdog Thread/ERROR]:       java.base@17.0.4.1/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1290)
[20:39:20] [Paper Watchdog Thread/ERROR]:       java.base@17.0.4.1/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1131)
[20:39:20] [Paper Watchdog Thread/ERROR]:       java.base@17.0.4.1/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:179)
[20:39:20] [Paper Watchdog Thread/ERROR]:       java.base@17.0.4.1/sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1433)
[20:39:20] [Paper Watchdog Thread/ERROR]:       java.base@17.0.4.1/sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1404)
[20:39:20] [Paper Watchdog Thread/ERROR]:       java.base@17.0.4.1/sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:220)
[20:39:20] [Paper Watchdog Thread/ERROR]:       com.mojang.authlib.HttpAuthenticationService.performPostRequest(HttpAuthenticationService.java:78)
[20:39:20] [Paper Watchdog Thread/ERROR]:       com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:111)
[20:39:20] [Paper Watchdog Thread/ERROR]:       com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:106)
[20:39:20] [Paper Watchdog Thread/ERROR]:       com.mojang.authlib.yggdrasil.YggdrasilGameProfileRepository.findProfilesByNames(YggdrasilGameProfileRepository.java:56)
[20:39:20] [Paper Watchdog Thread/ERROR]:       com.destroystokyo.paper.profile.PaperGameProfileRepository.findProfilesByNames(PaperGameProfileRepository.java:44)
[20:39:20] [Paper Watchdog Thread/ERROR]:       net.minecraft.server.players.GameProfileCache.lookupGameProfile(GameProfileCache.java:110)
[20:39:20] [Paper Watchdog Thread/ERROR]:       net.minecraft.server.players.GameProfileCache.get(GameProfileCache.java:181)
[20:39:20] [Paper Watchdog Thread/ERROR]:       org.bukkit.craftbukkit.v1_19_R1.CraftProfileBanList.getProfile(CraftProfileBanList.java:107)
[20:39:20] [Paper Watchdog Thread/ERROR]:       org.bukkit.craftbukkit.v1_19_R1.CraftProfileBanList.isBanned(CraftProfileBanList.java:82)
[20:39:20] [Paper Watchdog Thread/ERROR]:       org.bukkit.craftbukkit.v1_19_R1.entity.CraftPlayer.isBanned(CraftPlayer.java:1539)
[20:39:20] [Paper Watchdog Thread/ERROR]:       CMI-9.2.4.6.jar//com.Zrips.CMI.AllListeners.PlayerListeners.onPlayerLoginLimit(PlayerListeners.java:1068)

Relevant Config Sections

No response

Relevant Plugins

No response

Agreements

CloudeLecaw commented 2 years ago

your server stoped responcing for longer then 10 secounds. the report shows the last thread that tried to interact with your server. (it could be every plugin listed here, unlucky in yoir case it was cmi here, so yoi came here because yoi thought its cmis fault.

all you can do here is look what causes your server not to react anymore, may corrupted world? bad Connection? may an old or damges hardware? if you realy find no reason, i would try an offline copy of your world beforemay you see the issue. what mostly doesnt help is to contact the host. they mostly will tell you to check your world or plugins first.

what you could do is: remove the cmi jar for a day loadup a few other plugins (so the resoulde that was made free from cmi is taken aggain) what i aspect is that the server will also crash after a while...

Zrips commented 1 year ago

Will be fixed with next update