adde0109/Ambassador

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

Closed this issue · 15 comments

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]

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

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

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

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

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

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

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.

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

CleanShot 2023-04-04 at 22 15 21@2x

List of my velocity plugins^

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

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/

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

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

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

Could you try building from source using the latest commit?

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

When I join on Forge Client:
image