Geyser icon indicating copy to clipboard operation
Geyser copied to clipboard

Bug with players on bedrock going afk.

Open pupshadow opened this issue 5 years ago • 17 comments

Describe the bug

When bedrock players go afk geyser seems to throw this error.

[15:06:02 WARN]: [Geyser-Spigot] Downstream packet error! Don't know how to turn null into a Component [15:06:02 WARN]: [Geyser-Spigot] Downstream packet error! Don't know how to turn null into a Component

To Reproduce

have a player go afk on server and look at logs.

Expected behaviour

to not throw a null.

Screenshots / Videos

No response

Server Version and Plugins

This server is running Paper version git-Paper-643 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT) You are 2 version(s) behind Previous version: git-Paper-629 (MC: 1.16.5)

Plugins (52): AdvancedNMotd, AntiXRay, AutoRestart*, BentoBox, ChestSort, Citizens, ClearLag, CMI, CMILib, CoreProtect, DangerousCaves, DeadChest, DiscordSRV, dynmap*, eZProtector, EZRanksPro, floodgate, Geyser-Spigot, Harbor, Lands, LevelledMobs, LibsDisguises, LuckPerms, LWC, MineConnect, MoneyFromMobs, Multiverse-Core, Multiverse-Inventories, Multiverse-Portals, PlaceholderAPI, PlayerWarps, PlotSquared, PlugMan, ProtocolLib, PureTickets, ServerSigns, SkinsRestorer, StaffFacilities, TreeAssist, Vault, VentureChat, ViaBackwards, ViaRewind, ViaVersion, Vivecraft-Spigot-Extensions, VoidGenerator, WarpSystem, WorldBorderAPI, WorldEdit, WorldGeneratorApi, WorldGuard, WorldGuardEvents

Geyser Dump

https://dump.geysermc.org/OgD4ilviQgiOcNVGqmrl2fHBfmxEmfth

Geyser Version

This server is running Geyser version 1.3.0-SNAPSHOT (git-floodgate-2.0-3b9674a) (Java: 1.16.4 - 1.16.5, Bedrock: 1.16.100/1.16.101 - 1.16.220)

Minecraft: Bedrock Edition Version

No response

Additional Context

No response

pupshadow avatar May 05 '21 19:05 pupshadow

1: Please provide logs with debug-mode enabled on Geyser and this happening. 2: Is there any plugin that provides a message when a player goes AFK? Otherwise, it would be helpful to know what plugin is causing that error.

Camotoy avatar May 05 '21 19:05 Camotoy

I think CMI does afk handling Give me a few on this debug mode.

pupshadow avatar May 06 '21 17:05 pupshadow

Any fix for this issue yet?

interestingcodelol avatar Jul 01 '21 21:07 interestingcodelol

When does it happen for you?

Camotoy avatar Jul 02 '21 01:07 Camotoy

It happens every time someone goes afk on bedrock. It is constant spam. The spam stops after the user has disconnected.

interestingcodelol avatar Jul 02 '21 02:07 interestingcodelol

Do you also have the CMI plugin installed? Does it fix itself after temporary removal?

Camotoy avatar Jul 02 '21 02:07 Camotoy

What do you mean by CMI? What does it stand for

interestingcodelol avatar Jul 02 '21 02:07 interestingcodelol

Please provide a Geyser dump.

Run geyser dump (server console) / /geyser dump (ingame chat) on your Geyser instance or server, then copy the link it will give you and paste it here. A Geyser dump is a way of providing us with a bunch of useful information about your server and Geyser config. This doesn't include any IPs or sensitive data.

Camotoy avatar Jul 02 '21 02:07 Camotoy

https://dump.geysermc.org/mMCBn7SbFtZ8Lho64iNjZfLKit16SuHA

interestingcodelol avatar Jul 02 '21 02:07 interestingcodelol

Please try the below:

If you have a possible plugin interfering with Geyser or Floodgate, follow these steps to find the culprit plugin:

  • Temporarily remove/move half of your plugins from your server's plugins folder.
  • If the problem persists, remove another half.
  • If the problem goes away, swap that half of your plugins with the other half.
  • Keep repeating this pattern, this time with the half that exhibits the problem, until you find your problematic plugin.

Camotoy avatar Jul 02 '21 02:07 Camotoy

If you could tell me what the error means, that would be helpful. I personally don't know what "Downstream packet error! Don't know how to turn null into a Component" means.

interestingcodelol avatar Jul 02 '21 02:07 interestingcodelol

It would be easier to at least have some knowledge on my end so I know what to look for.

interestingcodelol avatar Jul 02 '21 02:07 interestingcodelol

Unless 1.17 changed something, a plugin is trying to send a title with no content.

Camotoy avatar Jul 02 '21 02:07 Camotoy

What do you mean by "no content" is there a way to know what content means, is there a line of code that doesn't have anything in it, or wat.

interestingcodelol avatar Jul 02 '21 03:07 interestingcodelol

Also I figured out this does not only happen during an afk message. It happens as soon as the person joins on bedrock.

interestingcodelol avatar Jul 02 '21 03:07 interestingcodelol

No content means that it is an empty message (zero length).

For anyone who has had this error, please follow the instructions that Camo sent to determine which plugin is (likely) causing the issue.

  • Temporarily remove/move half of your plugins from your server's plugins folder.
  • If the problem persists, remove another half.
  • If the problem goes away, swap that half of your plugins with the other half.
  • Keep repeating this pattern, this time with the half that exhibits the problem, until you find your problematic plugin.

Konicai avatar Nov 27 '21 23:11 Konicai

We've resolved this error from occurring.

Camotoy avatar Jan 18 '22 18:01 Camotoy