Jump to content

Unexpected Packet During Modded Negotiation. FIXED!


AzulasNorpheia

Recommended Posts

FIX!!! MAKE SURE that when you start MC through the launcher that you select the Forge version instead of the vanilla version! FIX!!!

 

I have been running a completely vanilla server from my machine for some time now and I decided that I wanted to mod the server using Forge so I figured I would start easy with Not Enough Items.

 

I used the Forge 1.7.10-10.13.2.1230 installer to install the server version and client version on the same PC.

 

I then created the mods and coremods folders I needed and placed the respective files into the respective folders, but I keep getting an error that states...

 

"[13:57:56] [Netty IO #2/INFO] [FML]: Unexpected packet during modded negotiation

- assuming vanilla or keepalives : net.minecraft.network.play.client.C00PacketK

eepAlive"

 

If anyone has any ideas I would very much appreciate them.

 

Until then I am going to try uninstalling both mod files from server and client and see if I can atleast get them to communicate without the mods present.

 

EDIT: Tried pulling out the NEI files and still had no success connecting to the server which leads me to believe it has something to do with Forge, and not the mod.

 

EDIT2: Also thought it might be an issue with using the same IP and port from my vanilla server so I went in and created a new server handle under "Add Server" and it still is giving the same error.

Link to comment
Share on other sites

Server Log "Latest":

 

 

[14:12:13] [server thread/INFO]: Starting minecraft server version 1.7.10

[14:12:14] [server thread/INFO]: Loading properties

[14:12:14] [server thread/INFO]: Default game type: SURVIVAL

[14:12:14] [server thread/INFO]: Generating keypair

[14:12:14] [server thread/INFO]: Starting Minecraft server on *:25565

[14:12:14] [server thread/INFO]: Preparing level "Modcraft"

[14:12:15] [server thread/INFO]: Preparing start region for level 0

[14:12:16] [server thread/INFO]: Preparing spawn area: 89%

[14:12:16] [server thread/INFO]: Done (1.532s)! For help, type "help" or "?"

[14:12:22] [user Authenticator #1/INFO]: UUID of player PirateKing777 is 860738ac-4961-462c-bb84-c958d43c8268

[14:12:27] [server thread/INFO]: PirateKing777 lost connection: TextComponent{text='Disconnected', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}}

[14:12:27] [server thread/INFO]: PirateKing777 left the game

[14:15:04] [user Authenticator #2/INFO]: UUID of player PirateKing777 is 860738ac-4961-462c-bb84-c958d43c8268

[14:15:09] [server thread/INFO]: PirateKing777 lost connection: TextComponent{text='Disconnected', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}}

[14:15:09] [server thread/INFO]: PirateKing777 left the game

[14:32:21] [server thread/INFO]: Stopping the server

[14:32:21] [server thread/INFO]: Stopping server

[14:32:21] [server thread/INFO]: Saving players

[14:32:21] [server thread/INFO]: Saving worlds

[14:32:21] [server thread/INFO]: Saving chunks for level 'Modcraft'/Overworld

[14:32:21] [server thread/INFO]: Saving chunks for level 'Modcraft'/Nether

[14:32:21] [server thread/INFO]: Saving chunks for level 'Modcraft'/The End

 

 

 

Client Log "Latest"

 

 

[13:57:39] [main/INFO]: Setting user: PirateKing777

[13:57:39] [main/INFO]: (Session ID is token:e6f676cafa61482cba51a9bd501f68ad:860738ac4961462cbb84c958d43c8268)

[13:57:40] [Client thread/INFO]: LWJGL Version: 2.9.1

[13:57:41] [Client thread/INFO]: Reloading ResourceManager: Default

[13:57:42] [sound Library Loader/INFO]: Sound engine started

[13:57:42] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas

[13:57:42] [Client thread/INFO]: Created: 256x256 textures/items-atlas

[13:57:48] [Client thread/INFO]: Connecting to 192.168.0.3, 25565

[14:11:52] [Client thread/INFO]: Connecting to 192.168.0.3, 25565

[14:11:53] [server Connector #2/ERROR]: Couldn't connect to server

java.net.ConnectException: Connection refused: no further information: /192.168.0.3:25565

at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[?:1.7.0_65]

at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source) ~[?:1.7.0_65]

at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:191) ~[netty-all-4.0.10.Final.jar:?]

