Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

viaversion cannot load all servers except for versions 1.8x and 1.21 on mcp client #36

Open
QingYan23333 opened this issue Oct 23, 2024 · 1 comment

Comments

@QingYan23333
Copy link

When I try to use 1.19 to 1.20.5-1.20.6, the console will display
[19:25:36] [Client thread/INFO]: Connecting to mc.163mc.cn, 25565
But there is no message on the console below
1 19
When I use 1.18.2 to 1.9, the control will appear
[19:24:44] [Client thread/INFO]: Connecting to mc.163mc.cn, 25565 [19:24:44] [Netty Client IO #5/WARN]: ERROR IN Protocol1_16_2To1_16_1 IN REMAP OF LOGIN 0x00->0x00 io.netty.handler.codec.DecoderException: com.viaversion.viaversion.exception.InformativeException: Please report this on the Via support Discord or open an issue on the relevant GitHub repository Packet Type: null, Type: ComponentType, Index: 1, Data: [], Source 0: com.viaversion.viaversion.rewriter.ComponentRewriter$$Lambda$805/992132269, Packet ID: 0 at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:99) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:150) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:130) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) at java.lang.Thread.run(Thread.java:750) Caused by: com.viaversion.viaversion.exception.InformativeException: Please report this on the Via support Discord or open an issue on the relevant GitHub repository Packet Type: null, Type: ComponentType, Index: 1, Data: [], Source 0: com.viaversion.viaversion.rewriter.ComponentRewriter$$Lambda$805/992132269, Packet ID: 0 Caused by: com.viaversion.viaversion.libs.gson.JsonSyntaxException: com.viaversion.viaversion.libs.gson.stream.MalformedJsonException: Use JsonReader.setStrictness(Strictness.LENIENT) to accept malformed JSON at line 1 column 12 path $ See https://github.com/google/gson/blob/main/Troubleshooting.md#malformed-json at com.viaversion.viaversion.libs.gson.JsonParser.parseReader(JsonParser.java:116) at com.viaversion.viaversion.libs.gson.JsonParser.parseString(JsonParser.java:92) at com.viaversion.viaversion.api.type.types.ComponentType.read(ComponentType.java:45) at com.viaversion.viaversion.api.type.types.ComponentType.read(ComponentType.java:34) at com.viaversion.viaversion.protocol.packet.PacketWrapperImpl.readFromBuffer(PacketWrapperImpl.java:142) at com.viaversion.viaversion.protocol.packet.PacketWrapperImpl.passthrough(PacketWrapperImpl.java:190) at com.viaversion.viaversion.rewriter.ComponentRewriter.lambda$registerPing$2(ComponentRewriter.java:111) at com.viaversion.viaversion.api.protocol.AbstractProtocol.transform(AbstractProtocol.java:405) at com.viaversion.viaversion.protocol.packet.PacketWrapperImpl.apply(PacketWrapperImpl.java:410) at com.viaversion.viaversion.protocol.ProtocolPipelineImpl.transform(ProtocolPipelineImpl.java:122) at com.viaversion.viaversion.connection.UserConnectionImpl.transform(UserConnectionImpl.java:347) at com.viaversion.viaversion.connection.UserConnectionImpl.transformClientbound(UserConnectionImpl.java:323) at com.viaversion.viaversion.api.connection.UserConnection.transformIncoming(UserConnection.java:266) at de.florianmichael.vialoadingbase.netty.handler.VLBViaDecodeHandler.decode(VLBViaDecodeHandler.java:53) at de.florianmichael.vialoadingbase.netty.handler.VLBViaDecodeHandler.decode(VLBViaDecodeHandler.java:35) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:150) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:130) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) at java.lang.Thread.run(Thread.java:750) Caused by: com.viaversion.viaversion.libs.gson.stream.MalformedJsonException: Use JsonReader.setStrictness(Strictness.LENIENT) to accept malformed JSON at line 1 column 12 path $ See https://github.com/google/gson/blob/main/Troubleshooting.md#malformed-json at com.viaversion.viaversion.libs.gson.stream.JsonReader.syntaxError(JsonReader.java:1754) at com.viaversion.viaversion.libs.gson.stream.JsonReader.checkLenient(JsonReader.java:1550) at com.viaversion.viaversion.libs.gson.stream.JsonReader.doPeek(JsonReader.java:625) at com.viaversion.viaversion.libs.gson.stream.JsonReader.peek(JsonReader.java:507) at com.viaversion.viaversion.libs.gson.JsonParser.parseReader(JsonParser.java:111) ... 31 more
1 18least
There is also a bad package with ID 4

@TimosCodd
Copy link

same issue here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants