GeyserMC / Geyser

A bridge/proxy allowing you to connect to Minecraft: Java Edition servers with Minecraft: Bedrock Edition.
https://geysermc.org
MIT License
4.72k stars 676 forks source link

Downstream packet error after updating to 1.19.81 #3714

Closed Agaloth closed 1 year ago

Agaloth commented 1 year ago

Describe the bug

Players are stuck at the "Locating server" screen and the console gets downstream packet errors.

To Reproduce

  1. Update Geyser to Build #94
  2. Let the server run while having bedrock players

Expected behaviour

Bedrock players won't be able to connect to the server anymore and will be stuck at the "Locating server" screen and the console will have the downstream packet errors.

Screenshots / Videos

No response

Server Version and Plugins

[18:03:14 INFO]: Checking version, please wait... [18:03:14 INFO]: Current: git-PufferfishPlus-12 (MC: 1.19.2)*

[18:03:26 INFO]: Plugins (132): AdvancedEnchantments, AdvancedVanish, ajLeaderboards, ajStartCommands, Analyse, AutoBroadcast, BattlePass, BetterShops, BlockLocker, Brewery, BuycraftX, ChatComplete, ChatSentry, Chunky, ChunkyBorder, Citizens, CMILib, ColoredAnvils, CommandRegions, CommandWhitelist, CoreProtect, CustomCrafting, CyberWorldReset, DeathLocation, DecentHolograms, DeluxeAnnounce, DeluxeCombat, DeluxeCombat_Addon_WG, DeluxeMenus, DeluxeSellwands, DeluxeTags, DiscordSRV, DiscordSRV-Staff-Chat, dtlTraders, Duels, EliteArmor, EnderDragonTweaks, Essentials, EssentialsSpawn, ExplodeMe, FastAsyncWorldEdit (WorldEdit), floodgate, FreedomChat, Geyser-Spigot, GSit, HeadDatabase, HeadDecapitator, Insights, InventoryRollbackPlus, InvisibleItemFrames, ItemEdit, ItemsAdder, ItemTag, JakesRTP, JetsAntiAFKPro, KauriVPN, KeepInventory, KixsChatGames, Lib1711, LibsDisguises, LiteBans, LoneLibs, LuckPerms, MapTowny, MarriageMaster, MCMetrics, mcMMO, McmmoGui, MCPets, MessageSounds, MobFarmManager, ModelEngine, Multiverse-Core, Multiverse-Inventories, MVdWPlaceholderAPI, MyCommand, MythicMobs, NBTAPI, NightVision, OpenInv, PacketListenerApi, PinataParty, PlaceholderAPI, PlayerAuctions, PlayerKits, PlayerPoints, PlayerVaults, PlayerWarps, ProCosmetics, ProtocolLib, PyroFishingPro, PyroLib, QuickShop, RandomEvents, RankupMenu, RoseLoot, RoseStacker, RotationalWrench, SafariNet, ServerlistMOTD, ServerTutorialPlus, ServerUtils, ShopGUIPlus, ShopGUIPlus-SellGUI, Shopkeepers, spark, SpawnerShutdown, SpecializedCrates, squaremap, STN-Studios-API, StoreGoal, SuperbVote, TAB, Towny, TownyFlight, TownyMenu, TownyWild, UltimateAutoRestart, Vault, Vehicles, VentureChat, ViaBackwards, ViaVersion, VillagerOverhaul, voicechat, Votifier, Vulcan, WolfyUtilities, WorldGuard, WorldGuardExtraFlags, XPBoost, YamipaPlugin

Geyser Dump

https://dump.geysermc.org/QnZSksx0b57WnSajRG93aDC3qbdf4Lq5

Geyser Version

This server is running Geyser version 2.1.0-SNAPSHOT (git-master-8a25afb) (Java: 1.19.4, Bedrock: 1.19.40/1.19.41 - 1.19.80/1.19.81)

Minecraft: Bedrock Edition Device/Version

Minecraft Windows 10 Edition 1.19.81

Additional Context

