adde0109 / Ambassador

This is a Velocity plugin that makes it possible to host a modern forge server behind a Velocity proxy!
GNU Lesser General Public License v2.1
85 stars 18 forks source link

[1.19.2] - exception encountered in org.adde0109.ambassador.velocity.VelocityForgeHandshakeSessionHandler@4ee4d1e7 #15

Closed AnCasper closed 1 year ago

AnCasper commented 1 year ago

Keep getting dosconnected when trying to connect to the hub/lobby through velocity.

Velocity Log - https://mcpaste.io/5c202fa0f54ee94b

Edit: Noticed that it mentions something about version [1.19..1], lobby is on version [1.18.2]

adde0109 commented 1 year ago

Could you try using the latest version of Ambassador i just released?

AnCasper commented 1 year ago

Could you try using the latest version of Ambassador i just released?

Can do, will try it out and I will report back.

AnCasper commented 1 year ago

Still doing some testing to see if this issue is on my end... Getting hit with no errors just a bad io.netty error on login attempt. See attached image. io netty_issue

AnCasper commented 1 year ago

Okay so when ( Ambassador-Velocity-1.2.0-beta-all.jar ) is installed on the velocity proxy I get through to the forge server but cant connect because of:

[21:11:14] [Netty Epoll Server IO #0/WARN] [co.co.Connectivity/]: io.netty.handler.codec.DecoderException: The received encoded string buffer length is longer than maximum allowed (1220 > 765) [21:11:14] [Netty Epoll Server IO #0/WARN] [co.co.Connectivity/]: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: Index 104 out of bounds for length 51

Without the mod installed it trys to put me in the paper lobby (which is great) but it throws the error I posted above in the image. The error in the image is probs releated to something I have configured wrong or needs to be changed... I think... I hope lol

adde0109 commented 1 year ago

Make sure you have uninstalled the server mod (Ambassador-forge) because it's no longer needed. Also what mods do you test with?

iLemon commented 1 year ago

Did you figure this out @AnCasper? I am experiencing a similar issue https://pastes.dev/MopaWyZ9Ve

What's strange is I can join the network on my main account 'iLemon' but can't join on my alt account 'DeeMetrics', using the exact same instance folder of mods/version. Seems about half my players can get in, the other can't.

Tried Ambassador 1.2.0 and 1.3.0.

adde0109 commented 1 year ago

What plugins do you have installed? It looks like something is trying to send something to the player while the player is still joining.

iLemon commented 1 year ago
CleanShot 2023-04-04 at 22 15 21@2x

List of my velocity plugins^

adde0109 commented 1 year ago

Do you know if any of these sends a chat message directly after you join?

iLemon commented 1 year ago

I just tried unloading the plugins 1 by 1 and found it's caused by the Friends.jar plugin. Which would send a message on join, yeah.

https://www.spigotmc.org/resources/party-and-friends-extended-edition-for-bungeecord-velocity-supports-1-7-1-19.10123/

adde0109 commented 1 year ago

Thank you. Now I have something to work with in order to resolve this issue. I will keep this issue open and updated.

iLemon commented 1 year ago

No problem. Thanks for helping me find it - I'll disable the friends plugin in the meantime :)

RealRigBot commented 1 year ago

This issue has broke some of my plugins too. After testing:

@Subscribe(order = PostOrder.NORMAL) - Breaks with error above @Subscribe(order = PostOrder.LAST) - Works fine

adde0109 commented 1 year ago

Could you try building from source using the latest commit?

RealRigBot commented 1 year ago

So far works well although now I'm experiencing incompatibility issues with LimboAPI

When I join on Forge Client: image