AutoModpack icon indicating copy to clipboard operation
AutoModpack copied to clipboard

Velocity proxy is incompatible, client gets disconnected with no mod message

Open MrRubberDucky opened this issue 2 years ago • 4 comments

Bug description

Trying to join a server that's behind a Velocity proxy with a modded client that has Fabric & AutoModpack mod installed will result in a disconnect from backend server.

Steps to reproduce

  1. Plop AutoModpack into client, install latest Fabric Loader for 1.20.1
  2. Try to join a server hosting a AutoModpack behind Velocity proxy
  3. Get disconnected due to not having the mod installed on client

Expected behavior

AutoModpack allows me to connect via Velocity and download the modpack

Actual behavior

Client gets disconnected with a " has not installed AutoModpack." message

Relevant logs

Back-end (Game Server)

OG_MrRubberDucky has not installed AutoModpack.
com.mojang.authlib.GameProfile@47ea0260[id=trimming,name=OG_MrRubberDucky,properties={textures=[com.mojang.authlib.properties.Property@7148a7a1]},legacy=false] (/redacted:42834) lost connection: AutoModpack mod for fabric modloader is required to play on this server!

Front-end (Velocity)

OG_MrRubberDucky (/redacted:25436) has disconnected: Unable to connect to modded: AutoModpack mod for fabric modloader is required to play on this server!

Minecraft & Mod Loader versions

1.20.1 Fabric 0.14.24, Velocity 3.2.0-SNAPSHOT-294

Minecraft launcher

Modrinth Launcher

Operating system

Windows 11 (Host), Debian Bookworm (back-end), Debian Bookworm (front-end)

AutoModpack version

3.5.2

Other information

Velocity plugins installed: SignedVelocity, VPacketEvents, Raknetify (with, or without it's the same)

Fabric mods installed: FabricProxy-Lite, CrossStitch, SignedVelocity and Raknetify

The problem might just be AutoModpack not querying back to Velocity about what mods client has, not really sure but at least a lead for where to look.

Check list

  • [X] I have verified that the issue persists in the latest version of the mod.
  • [X] I have searched the existing issues and confirmed that this is not a duplicate.

MrRubberDucky avatar Nov 25 '23 01:11 MrRubberDucky

I have in plans to make separate plugin for velocity to resolve this

Skidamek avatar Nov 25 '23 07:11 Skidamek

The problem is just that automodpack packets are and need to be semi-first* and it is too early for velocity to handle from backend server I guess

Skidamek avatar Nov 25 '23 07:11 Skidamek

I have in plans to make separate plugin for velocity to resolve this

Ah aighty, good to know that it's planned! For now I just ended up going NGINX stream module route (alongside rathole) and so far it's been fine.

Lovin this mod btw it makes managing modpacks for friends and small communities a blast so thank you for creating this, it's really a game changer.

The problem is just that automodpack packets are and need to be semi-first* and it is too early for velocity to handle from backend server I guess

I learned something new today

MrRubberDucky avatar Nov 25 '23 13:11 MrRubberDucky

was there ever a fix for this?

FireBall1725 avatar Apr 20 '24 14:04 FireBall1725