Jump to content

(1.12.2) LAN Players Disconnect on Join


Recommended Posts

I've been dedicating a lot of time recently to building a 1.12.2 pack (on recommended version 14.23.5.2847), and just recently, I discovered that players can't play in LAN worlds for more than few minutes without being disconnected. I've looked through the logs, there are no suspected mods, and vanilla LANs work just fine, so I'm honestly clueless as to how to even go about fixing this problem. The host computer for LAN worlds runs completely fine. Minimal lag, no crashes. Players connecting to the LAN, however, are forcibly disconnected, which sometimes results in a crash on their side. Sometimes, they're disconnected immediately. Sometimes they're disconnected before a "____ has joined the world" message is even sent in chat. Sometimes, they're able to walk around a bit before they're kicked.

 

Here's an excerpt from a log, highlighting what happens when a player is disconnected:

Spoiler

 

[20:30:43] [Server thread/INFO]: MrFrickleFace joined the game

[20:30:43] [Client thread/INFO]: [CHAT] MrFrickleFace joined the game

[20:30:43] [Server thread/INFO]: Player EntityPlayerMP['MrFrickleFace'/146066, l='i haev to frog', x=462.85, y=63.25, z=63.46] connected. Sending ping

[20:30:43] [Server thread/INFO]: Sending Player Data to player MrFrickleFace with UUID 99c93839-6564-4d5f-8255-665e7c761324.

[20:30:44] [Netty Server IO #10/ERROR]: NetworkDispatcher exception

io.netty.util.IllegalReferenceCountException: refCnt: 0

    at io.netty.buffer.AbstractByteBuf.ensureAccessible(AbstractByteBuf.java:1408) ~[AbstractByteBuf.class:4.1.9.Final]

    at io.netty.buffer.UnpooledHeapByteBuf.array(UnpooledHeapByteBuf.java:154) ~[UnpooledHeapByteBuf.class:4.1.9.Final]

    at net.minecraft.network.PacketBuffer.array(PacketBuffer.java:1264) ~[gy.class:?]

    at net.minecraftforge.fml.common.network.internal.FMLProxyPacket.toS3FPackets(FMLProxyPacket.java:151) ~[FMLProxyPacket.class:?]

    at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.write(NetworkDispatcher.java:537) ~[NetworkDispatcher.class:?]

    at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738) ~[AbstractChannelHandlerContext.class:4.1.9.Final]

    at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:801) ~[AbstractChannelHandlerContext.class:4.1.9.Final]

    at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:814) ~[AbstractChannelHandlerContext.class:4.1.9.Final]

    at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:794) ~[AbstractChannelHandlerContext.class:4.1.9.Final]

    at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:831) ~[AbstractChannelHandlerContext.class:4.1.9.Final]

    at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1032) ~[DefaultChannelPipeline.class:4.1.9.Final]

    at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:296) ~[AbstractChannel.class:4.1.9.Final]

    at net.minecraft.network.NetworkManager$4.run(NetworkManager.java:245) [gw$4.class:?]

    at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [AbstractEventExecutor.class:4.1.9.Final]

    at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403) [SingleThreadEventExecutor.class:4.1.9.Final]

    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:442) [NioEventLoop.class:4.1.9.Final]

    at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [SingleThreadEventExecutor$5.class:4.1.9.Final]

    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51]

[20:30:44] [Server thread/INFO]: MrFrickleFace lost connection: Disconnected

[20:30:44] [Server thread/INFO]: MrFrickleFace left the game

 

 

The first line of the error messages reads