at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:228) ~[netty-all-4.0.10.Final.jar:?]

at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:497) ~[netty-all-4.0.10.Final.jar:?]

at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:447) ~[netty-all-4.0.10.Final.jar:?]

at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:341) ~[netty-all-4.0.10.Final.jar:?]

at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) ~[netty-all-4.0.10.Final.jar:?]

at java.lang.Thread.run(Unknown Source) ~[?:1.7.0_65]

[14:12:21] [Client thread/INFO]: Connecting to 192.168.0.3, 25565

[14:15:04] [Client thread/INFO]: Connecting to 192.168.0.3, 25565

[14:32:16] [Client thread/INFO]: Stopping!

 

 

 

EDIT:

 

Server Startup Log from UI

 

 

[14:37:10] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker

[14:37:10] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker

[14:37:10] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker

[14:37:10] [main/INFO] [FML]: Forge Mod Loader version 7.10.85.1230 for Minecraft 1.7.10 loading

[14:37:10] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.7.0_65, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre7

[14:37:10] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[14:37:10] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker

[14:37:10] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[14:37:10] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[14:37:10] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[14:37:12] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557

[14:37:12] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[14:37:12] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker

[14:37:13] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker

[14:37:13] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker

[14:37:14] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}

[14:37:17] [main/WARN] [FML]: =============================================================

[14:37:17] [main/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML!

[14:37:17] [main/WARN] [FML]: Offendor: net/minecraft/server/gui/MinecraftServerGui$1.windowClosing(Ljava/awt/event/WindowEvent;)V

[14:37:17] [main/WARN] [FML]: Use FMLCommonHandler.exitJava instead

[14:37:17] [main/WARN] [FML]: =============================================================

[14:37:17] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Starting minecraft server version 1.7.10

[14:37:17] [server console handler/ERROR] [net.minecraft.server.dedicated.DedicatedServer]: Exception handling console input

java.io.IOException: The handle is invalid

at java.io.FileInputStream.readBytes(Native Method) ~[?:1.7.0_65]

at java.io.FileInputStream.read(Unknown Source) ~[?:1.7.0_65]

at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.7.0_65]

at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.7.0_65]

at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.7.0_65]

at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.7.0_65]

at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.7.0_65]

at java.io.InputStreamReader.read(Unknown Source) ~[?:1.7.0_65]

at java.io.BufferedReader.fill(Unknown Source) ~[?:1.7.0_65]

at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.7.0_65]

at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.7.0_65]

at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:97) [lv.class:?]