What does this error mean, seems like players got stuck on the "Locating server" screen after getting this error in console:

[16:18:12] [defaultEventLoopGroup-7-3/WARN]: [Geyser-Spigot] Downstream packet error! Cannot invoke "com.github.steveice10.mc.protocol.data.game.level.event.LevelEvent.ordinal()" because "this.event" is null [16:18:13] [defaultEventLoopGroup-7-2/WARN]: [Geyser-Spigot] Downstream packet error! Cannot invoke "com.github.steveice10.mc.protocol.data.game.level.event.LevelEvent.ordinal()" because "this.event" is null [16:18:31] [defaultEventLoopGroup-7-2/WARN]: [Geyser-Spigot] Downstream packet error! Cannot invoke "com.github.steveice10.mc.protocol.data.game.level.event.LevelEvent.ordinal()" because "this.event" is null [16:18:38] [defaultEventLoopGroup-7-2/WARN]: [Geyser-Spigot] Downstream packet error! Cannot invoke "com.github.steveice10.mc.protocol.data.game.level.event.LevelEvent.ordinal()" because "this.event" is null [16:18:38] [defaultEventLoopGroup-7-2/WARN]: [Geyser-Spigot] Downstream packet error! Cannot invoke "com.github.steveice10.mc.protocol.data.game.level.event.LevelEvent.ordinal()" because "this.event" is null [16:18:39] [defaultEventLoopGroup-7-2/WARN]: [Geyser-Spigot] Downstream packet error! Cannot invoke "com.github.steveice10.mc.protocol.data.game.level.event.LevelEvent.ordinal()" because "this.event" is null```

onebeastchris commented 1 year ago

Could you upload your whole latest.log file from your "logs" folder to mclo.gs & send the link here? the first time this error occured there should be a stack trace, the complete log would include that :)

Agaloth commented 1 year ago

Could you upload your whole latest.log file from your "logs" folder to mclo.gs & send the link here? the first time this error occured there should be a stack trace, the complete log would include that :)

https://mclo.gs/zZR7RYq

Agaloth commented 1 year ago

https://mclo.gs/OfuGckv - Logs with Geyser debug mode on

onebeastchris commented 1 year ago

Thanks! was able to find the exact issue there - https://paste.gg/p/anonymous/cf7410a4bd904a68a4bff10640125f13. For the time being, disable debug mode, and wait for a fix :)

DCE-114514 commented 1 year ago

Hi I have the same problem after updating Geyser Bungee today

DCE-114514 commented 1 year ago

Cannot invoke "com.github.steveice10.mc.protocol.data.game.level.event.LevelEvent.ordinal()" because "this.event" is null

DCE-114514 commented 1 year ago

Geyser-BungeeCord downstream packet error! null

Rezanans-wow commented 1 year ago

same..

Agaloth commented 1 year ago

Who else has this issue, my bedrock players haven't been able to connect for nearly 3 days, after restarting the server they can connect for like an hour then they will just get at Locating Server until next restart.

ManifestJW commented 1 year ago

I'm having this issue as well. My server is running on Paper 1.16.5 Java 16. Bedrock Client connectivity is still working for me though, but the console is being spammed with this exact error message. I don't know if this is related, but one of my players is complaining about chunk rendering issues, where certain parts of the world just don't render for him. A relog seems to fix the broken chunks, but then other broken chunks start appearing and it's becoming a huge annoyance for him. He's playing on PS4.

SpeastTV commented 1 year ago

I have the same error spamming in the console [16:30:32 WARN]: [Geyser-Spigot] Downstream packet error! Cannot invoke "com.github.steveice10.mc.protocol.data.game.level.event.LevelEvent.ordinal()" because "this.event" is null

Agaloth commented 1 year ago

If you guys experience issues with players being stuck at "Locating server" use this version of Floodgate, fixed it for me: https://ci.opencollab.dev/job/GeyserMC/job/Floodgate/job/master/78/

Agaloth commented 1 year ago

Nevermind, it happened again after 50 minutes