Lan Multiplayer
Damon-Stroud opened this issue ยท 6 comments
I'm able to start connecting and logging in, however as soon as it goes to spawn me in im disconnected with the message "disconnected".
I'm having the same issue. In 0.2.6 and in 0.2.7. Haven't tried it in earlier versions.
The host gets the message (almost at the same time): user joined the game followed by user left the game
The user is kicked at the moment of 'joining the world'
On both computers the firewall is set correctly
(installed, launched and playing using the MultiMC launcher)
I was able to run 0.2.7 on lan server and play on it without problem.
Maybe not enough memory allocated on the server or on the client?
I'm also seeing this. I have allocated 25GB of RAM, so I sincerely hope that's enough. Reinstall of the modpack produces the issue, and if I act as host and the former host tries to connect to my instance, the same error occurs.
I see this error in the latest.log for the pack:
[18:41:09] [Render thread/FATAL]: Error executing task on Client
java.util.NoSuchElementException: packet_handler
at io.netty.channel.DefaultChannelPipeline.getContextOrDie(DefaultChannelPipeline.java:1073) ~[netty-all-4.1.68.Final.jar%2332!:4.1.68.Final]
at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:248) ~[netty-all-4.1.68.Final.jar%2332!:4.1.68.Final]
at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:237) ~[netty-all-4.1.68.Final.jar%2332!:4.1.68.Final]
at net.minecraftforge.network.filters.NetworkFilters.lambda$injectIfNecessary$1(NetworkFilters.java:48) ~[forge-1.18.1-39.0.6-universal.jar%23228!:?]
at com.google.common.collect.RegularImmutableMap.forEach(RegularImmutableMap.java:196) ~[guava-31.0.1-jre.jar%2321!:?]
at net.minecraftforge.network.filters.NetworkFilters.injectIfNecessary(NetworkFilters.java:44) ~[forge-1.18.1-39.0.6-universal.jar%23228!:?]
at net.minecraftforge.network.NetworkHooks.sendMCRegistryPackets(NetworkHooks.java:119) ~[forge-1.18.1-39.0.6-universal.jar%23228!:?]
at net.minecraft.client.multiplayer.ClientPacketListener.m_5998_(ClientPacketListener.java:372) ~[client-1.18.1-20211210.034407-srg.jar%23224!:?]
at net.minecraft.network.protocol.game.ClientboundLoginPacket.m_5797_(ClientboundLoginPacket.java:82) ~[client-1.18.1-20211210.034407-srg.jar%23224!:?]
at net.minecraft.network.protocol.game.ClientboundLoginPacket.m_5797_(ClientboundLoginPacket.java:18) ~[client-1.18.1-20211210.034407-srg.jar%23224!:?]
at net.minecraft.network.protocol.PacketUtils.m_131356_(PacketUtils.java:21) ~[client-1.18.1-20211210.034407-srg.jar%23224!:?]
at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:151) ~[client-1.18.1-20211210.034407-srg.jar%23224!:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[client-1.18.1-20211210.034407-srg.jar%23224!:?]
at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:125) ~[client-1.18.1-20211210.034407-srg.jar%23224!:?]
at net.minecraft.util.thread.BlockableEventLoop.m_18699_(BlockableEventLoop.java:110) ~[client-1.18.1-20211210.034407-srg.jar%23224!:?]
at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1009) ~[client-1.18.1-20211210.034407-srg.jar%23224!:?]
at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:660) ~[client-1.18.1-20211210.034407-srg.jar%23224!:?]
at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.1-20211210.034407-srg.jar%23224!:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:45) ~[fmlloader-1.18.1-39.0.6.jar%2323!:?]
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.0.7.jar%235!:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.0.7.jar%235!:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.0.7.jar%235!:?]
at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.0.7.jar%235!:?]
at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.0.7.jar%235!:?]
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.0.7.jar%235!:?]
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.0.7.jar%235!:?]
at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90) [bootstraplauncher-0.1.17.jar:?]
I was able to connect on version 0.2.1. This was still broken on 0.2.11, but I haven't tried any other versions other than 0.2.11 and 0.2.7 (and of course 0.2.1).
Correction, this only worked the first time. Exiting the server and attempting to rejoin causes the same symptoms.