dmulloy2 / ProtocolLib

Provides read and write access to the Minecraft protocol with Bukkit.
GNU General Public License v2.0
1.02k stars 260 forks source link

Server hasn't responded for 10 seconds! [1.19] #1638

Closed dymrrr closed 2 years ago

dymrrr commented 2 years ago

Describe the bug Server hangs when a player joins.

To Reproduce Steps to reproduce the behavior:

  1. Download the latest dev build
  2. Run the server
  3. Join
  4. See error

Expected behavior

04:57:31 ERROR: --- DO NOT REPORT THIS TO PURPUR - THIS IS NOT A BUG OR A CRASH - git-Purpur-1657 (MC: 1.19) --- 04:57:31 ERROR: The server has not responded for 10 seconds! Creating thread dump

04:57:31 ERROR: Server thread dump (Look for plugins here before reporting to Purpur!):

04:57:31 ERROR: Current Thread: Server thread 04:57:31 ERROR: PID: 25 | Suspended: false | Native: false | State: RUNNABLE

04:57:31 ERROR: java.base@17.0.2/java.lang.Class.getDeclaredClasses0(Native Method)

04:57:31 ERROR: jdk.internal.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)

04:57:31 ERROR: ProtocolLib.jar//com.comphenix.protocol.injector.netty.channel.NettyChannelInjector$$Lambda$11615/0x0000000802e4c228.run(Unknown Source)

04:57:31 ERROR: net.minecraft.server.MinecraftServer$$Lambda$4353/0x0000000801535618.run(Unknown Source)

04:57:31 ERROR: --- DO NOT REPORT THIS TO PURPUR - THIS IS NOT A BUG OR A CRASH ---

04:57:36 ERROR: --- DO NOT REPORT THIS TO PURPUR - THIS IS NOT A BUG OR A CRASH - git-Purpur-1657 (MC: 1.19) --- 04:57:36 ERROR: The server has not responded for 15 seconds! Creating thread dump

04:57:36 ERROR: Server thread dump (Look for plugins here before reporting to Purpur!):

04:57:36 ERROR: Current Thread: Server thread 04:57:36 ERROR: PID: 25 | Suspended: false | Native: false | State: RUNNABLE

04:57:36 ERROR: jdk.internal.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)

04:57:36 ERROR: ProtocolLib.jar//com.comphenix.protocol.injector.netty.channel.NettyChannelInjector$$Lambda$11615/0x0000000802e4c228.run(Unknown Source)

04:57:36 ERROR: net.minecraft.server.MinecraftServer$$Lambda$4353/0x0000000801535618.run(Unknown Source)

04:57:36 ERROR: --- DO NOT REPORT THIS TO PURPUR - THIS IS NOT A BUG OR A CRASH ---

04:57:41 ERROR: --- DO NOT REPORT THIS TO PURPUR - THIS IS NOT A BUG OR A CRASH - git-Purpur-1657 (MC: 1.19) --- 04:57:41 ERROR: The server has not responded for 20 seconds! Creating thread dump

04:57:41 ERROR: Server thread dump (Look for plugins here before reporting to Purpur!):

04:57:41 ERROR: Current Thread: Server thread 04:57:41 ERROR: PID: 25 | Suspended: false | Native: false | State: RUNNABLE

04:57:41 ERROR: jdk.internal.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)

04:57:41 ERROR: ProtocolLib.jar//com.comphenix.protocol.injector.netty.channel.NettyChannelInjector$$Lambda$11615/0x0000000802e4c228.run(Unknown Source)

04:57:41 ERROR: net.minecraft.server.MinecraftServer$$Lambda$4353/0x0000000801535618.run(Unknown Source)

04:57:41 ERROR: --- DO NOT REPORT THIS TO PURPUR - THIS IS NOT A BUG OR A CRASH ---

04:57:46 ERROR: --- DO NOT REPORT THIS TO PURPUR - THIS IS NOT A BUG OR A CRASH - git-Purpur-1657 (MC: 1.19) --- 04:57:46 ERROR: The server has not responded for 25 seconds! Creating thread dump

04:57:46 ERROR: Server thread dump (Look for plugins here before reporting to Purpur!):

04:57:46 ERROR: Current Thread: Server thread 04:57:46 ERROR: PID: 25 | Suspended: false | Native: false | State: RUNNABLE

04:57:46 ERROR: jdk.internal.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)

04:57:46 ERROR: ProtocolLib.jar//com.comphenix.protocol.injector.netty.channel.NettyChannelInjector$$Lambda$11615/0x0000000802e4c228.run(Unknown Source)

04:57:46 ERROR: net.minecraft.server.MinecraftServer$$Lambda$4353/0x0000000801535618.run(Unknown Source)

04:57:46 ERROR: --- DO NOT REPORT THIS TO PURPUR - THIS IS NOT A BUG OR A CRASH ---

04:57:51 ERROR: --- DO NOT REPORT THIS TO PURPUR - THIS IS NOT A BUG OR A CRASH - git-Purpur-1657 (MC: 1.19) --- 04:57:51 ERROR: The server has not responded for 30 seconds! Creating thread dump

