Timeouts only on Folia backend (1.21.8) behind Velocity

  • Thread starter Thread starter /u/Comfortable-Pie624
  • Start date Start date
U

/u/Comfortable-Pie624

Guest
Some players are getting random “Timed out” disconnects on my server, while others are completely fine. Has anyone experienced player-specific timeouts only on Folia, while Paper works fine behind Velocity?

We noticed that affected players often report the disconnect happening when they are close to mobs or other players, which makes us suspect something related to entity updates, networking, or packet load. Could Anti-Xray mode 2 cause network stalls or timeouts for certain players or ISPs?

To isolate this, what would you investigate or tweak first: Velocity keepalive/compression settings, Folia region stalls, MTU or packet fragmentation issues, or possible interactions with Geyser/Floodgate or PacketEvents?

  • Network: Velocity → Lobby (Paper) → Survival (Folia 1.21.8)
  • The issue only happens on the Folia backend.
  • If the same players stay in the Paper lobby, they usually do not disconnect.
  • Both Velocity and Folia consoles only show “Timed out”, no errors or stacktraces.
  • This affects only some players, seemingly at random.

Hardware:

  • Host: Ryzen 9 7950X, 128GB RAM
  • Velocity: 8GB RAM allocated
  • Lobby: Paper 1.21.10 4gb allocated
  • Survival: Folia 1.21.8 28gb allocated

Plugins being used:

Velocity: velocity, ajqueue, floodgate, geyser, litebans, luckperms, minimotd-velocity, packetevents, pl-hide-pro, skinsrestorer, spark, voicechat

Folia (issue still happens even with no plugins): BlueSlimeCore, HuskHomes
AnarchyExploitFixes, ChatControl, CombatLogX, ExploitFixer, FasterCrystals, floodgate, GrimAC, LiteBans, LuckPerms, packetevents, Pl-Hide-Pro, ProtocolLib, ViaVersion, ViaBackwards, TAB, voicechat, Spartan, RedstoneLimiter, etc.

Tests already done

  • Binary search on plugins and configs (Velocity and Folia)
  • Tested Folia backend with no plugins → issue still occurs
  • Test server with mirrored config:
    • Some players stopped disconnecting after disabling Anti-Xray mode 2
    • Others kept timing out even with it disabled
  • Client-side troubleshooting (Java update, Windows Firewall, DNS/Winsock reset):
    • Helped some players, not all
  • Host DDoS protection disabled for testing:
    • Same behavior,partial improvement, some players still have the issue

Key pattern

  • Disconnects only on Folia, Paper lobby is stable for the same players
  • No crashes, no lag spikes, no errors, just timeouts
submitted by /u/Comfortable-Pie624
[link] [comments]

Continue reading...
 
Back
Top