Networkdispatcher exception java io ioexception

Minecraft Forums

My mod works fine on singleplayer, but as soon as a try connecting to a server I get this:

[13:10:17] [Netty IO #2/ERROR] [FML]: NetworkDispatcher exception
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[?:1.7.0_79]
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) ~[?:1.7.0_79]
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[?:1.7.0_79]
at sun.nio.ch.IOUtil.read(IOUtil.java:192) ~[?:1.7.0_79]
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379) ~[?:1.7.0_79]
at io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:436) ~[UnpooledUnsafeDirectByteBuf.class:?]
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:870) ~[AbstractByteBuf.class:?]
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:208) ~[NioSocketChannel.class:?]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:87) [AbstractNioByteChannel$NioByteUnsafe.class:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:480) [NioEventLoop.class:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:447) [NioEventLoop.class:?]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:341) [NioEventLoop.class:?]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) [SingleThreadEventExecutor$2.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_79]

Does anyone know how to figure this out?

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

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

NetworkDispatcher exception disconnects all WAN players on server #913

NetworkDispatcher exception disconnects all WAN players on server #913

Comments

I’ve gotten the error «NetworkDispatcher Exception» 2 times in my ATM 3 server. When it happens, it disconnects everyone connected to the server over WAN and prints out red error text in the server console. I’m connected to the server over LAN and it doesn’t disconnect me. After around 15 seconds, everyone can connect to the server again.

Possible Solution

I’ve tried to read every thread I could found online, and some said to update Netty, but I don’t exactly know how or if that would change anything. I’ve also seen that people say its due to a packet that’s too big for Netty crashing it. I’ve also seen people saying it could be a corrupt world file, but my server works just fine after it comes back on to WAN people.

Читайте также:  Примеры абстрактных классов java

Steps to Reproduce

No concrete steps that I’ve found can reproduce this. My players don’t think they’re doing an action that would send a packet too big either.

Log

I tried to upload the logs to gist.github.com but every time I tried to publish it the page would time out. Pretty sure its because the log file is 85k lines long. Log files are attached above

Detailed Description

My Java version is 8 Update 221 (64 bit). Server computer is running Windows 10 Pro that is on the latest updates as of 8/20/19 10:24 PM EST. No antivirus running. 10G dedicated to server with the server using about 5G. Total RAM is 16GB. Only other programs running in the background are Teamspeak 3 server and Teamviewer. I’ve never had this problem in the past with a minecraft server. Router is an Asus RT-AC3200 with the latest firmware. My internet speed is 500mb down 250mb up, so that shouldn’t be the problem. After the first time it happened, I shut down the server, then restarted the computer the server was on. It happened again after that.

The text was updated successfully, but these errors were encountered:

Источник

Networkdispatcher exception java io ioexception

Ваш браузер устарел, и поэтому некоторые важные функции этого сайта могут не работать. Пожалуйста, обновитесь то более современного браузера. 🙁

Вылетает сборка при заходе на сервер

Gmihvolay

Gmihvolay