[14:37:17] [server thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization

[14:37:17] [server thread/INFO] [FML]: MinecraftForge v10.13.2.1230 Initialized

[14:37:17] [server thread/INFO] [FML]: Replaced 182 ore recipies

[14:37:17] [server thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization

[14:37:18] [server thread/INFO] [FML]: Searching C:\Users\jen\Desktop\Minecraft Servers\Forge Extract\mods for mods

[14:37:18] [server thread/INFO] [FML]: Forge Mod Loader has identified 3 mods to load

[14:37:18] [server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge] at CLIENT

[14:37:18] [server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge] at SERVER

[14:37:19] [server thread/INFO] [FML]: Processing ObjectHolder annotations

[14:37:19] [server thread/INFO] [FML]: Found 341 ObjectHolder annotations

[14:37:19] [server thread/INFO] [FML]: Configured a dormant chunk cache size of 0

[14:37:19] [server thread/INFO] [FML]: Applying holder lookups

[14:37:19] [server thread/INFO] [FML]: Holder lookups applied

[14:37:19] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Loading properties

[14:37:19] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Default game type: SURVIVAL

[14:37:19] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Generating keypair

[14:37:19] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Starting Minecraft server on *:25565

[14:37:19] [server thread/INFO] [FML]: Forge Mod Loader has successfully loaded 3 mods

[14:37:19] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Preparing level "Modcraft"

[14:37:19] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance

[14:37:20] [server thread/INFO] [FML]: Applying holder lookups

[14:37:20] [server thread/INFO] [FML]: Holder lookups applied

[14:37:20] [server thread/INFO] [FML]: Loading dimension 0 (Modcraft) (net.minecraft.server.dedicated.DedicatedServer@53501237)

[14:37:20] [server thread/INFO] [FML]: Loading dimension 1 (Modcraft) (net.minecraft.server.dedicated.DedicatedServer@53501237)

[14:37:20] [server thread/INFO] [FML]: Loading dimension -1 (Modcraft) (net.minecraft.server.dedicated.DedicatedServer@53501237)

[14:37:20] [server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing start region for level 0

[14:37:21] [server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing spawn area: 11%

[14:37:22] [server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing spawn area: 69%

[14:37:22] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Done (2.994s)! For help, type "help" or "?"

[14:37:45] [user Authenticator #1/INFO] [net.minecraft.server.network.NetHandlerLoginServer]: UUID of player PirateKing777 is 860738ac-4961-462c-bb84-c958d43c8268

[14:37:47] [Netty IO #2/INFO] [FML]: Unexpected packet during modded negotiation - assuming vanilla or keepalives : net.minecraft.network.play.client.C00PacketKeepAlive

[14:37:49] [Netty IO #2/INFO] [FML]: Unexpected packet during modded negotiation - assuming vanilla or keepalives : net.minecraft.network.play.client.C00PacketKeepAlive

[14:37:51] [Netty IO #2/INFO] [FML]: Unexpected packet during modded negotiation - assuming vanilla or keepalives : net.minecraft.network.play.client.C00PacketKeepAlive

[14:37:53] [Netty IO #2/INFO] [FML]: Unexpected packet during modded negotiation - assuming vanilla or keepalives : net.minecraft.network.play.client.C00PacketKeepAlive

[14:37:55] [Netty IO #2/INFO] [FML]: Unexpected packet during modded negotiation - assuming vanilla or keepalives : net.minecraft.network.play.client.C00PacketKeepAlive

[14:37:56] [server thread/INFO] [net.minecraft.network.NetHandlerPlayServer]: PirateKing777 lost connection: TextComponent{text='Disconnected', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}}

[14:37:56] [server thread/INFO] [net.minecraft.server.MinecraftServer]: PirateKing777 left the game

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Please share a link to your crash report on https://paste.ee, as explained in the FAQ. Dumping it directly into the thread often triggers the anti-spam and makes it hard to read due to word wrapping
    • Hi all, I'm running a 1.20.1 Minecraft Forge server with a hosting website and something seems to have gone wrong. It started as an occasional crash that has now become extremely frequent and I don't know what exactly is causing it. I already tried disabling watchdog but the server crashes anyway. Oddly it only occasionally generates a crash report after a crash occurs. Based on viewing the server console's research usage it seems that the CPU spikes astronomically high (100% usage), especially when chunks are being loaded or when a new person joins the server. I downloaded Spark to create a profile (https://spark.lucko.me/bBlWe7ou29) but I lack experience with this mod and don't understand what I'm looking at/how this should help me diagnose the issue. I am using a lot of mods so I'm guessing there is some sort of issue there or a corrupted chunk (although MCRF found no chunk errors). We actually don't experience any lag until the crash occurs, so it's some sort of sudden spike in resource usage. Based on the crash report I've already tried removing Canary and Modernfix but there was no change. Thanks for any help you can provide. Specs:  4 cores x 4200MHz AMD Ryzen 9 5950X 4GB RAM Crash report:  
    • will test that once i get home, thanks
    • I am getting this exception (I am new and just trying to create an item) Caused by: java.io.FileNotFoundException: abrasmagics:models/item/ingot_test.json at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:69) ~[SimpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadModel(ModelBakery.java:334) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.access$1400(ModelLoader.java:115) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:861) ~[ModelLoader$VanillaLoader.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:157) ~[ModelLoaderRegistry.class:?]   However the directory is set up correctly and the file does exist   idk how to upload images so here is a treeview of the directories:   src ├───main │ ├───java │ │ └───net │ │ └───abrasmods │ │ └───abrasmagics │ │ ├───init │ │ ├───items │ │ └───utils │ │ ├───handlers │ │ ├───misc │ │ └───proxy │ └───resources │ └───assets │ └───abrasmagics │ ├───models │ │ ├───block │ │ └───item │ └───textures └───test ├───java └───resources   the file ingot_test.json is under models/item. The directory seems fine and the file does exist so anyone plz help.   i am using intellij and is coding for 1.12.2
  • Topics

×
×
  • Create New...

Important Information

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