Jump to content

Minecraft 1.7.10 cannot connect to the server


chunkkit

Recommended Posts

Hello, I have been trying to start a the forge minecraft server for a while and have been troubled connecting to my own server. Here is the Log Chat of the server

"

[01:22:49] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker

[01:22:49] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker

[01:22:49] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker

[01:22:49] [main/INFO] [FML]: Forge Mod Loader version 7.10.1.1162 for Minecraft 1.7.10 loading

[01:22:49] [main/INFO] [FML]: Java is Java HotSpot Client VM, version 1.7.0_60, running on Windows 8:x86:6.2, installed at C:\Program Files (x86)\Java\jre7

[01:22:49] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[01:22:49] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker

[01:22:49] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[01:22:49] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[01:22:49] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[01:22:51] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557

[01:22:51] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[01:22:51] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker

[01:22:51] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}

[01:22:54] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Starting minecraft server version 1.7.10

[01:22:54] [server thread/WARN] [net.minecraft.server.dedicated.DedicatedServer]: To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"

[01:22:54] [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_60]

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

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

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

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

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

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

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

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

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

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

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

[01:22:54] [server thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization

[01:22:55] [server thread/INFO] [FML]: MinecraftForge v10.13.0.1162 Initialized

[01:22:55] [server thread/INFO] [FML]: Replaced 182 ore recipies

[01:22:55] [server thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization

[01:22:55] [server thread/INFO] [FML]: Searching C:\Users\kevin\Desktop\Minecraft\mods for mods

[01:22:55] [server thread/INFO] [FML]: Forge Mod Loader has identified 3 mods to load

[01:22:55] [server thread/INFO] [FML]: Processing ObjectHolder annotations

[01:22:55] [server thread/INFO] [FML]: Found 341 ObjectHolder annotations

[01:22:55] [server thread/INFO] [FML]: Configured a dormant chunk cache size of 0

[01:22:55] [server thread/INFO] [FML]: Applying holder lookups

[01:22:55] [server thread/INFO] [FML]: Holder lookups applied

[01:22:55] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Loading properties

[01:22:55] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Default game type: SURVIVAL

[01:22:55] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Generating keypair

[01:22:56] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Starting Minecraft server on 192.168.0.108:25565

[01:22:56] [server thread/WARN] [net.minecraft.server.dedicated.DedicatedServer]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!

[01:22:56] [server thread/WARN] [net.minecraft.server.dedicated.DedicatedServer]: The server will make no attempt to authenticate usernames. Beware.

[01:22:56] [server thread/WARN] [net.minecraft.server.dedicated.DedicatedServer]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.

[01:22:56] [server thread/WARN] [net.minecraft.server.dedicated.DedicatedServer]: To change this, set "online-mode" to "true" in the server.properties file.

[01:22:56] [server thread/INFO] [FML]: Forge Mod Loader has successfully loaded 3 mods

[01:22:56] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Preparing level "world"

[01:22:56] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance

[01:22:56] [server thread/INFO] [FML]: Applying holder lookups

[01:22:56] [server thread/INFO] [FML]: Holder lookups applied

[01:22:57] [server thread/INFO] [FML]: Loading dimension 0 (world) (net.minecraft.server.dedicated.DedicatedServer@2bb4a9)

[01:22:57] [server thread/INFO] [FML]: Loading dimension 1 (world) (net.minecraft.server.dedicated.DedicatedServer@2bb4a9)

[01:22:57] [server thread/INFO] [FML]: Loading dimension -1 (world) (net.minecraft.server.dedicated.DedicatedServer@2bb4a9)

[01:22:57] [server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing start region for level 0

[01:22:58] [server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing spawn area: 50%

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

[glow=red,2,300][01:23:14] [Netty IO #2/INFO] [FML]: Unexpected packet during modded negotiation - assuming vanilla or keepalives : net.minecraft.network.play.client.C00PacketKeepAlive

[01:23:16] [Netty IO #2/INFO] [FML]: Unexpected packet during modded negotiation - assuming vanilla or keepalives : net.minecraft.network.play.client.C00PacketKeepAlive[/glow]

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

[01:23:16] [server thread/INFO] [net.minecraft.server.MinecraftServer]: RiceExploder left the game

"

 

The part that was a Bug was the part that I highlight. If anyone could help me, I would appreciate it.

Link to comment
Share on other sites

I am seeing the same error.  I am new to minecraft forge - I keep a Minecraft Server running for my son and his friends - they asked me to figure out if I could add mods to the server, so I started fiddling with it.  Managed to get forge 1.7.10 installer and get it working, sort of, with my 1.7.10 server.  When I run forge, it opens the MCServer jar file ok, and all looks fine till someone tries to login to my server.  Below is the Log/chat text -- with some repetitive lines removed. 

 

[20:34:52] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker

[20:34:52] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker

[20:34:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker

[20:34:52] [main/INFO] [FML]: Forge Mod Loader version 7.10.18.1180 for Minecraft 1.7.10 loading

[20:34:52] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.7.0_60, running on Windows 7:amd64:6.1, installed at C:\myd\1_7_10_MMSMOD\JDK64_7_60\jre

[20:34:52] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[20:34:52] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker

[20:34:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[20:34:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[20:34:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[20:34:54] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557

[20:34:54] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[20:34:54] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker

[20:34:55] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}

[20:34:59] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Starting minecraft server version 1.7.10

[20:34:59] [server thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization

[20:34:59] [server thread/INFO] [FML]: MinecraftForge v10.13.0.1180 Initialized

[20:34:59] [server thread/INFO] [FML]: Replaced 182 ore recipies

[20:34:59] [server thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization

[20:35:00] [server thread/INFO] [FML]: Searching C:\myd\1.7.10 MMSJar\mods for mods

[20:35:00] [server thread/INFO] [FML]: Forge Mod Loader has identified 3 mods to load

[20:35:02] [server thread/INFO] [FML]: Processing ObjectHolder annotations

[20:35:02] [server thread/INFO] [FML]: Found 341 ObjectHolder annotations

[20:35:02] [server thread/INFO] [FML]: Configured a dormant chunk cache size of 0

[20:35:02] [server thread/INFO] [FML]: Applying holder lookups

[20:35:02] [server thread/INFO] [FML]: Holder lookups applied

[20:35:02] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Loading properties

[20:35:02] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Default game type: CREATIVE

[20:35:02] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Generating keypair

[20:35:02] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Starting Minecraft server on *:25564

[20:35:04] [server thread/INFO] [FML]: Forge Mod Loader has successfully loaded 3 mods

[20:35:04] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Preparing level "world"

[20:35:04] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance

[20:35:04] [server thread/INFO] [FML]: Applying holder lookups

[20:35:04] [server thread/INFO] [FML]: Holder lookups applied

[20:35:04] [server thread/INFO] [FML]: Loading dimension 0 (world) (net.minecraft.server.dedicated.DedicatedServer@6016abf5)

[20:35:04] [server thread/INFO] [FML]: Loading dimension 1 (world) (net.minecraft.server.dedicated.DedicatedServer@6016abf5)

[20:35:05] [server thread/INFO] [FML]: Loading dimension -1 (world) (net.minecraft.server.dedicated.DedicatedServer@6016abf5)

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

[20:35:06] [server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing spawn area: 2%

[20:35:07] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Done (3.456s)! For help, type "help" or "?"

[20:37:06] [user Authenticator #1/INFO] [net.minecraft.server.network.NetHandlerLoginServer]: UUID of player arch55 is 241e7b3e-5098-41fb-8005-9ac828971d0d

 

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

.

.

.

.

.

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

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

 

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

[20:37:54] [server thread/INFO] [net.minecraft.server.MinecraftServer]: arch55 left the game

 

 

So, I'm not sure what to try.  I see several other folks have experienced the same error message -- it only stops repeating when the user attempting to login gives up. 

 

Here is the string I'm using to start up the server, perhaps I've accidentally done something wrong here?

 

C:\myd\1_7_10_MMSMOD\JDK64_7_60\bin\java.exe -Xmx1024M -Xms1024M -jar forge-1.7.10-10.13.0.1180-universal.jar

 

Thanks!

Link to comment
Share on other sites

OK.  It is working now.  My son was able to login to my minecraft server+forge.  What we tried was having my son install forge on his computer as well.  When he ran minecraft, he used his forge profile. 

 

No more Netty errors.

 

Is it safe to assume that there is something subtly different about the Netty protocol used by Minecraft Client vs Forge Client? 

 

Or has it always been a requirement that clients wishing to login to a server running forge, should be running forge themselves?

 

Thank you!

Link to comment
Share on other sites

Yes, it is necessary to have Forge installed on your client when connecting to a Forge-modded server (preferably the same version as the server).

On the other hand, you can connect to a vanilla server with a Forge-modded client.

The same goes for mods. You need the mods the server has on your client, but you can have more mods on your client than the server has (they simply aren't working in Multiplayer).

 

Why? The Server does all the work. If the client does not know exactly what the server does / can do, then there will simply be discrepancies (for example the server includes a new hostile entity, client doesn't know because the mod isn't installed, Player gets killed by it and doesn't know why, because he couldn't see it).

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Link to comment
Share on other sites

Yes, having Forge on the client is required to connect to a Forge server.

It's something we are working on. But for the most part as mods add new content this will be a requirement.

 

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

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.

Announcements



×
×
  • Create New...

Important Information

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