При попытке зайти на сервер у меня вылетает сборка, при этом друг(ХОСТ) остаётся на сервере без проблем. Помогите разобратся в чём проблема

 Time: 3/28/21 10:15 PM Description: Rendering Block Entity java.lang.IndexOutOfBoundsException at java.nio.Buffer.checkIndex(Unknown Source) at java.nio.DirectFloatBufferU.get(Unknown Source) at net.optifine.shaders.SVertexBuilder.calcNormal(SVertexBuilder.java:199) at net.optifine.shaders.SVertexBuilder.endAddVertexData(SVertexBuilder.java:188) at net.minecraft.client.renderer.BufferBuilder.func_178981_a(BufferBuilder.java:611) at cd4017be.rs_ctr.render.WireRenderer.drawLine(WireRenderer.java:55) at cd4017be.rs_ctr.port.WireBranch.render(WireBranch.java:92) at cd4017be.api.rs_ctr.interact.InteractiveDeviceRenderer.renderTileEntityFast(InteractiveDeviceRenderer.java:52) at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_192854_a(TileEntityRendererDispatcher.java:198) at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_180546_a(TileEntityRendererDispatcher.java:157) at net.minecraft.client.renderer.RenderGlobal.func_180446_a(RenderGlobal.java:1031) at net.minecraft.client.renderer.EntityRenderer.func_175068_a(EntityRenderer.java:1808) at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1621) at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1390) at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1119) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398) at net.minecraft.client.main.Main.main(SourceFile:123) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Client thread Stacktrace: at java.nio.Buffer.checkIndex(Unknown Source) at java.nio.DirectFloatBufferU.get(Unknown Source) at net.optifine.shaders.SVertexBuilder.calcNormal(SVertexBuilder.java:199) at net.optifine.shaders.SVertexBuilder.endAddVertexData(SVertexBuilder.java:188) at net.minecraft.client.renderer.BufferBuilder.func_178981_a(BufferBuilder.java:611) at cd4017be.rs_ctr.render.WireRenderer.drawLine(WireRenderer.java:55) at cd4017be.rs_ctr.port.WireBranch.render(WireBranch.java:92) at cd4017be.api.rs_ctr.interact.InteractiveDeviceRenderer.renderTileEntityFast(InteractiveDeviceRenderer.java:52) -- Block Entity Details -- Details: Name: rs_ctr:rs_port // cd4017be.rs_ctr.tileentity.RedstonePort Block type: ID #2436 (tile.rs_ctr.rs_port // cd4017be.rs_ctr.block.BlockRedstonePort // rs_ctr:rs_port) Block data value: 0 / 0x0 / 0b0000 Block location: World: (-42,17,167), Chunk: (at 6,1,7 in -3,10; contains blocks -48,0,160 to -33,255,175), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511) Actual block type: ID #2436 (tile.rs_ctr.rs_port // cd4017be.rs_ctr.block.BlockRedstonePort // rs_ctr:rs_port) Actual block data value: 0 / 0x0 / 0b0000 Stacktrace: at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_192854_a(TileEntityRendererDispatcher.java:198) at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_180546_a(TileEntityRendererDispatcher.java:157) at net.minecraft.client.renderer.RenderGlobal.func_180446_a(RenderGlobal.java:1031) at net.minecraft.client.renderer.EntityRenderer.func_175068_a(EntityRenderer.java:1808) at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1621) -- Affected level -- Details: Level name: MpServer All players: 2 total; [EntityPlayerSP['Hanataro'/178475, l='MpServer', x=-45.29, y=18.00, z=177.04], EntityOtherPlayerMP['GvozdiPlay'/7047, l='MpServer', x=-50.41, y=50.67, z=169.48]] Chunk stats: MultiplayerChunkCache: 289, 289 Level seed: 0 Level generator: ID 06 - BIOMESOP, ver 0. Features enabled: false Level generator options: Level spawn location: World: (-20,64,346), Chunk: (at 12,4,10 in -2,21; contains blocks -32,0,336 to -17,255,351), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511) Level time: 335252 game time, 335252 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false Forced entities: 10 total; [EntityOtherPlayerMP['GvozdiPlay'/7047, l='MpServer', x=-50.41, y=50.67, z=169.48], EntityCreeper['Крипер'/178515, l='MpServer', x=-27.50, y=24.00, z=244.50], EntityItem['item.tile.mushroom'/178310, l='MpServer', x=-61.25, y=63.00, z=176.40], EntityDepthsGhoul['Глубинный гуль'/176439, l='MpServer', x=-52.08, y=44.00, z=178.04], EntityCreeper['Крипер'/178516, l='MpServer', x=-28.50, y=24.00, z=245.50], EntityPlayerSP['Hanataro'/178475, l='MpServer', x=-45.29, y=18.00, z=177.04], EntityOtherPlayerMP['GvozdiPlay'/7047, l='MpServer', x=-50.41, y=50.67, z=169.48], EntityBat['Летучая мышь'/142031, l='MpServer', x=-33.62, y=27.10, z=187.03], EntityZombie['Зомби'/178524, l='MpServer', x=-67.80, y=35.00, z=196.51], EntityCreeper['Крипер'/178525, l='MpServer', x=-74.53, y=34.00, z=196.78]] Retry entities: 0 total; [] Server brand: fml,forge Server type: Non-integrated multiplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:532) at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2741) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:419) at net.minecraft.client.main.Main.main(SourceFile:123) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) 

Источник

Оцените статью