[20:30:44] [Netty Server IO #10/ERROR]: NetworkDispatcher exception io.netty.util.IllegalReferenceCountException: refCnt: 0

 

When a player is disconnected, on their side, they either get a simple "Disconnected" message, or a much more detailed error that reads "IOException: An existing connection was forcibly closed by the remote host."

 

I'm really desperate to find a fix for this problem, because I want to ensure that LANs work on my pack. That's a huge part of the multiplayer component to a pack, and I feel that there's not much point in developing it further if LAN worlds are broken. At the same time...I've dumped nearly 100 hours into building this thing! ?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • 정선카페 ◑BCGAME88·COMº 구의카페 대구카페 목동카페 남현카페 wrx95 김포카페 대구카페 진천카페 잠실카페 bgu38 동대문카페 신촌카페 대구카페 원지카페 urq97 신원카페 신당카페 공릉카페 거창카페 dmu05 삼성카페 도원카페 양주카페 이문카페 wds00 예장카페 명륜카페 낙원카페 남산카페 flw69 중계카페 대조카페 청파카페 대조카페 rit88 종로카페 신도림카페 주자카페 당산카페 gob32 내곡카페 예산카페 남영카페 광주카페 upe16 문배카페 누하카페 남학카페 예산카페 wdr15 내자카페 사간카페 구리카페 홍성카페 rrp92 증산카페 명동카페 원서카페 궁동카페 bgo00 만리카페 석관카페 장충카페 신촌카페 yxp92 하월곡카페 고창카페 당산카페 거제카페 xwf42 양산카페 남산카페 만리카페 군포카페 xqp42 과해카페 보광카페 돈의카페 온수카페 qgd50 광주카페 북아현카페 수서카페 천왕카페 cvs30 수원카페 정읍카페 봉천카페 아현카페 lkf77 마곡카페 학방카페 쌍림카페 성남카페 pho36 대현카페 본동카페 시흥카페 등촌카페 crh88 부산카페 성내카페 평창카페 천호카페 plb87 무안카페 연지카페 신도림카페 견지카페 xqm87 장안카페 도화카페 대치카페 영천카페 qsd80
    • 영덕수다 방 ▣BCGAME88·COM☆ 번동수다 방 북가좌수다 방 양화수다 방 하남수다 방 fhn23 양평수다 방 구의수다 방 광장수다 방 오쇠수다 방 hol29 거제수다 방 수표수다 방 관악수다 방 함안수다 방 aql24 개봉수다 방 배방수다 방 신정수다 방 교남수다 방 gdc50 안산수다 방 봉원수다 방 공주수다 방 금산수다 방 jna01 합동수다 방 서산수다 방 진주수다 방 사근수다 방 fgn38 광진수다 방 세종로수다 방 천연수다 방 목동수다 방 djs40 남양주수다 방 남대문수다 방 아산수다 방 응암수다 방 skt85 진관수다 방 누상수다 방 세곡수다 방 개포수다 방 uvc54 현석수다 방 수송수다 방 적선수다 방 의왕수다 방 twy50 양평수다 방 상계수다 방 선릉수다 방 중화수다 방 fim02 대구수다 방 갈현수다 방 필운수다 방 궁동수다 방 pkd68 대조수다 방 화성수다 방 연건수다 방 관훈수다 방 jst30 입정수다 방 세곡수다 방 가양수다 방 칠곡수다 방 iqb45 장사수다 방 강남수다 방 도원수다 방 이화수다 방 ctw88 동교수다 방 목포수다 방 옥인수다 방 북창수다 방 mus14 오류수다 방 성남수다 방 이천수다 방 장안수다 방 wdl93 수송수다 방 당인수다 방 답십리수다 방 거제수다 방 lpb96 역삼수다 방 의정부수다 방 금천수다 방 대흥수다 방 kny51 중림수다 방 오장수다 방 주자수다 방 미근수다 방 doo85 군포수다 방 주교수다 방 전주수다 방 문래수다 방 tig42 양화수다 방 수원수다 방 자곡수다 방 광희수다 방 bpb22 노고산수다 방 강동수다 방 여수수다 방 포천수다 방 van89
    • 장흥주점 @BCGAME88·COM▽ 서빙고주점 창성주점 연지주점 논산주점 ere99 진관주점 남양주주점 광명주점 삼성주점 edf08 홍제주점 토정주점 도원주점 군자주점 uuj45 중계주점 김해주점 인천주점 영천주점 ejs76 동선주점 망우주점 천왕주점 효제주점 omn98 안산주점 용답주점 본동주점 가락주점 mqr95 의주주점 남가좌주점 돈의주점 행촌주점 tln80 칠곡주점 공주주점 소격주점 명동주점 ooy60 무학주점 하왕십리주점 원효주점 서산주점 jpr83 길음주점 대흥주점 구기주점 진천주점 pvp42 후암주점 충주주점 시흥주점 연지주점 ohp83 수서주점 성남주점 초동주점 문배주점 mnv20 화성주점 혜화주점 당산주점 불광주점 yxk38 오곡주점 제기주점 오산주점 논현주점 skc99 논현주점 아산주점 하계주점 송현주점 fpp76 강동주점 노고산주점 남현주점 하계주점 gbw03 여주주점 당인주점 무악주점 서소문주점 ntl07 동교주점 풍납주점 무교주점 강서주점 rju17 동두천주점 광명주점 청담주점 익산주점 fiw87 대현주점 도봉주점 남가좌주점 고덕주점 utu61 사간주점 대흥주점 여주주점 인사주점 aaj52 효자주점 속초주점 교북주점 양천주점 wah27 내수주점 내수주점 경산주점 광명주점 wsb98
    • 영월사창가 ◑BCGAME88·COM↕ 구산사창가 노량진사창가 홍제사창가 사당사창가 ael67 창동사창가 북아현사창가 전농사창가 오류사창가 akf25 신월사창가 도곡사창가 고덕사창가 회현사창가 ujx84 충신사창가 중곡사창가 광주사창가 관철사창가 slo37 양주사창가 함안사창가 대전사창가 예관사창가 cgc65 봉익사창가 화방사창가 대구사창가 고창사창가 lvt22 봉천사창가 서빙고사창가 하남사창가 홍성사창가 ryn14 당진사창가 통인사창가 대신사창가 용두사창가 qxi99 봉천사창가 학방사창가 한남사창가 성산사창가 rcq32 흥인사창가 삼성사창가 중림사창가 노량진사창가 kgv53 답십리사창가 청담사창가 충주사창가 봉원사창가 ifx74 동교사창가 부산사창가 대치사창가 양평사창가 xsf64 안암사창가 효창사창가 제기사창가 주자사창가 dyi16 남대문사창가 고양사창가 이촌사창가 성수사창가 oes53 마장사창가 파주사창가 원서사창가 한강사창가 phm49 중곡사창가 사근사창가 과천사창가 수송사창가 der65 인현사창가 명륜사창가 냉천사창가 서소문사창가 cpy48 목동사창가 응암사창가 고흥사창가 진관사창가 mwl42 마천사창가 항동사창가 자양사창가 반포사창가 yry62 관수사창가 홍성사창가 오산사창가 군산사창가 sys89 장교사창가 창신사창가 포천사창가 창천사창가 nsw25 남영사창가 보령사창가 안성사창가 송월사창가 gau15 의정부사창가 도렴사창가 진주사창가 동선사창가 ecr41
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.