adde0109 / Proxy-Compatible-Forge

Works with: 1.16.5 - 1.18.2 - 1.19.x - 1.20.x
Other
34 stars 14 forks source link

Player kicked, but client does not detect that. #35

Open Kaloyan501 opened 2 months ago

Kaloyan501 commented 2 months ago

OS: Arch Linux 64-bit, latest kernel Forge Version: 47.3.7 Proxy-Compatible-Forge version: Latest

Forge server says com.mojang.authlib.GameProfile@13d3f26[id=!UUID!,name=!My Username!,properties={},legacy=false] (!IP!) lost connection: Disconnected

Stuff in !! is not what it's actually printing, I'm just redacting IP's and stuff.

p0t4t0sandwich commented 1 month ago

Are you using Ambassador on your Velocity proxy? What are the full logs on the Forge server/proxy/Forge client? (Use MCLogs to share the logs, as they redact IPs and other sensitive info. Player names/UUIDs are public knowledge and don't really need to be redacted)

CREW8 commented 1 week ago

Hello together,

I have the same error with my AllTheMods10 Server. I get the same Error Message on my ATm10 NeoForge Server as @Kaloyan501 states in his message above.

Forge server says com.mojang.authlib.GameProfile@13d3f26[id=!UUID!,name=!My Username!,properties={},legacy=false] (!IP!) lost connection: Disconnected

Additionally i get this error log in my Velocity Console:

[22:59:03 ERROR]: [server connection] PlayerXYZ -> atm10: exception encountered in com.velocitypowered.proxy.connection.backend.ConfigSessionHandler@7a3cb38
io.netty.handler.codec.CorruptedFrameException: Error decoding class com.velocitypowered.proxy.protocol.packet.config.KnownPacksPacket Direction CLIENTBOUND Protocol 1.21 State CONFIG ID e
    at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.handleDecodeFailure(MinecraftDecoder.java:130) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.tryDecode(MinecraftDecoder.java:85) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.channelRead(MinecraftDecoder.java:60) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:289) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1357) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:868) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:799) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:501) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:399) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: com.velocitypowered.proxy.util.except.QuietDecoderException: too many known packs
[22:59:03 INFO]: [server connection] PlayerXYZ -> atm10 has disconnected
[22:59:03 ERROR]: [connected player] PlayerXYZ (/88.888.888.88:88888): unable to connect to server atm10
java.io.IOException: Unexpectedly disconnected from remote server
    at com.velocitypowered.proxy.connection.backend.ConfigSessionHandler.disconnected(ConfigSessionHandler.java:335) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at com.velocitypowered.proxy.connection.MinecraftConnection.channelInactive(MinecraftConnection.java:126) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:303) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:281) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:274) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:81) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at com.velocitypowered.proxy.protocol.netty.PlayPacketQueueOutboundHandler.channelInactive(PlayPacketQueueOutboundHandler.java:79) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:303) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:281) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:274) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:81) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at com.velocitypowered.proxy.protocol.netty.PlayPacketQueueInboundHandler.channelInactive(PlayPacketQueueInboundHandler.java:75) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:303) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:281) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:274) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:81) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.handler.timeout.IdleStateHandler.channelInactive(IdleStateHandler.java:280) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:303) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:281) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:274) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:412) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:377) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:303) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:281) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:274) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1352) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:301) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:281) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:850) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.AbstractChannel$AbstractUnsafe$7.run(AbstractChannel.java:811) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:405) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[velocity.jar:3.4.0-SNAPSHOT (git-cefa3b27-b450)]
    at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
[22:59:03 INFO]: [connected player] PlayerXYZ (/88.888.888.88:88888) has disconnected: Unable to connect you to atm10. Please try again later.
p0t4t0sandwich commented 1 week ago

Add the -Dvelocity.max-known-packs=264 startup arg to Velocity, replacing the number with roughly the number-of-modsx1.5 to make sure the number is bumped high enough

Hard to tell if it's the same error, since the original user never provided any info

CREW8 commented 1 week ago

Thank you for the fast reply! This worked and solved the issue!