04:57:51 ERROR: Server thread dump (Look for plugins here before reporting to Purpur!):

04:57:51 ERROR: Current Thread: Server thread 04:57:51 ERROR: PID: 25 | Suspended: false | Native: false | State: RUNNABLE

04:57:51 ERROR: jdk.internal.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)

04:57:51 ERROR: ProtocolLib.jar//com.comphenix.protocol.injector.netty.channel.NettyChannelInjector$$Lambda$11615/0x0000000802e4c228.run(Unknown Source)

04:57:51 ERROR: net.minecraft.server.MinecraftServer$$Lambda$4353/0x0000000801535618.run(Unknown Source)

04:57:51 ERROR: --- DO NOT REPORT THIS TO PURPUR - THIS IS NOT A BUG OR A CRASH ---

Version Info Provide your ProtocolLib install info with /protocol dump through pastebin.

ProtocolLib Dump Timestamp: 06/13/22 04:59:52

ProtocolLib Version: ProtocolLib v5.0.0-SNAPSHOT-b567 Bukkit Version: 1.19-R0.1-SNAPSHOT Server Version: git-Purpur-1657 (MC: 1.19) Java Version: 17.0.2

ProtocolLib: com.comphenix.protocol.ProtocolLib@76c6ee66[ statistics=com.comphenix.protocol.metrics.Statistics@52fc7818 backgroundCompiler=com.comphenix.protocol.reflect.compiler.BackgroundCompiler@54b4bd4c packetTask=7 tickCounter=3489 configExpectedMod=1 updater=com.comphenix.protocol.updater.SpigotUpdater@6cc97c86 redirectHandler=com.comphenix.protocol.ProtocolLib$2@2d3d1aa7 commandProtocol=com.comphenix.protocol.CommandProtocol@1cb09ba0 commandPacket=com.comphenix.protocol.CommandPacket@6d9f0ba7 commandFilter=com.comphenix.protocol.CommandFilter@4a9577de packetLogging=com.comphenix.protocol.PacketLogging@fb8a409 skipDisable=false isEnabled=true loader=org.bukkit.plugin.java.JavaPluginLoader@17cd53c5 server=CraftServer{serverName=Purpur,serverVersion=git-Purpur-1657,minecraftVersion=1.19} file=plugins/ProtocolLib.jar description=org.bukkit.plugin.PluginDescriptionFile@63500cb2 dataFolder=plugins/ProtocolLib classLoader=PluginClassLoader{plugin=ProtocolLib v5.0.0-SNAPSHOT-b567, pluginEnabled=true, url=plugins/ProtocolLib.jar} naggable=true newConfig=YamlConfiguration[path='', root='YamlConfiguration'] configFile=plugins/ProtocolLib/config.yml logger=com.destroystokyo.paper.utils.PaperPluginLogger@542c49a3 ] Manager: com.comphenix.protocol.injector.PacketFilterManager@3e4ac6e[ plugin=ProtocolLib v5.0.0-SNAPSHOT-b567 server=CraftServer{serverName=Purpur,serverVersion=git-Purpur-1657,minecraftVersion=1.19} reporter=com.comphenix.protocol.ProtocolLib$1@6032053c minecraftVersion=(MC: 1.19.0) asyncFilterManager=com.comphenix.protocol.async.AsyncFilterManager@5a2b269b pluginVerifier=com.comphenix.protocol.injector.PluginVerifier@6cfc1d2c inboundListeners=com.comphenix.protocol.injector.SortedPacketListenerList@4a5d5b01 outboundListeners=com.comphenix.protocol.injector.SortedPacketListenerList@3a36bc93 registeredListeners=[PacketAdapter[plugin=SuperVanish, sending=ListeningWhitelist[priority=NORMAL, packets=[OUT_SERVER_INFO[class=PacketStatusOutServerInfo, id=0]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=SuperVanish, sending=ListeningWhitelist[priority=NORMAL, packets=[PLAYER_INFO[class=PacketPlayOutPlayerInfo, id=52]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=SuperVanish, sending=ListeningWhitelist[priority=LOW, packets=[PLAYER_INFO[class=PacketPlayOutPlayerInfo, id=52], ABILITIES[class=PacketPlayOutAbilities, id=47], ENTITY_METADATA[class=PacketPlayOutEntityMetadata, id=77]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=SuperVanish, sending=ListeningWhitelist[priority=HIGH, packets=[PLAYER_INFO[class=PacketPlayOutPlayerInfo, id=52]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=LiteBans, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=NORMAL, packets=[CHAT[class=PacketPlayInChat, id=4]], gamephase=PLAYING, options=[ASYNC]]], PacketAdapter[plugin=AuthMe, sending=ListeningWhitelist[priority=NORMAL, packets=[SET_SLOT[class=PacketPlayOutSetSlot, id=19], WINDOW_ITEMS[class=PacketPlayOutWindowItems, id=17]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=LiteBans, sending=ListeningWhitelist[priority=NORMAL, packets=[DISCONNECT[class=PacketLoginOutDisconnect, id=0]], gamephase=PLAYING, options=[ASYNC]], receiving=EMPTY_WHITELIST]] packetInjector=com.comphenix.protocol.injector.netty.manager.NetworkManagerPacketInjector@392a4ab0 playerInjectionHandler=com.comphenix.protocol.injector.netty.manager.NetworkManagerPlayerInjector@353335c4 networkManagerInjector=com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector@1596f530 debug=false closed=false injected=true ]

Listeners: de.myzelyam.supervanish.visibility.ServerListPacketListener@7eef1e8f[ plugin=SuperVanish v6.2.7 plugin=SuperVanish v6.2.7 connectionSide=SERVER_SIDE receivingWhitelist=EMPTY_WHITELIST sendingWhitelist=ListeningWhitelist[priority=NORMAL, packets=[OUT_SERVER_INFO[class=PacketStatusOutServerInfo, id=0]], gamephase=PLAYING, options=[]] ] de.myzelyam.supervanish.features.VanishIndication$1@43070205[ plugin=SuperVanish v6.2.7 connectionSide=SERVER_SIDE receivingWhitelist=EMPTY_WHITELIST sendingWhitelist=ListeningWhitelist[priority=NORMAL, packets=[PLAYER_INFO[class=PacketPlayOutPlayerInfo, id=52]], gamephase=PLAYING, options=[]] ] de.myzelyam.supervanish.features.SilentOpenChestPacketAdapter@295b88b8[ silentOpenChest=de.myzelyam.supervanish.features.SilentOpenChest@4595c037 suppressErrors=false plugin=SuperVanish v6.2.7 connectionSide=SERVER_SIDE receivingWhitelist=EMPTY_WHITELIST sendingWhitelist=ListeningWhitelist[priority=LOW, packets=[PLAYER_INFO[class=PacketPlayOutPlayerInfo, id=52], ABILITIES[class=PacketPlayOutAbilities, id=47], ENTITY_METADATA[class=PacketPlayOutEntityMetadata, id=77]], gamephase=PLAYING, options=[]] ] de.myzelyam.supervanish.visibility.hiders.modules.PlayerInfoModule@3c2c323b[ hider=de.myzelyam.supervanish.visibility.hiders.PreventionHider@3d730466 plugin=SuperVanish v6.2.7 errorLogged=false plugin=SuperVanish v6.2.7 connectionSide=SERVER_SIDE receivingWhitelist=EMPTY_WHITELIST sendingWhitelist=ListeningWhitelist[priority=HIGH, packets=[PLAYER_INFO[class=PacketPlayOutPlayerInfo, id=52]], gamephase=PLAYING, options=[]] ] litebans.gM@2732feba[ b=litebans.gC@1d5545c7 d=litebans.gz@7942e539 e=litebans.gF@5c379e43 a=litebans.g9@2ac33c37 f=LiteBans v2.9.5 plugin=LiteBans v2.9.5 connectionSide=CLIENT_SIDE receivingWhitelist=ListeningWhitelist[priority=NORMAL, packets=[CHAT[class=PacketPlayInChat, id=4]], gamephase=PLAYING, options=[ASYNC]] sendingWhitelist=EMPTY_WHITELIST ] fr.xephi.authme.listener.protocollib.InventoryPacketAdapter@2ab0b939[ logger=fr.xephi.authme.ConsoleLogger@738a6a60 playerCache=fr.xephi.authme.data.auth.PlayerCache@132f27d4 dataSource=fr.xephi.authme.datasource.CacheDataSource@203e8302 plugin=AuthMe v5.6.0-beta2-b2453 connectionSide=SERVER_SIDE receivingWhitelist=EMPTY_WHITELIST sendingWhitelist=ListeningWhitelist[priority=NORMAL, packets=[SET_SLOT[class=PacketPlayOutSetSlot, id=19], WINDOW_ITEMS[class=PacketPlayOutWindowItems, id=17]], gamephase=PLAYING, options=[]] ] litebans.hC@4cb99270[ d=litebans.gF@5c379e43 c=LiteBans v2.9.5 plugin=LiteBans v2.9.5 connectionSide=SERVER_SIDE receivingWhitelist=EMPTY_WHITELIST sendingWhitelist=ListeningWhitelist[priority=NORMAL, packets=[DISCONNECT[class=PacketLoginOutDisconnect, id=0]], gamephase=PLAYING, options=[ASYNC]] ]

Plugins Using ProtocolLib: AuthMe by [Xephi, sgdc3, DNx5, timvisee, games647, ljacqu, Gnat008] SuperVanish by [MyzelYam] LiteBans by [Ruan]

Additional context Litterally when someone joins it just folds.

derklaro commented 2 years ago

Should be a duplicate of #1631 - please read my last comment I attached a build which fixes the issue until the fix is merged.

ShakyJojo commented 2 years ago

Worked. Thanks!