I can't connect to my own server while in offline mode while not connected to internet
it doesn't work for 1.4.2 & 1.4.4 error below
DON'T BOTHER ASKING IF I WAS ON VANILLA because i was and am on vanilla
Error:
FOR 1.4.2
C:\Users\Liam\Desktop\New folder>java -Xmx2048M -Xms2048M -jar minecraft_server.
jar nogui.
208 recipes
27 achievements
2012-11-08 17:23:57 [INFO] Starting minecraft server version 1.4.2
2012-11-08 17:23:57 [INFO] Loading properties
2012-11-08 17:23:57 [INFO] Default game type: SURVIVAL
2012-11-08 17:23:57 [INFO] Generating keypair
2012-11-08 17:23:58 [INFO] Starting Minecraft server on *:25565
2012-11-08 17:23:58 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
2012-11-08 17:23:58 [WARNING] The server will make no attempt to authenticate us
ernames. Beware.
2012-11-08 17:23:58 [WARNING] While this makes the game possible to play without
internet access, it also opens up the ability for hackers to connect with any u
sername they choose.
2012-11-08 17:23:58 [WARNING] To change this, set "online-mode" to "true" in the
server.properties file.
2012-11-08 17:23:58 [INFO] Preparing level "world"
2012-11-08 17:23:58 [INFO] Preparing start region for level 0
2012-11-08 17:23:59 [INFO] Preparing spawn area: 37%
2012-11-08 17:24:00 [INFO] Done (2.094s)! For help, type "help" or "?"
java.io.IOException: Received string length longer than maximum allowed (23 > 16
)
at dx.a(SourceFile:231)
at cq.a(SourceFile:30)
at dx.a(SourceFile:188)
at bx.i(SourceFile:248)
at bx.c(SourceFile:23)
at by.run(SourceFile:101)
2012-11-08 17:24:13 [INFO] /127.0.0.1:50235 lost connection
For 1.4.4
C:\Users\Liam\Desktop\New folder\New folder>java -Xmx2048M -Xms2048M -jar minecr
aft_server.jar nogui.
208 recipes
27 achievements
2012-11-08 22:58:59 [INFO] Starting minecraft server version 1.4.4
2012-11-08 22:58:59 [INFO] Loading properties
2012-11-08 22:58:59 [INFO] Default game type: SURVIVAL
2012-11-08 22:58:59 [INFO] Generating keypair
2012-11-08 22:59:00 [INFO] Starting Minecraft server on *:25565
2012-11-08 22:59:00 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
2012-11-08 22:59:00 [WARNING] The server will make no attempt to authenticate us
ernames. Beware.
2012-11-08 22:59:00 [WARNING] While this makes the game possible to play without
internet access, it also opens up the ability for hackers to connect with any u
sername they choose.
2012-11-08 22:59:00 [WARNING] To change this, set "online-mode" to "true" in the
server.properties file.
2012-11-08 22:59:00 [INFO] Preparing level "world"
2012-11-08 22:59:00 [INFO] Preparing start region for level 0
2012-11-08 22:59:01 [INFO] Preparing spawn area: 26%
2012-11-08 22:59:02 [INFO] Preparing spawn area: 53%
2012-11-08 22:59:04 [INFO] Preparing spawn area: 87%
2012-11-08 22:59:04 [INFO] Done (4.136s)! For help, type "help" or "?"
2012-11-08 23:01:23 [INFO] Unknown command. Try /help for a list of commands.
2012-11-08 23:01:23 [INFO] Unknown command. Try /help for a list of commands.
java.io.IOException: Received string length longer than maximum allowed (23 > 16
)
at eg.a(SourceFile:236)
at cz.a(SourceFile:30)
at eg.a(SourceFile:193)
at cg.i(SourceFile:249)
at cg.c(SourceFile:15)
at ch.run(SourceFile:93)
2012-11-08 23:01:44 [INFO] /127.0.0.1:54126 lost connection
stop
2012-11-08 23:02:12 [INFO] Stopping the server
2012-11-08 23:02:12 [INFO] Stopping server
java.net.SocketException: socket closed
at java.net.DualStackPlainSocketImpl.accept0(Native Method)
at java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source)
at java.net.AbstractPlainSocketImpl.accept(Unknown Source)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at hu.run(SourceFile:66)
2012-11-08 23:02:12 [INFO] Saving players
Closing listening thread
2012-11-08 23:02:12 [INFO] Saving worlds
2012-11-08 23:02:12 [INFO] Saving chunks for level 'world'/Overworld
2012-11-08 23:02:13 [INFO] Saving chunks for level 'world'/Nether
2012-11-08 23:02:13 [INFO] Saving chunks for level 'world'/The End
2012-11-08 23:02:13 [INFO] Stopping server
C:\Users\Liam\Desktop\New folder\New folder>pause
Press any key to continue . . .
Error For 1.4.5 According To Andrew Shulman
java.io.IOException: Received string length longer than maximum allowed (24 > 16)
at net.minecraft.server.Packet.a(SourceFile:236)
at net.minecraft.server.Packet2Handshake.a(SourceFile:30)
at net.minecraft.server.Packet.a(SourceFile:193)
at net.minecraft.server.NetworkManager.i(SourceFile:249)
at net.minecraft.server.NetworkManager.c(SourceFile:15)
at net.minecraft.server.NetworkReaderThread.run(SourceFile:93)
Linked issues
is duplicated by 13
relates to 2
Attachments
Comments 32
you can also try, though I don't believe there will be a difference, using 'localhost' instead of the ip address you specified.
127.0.0.1 Comes before localhost. either way this bug is really annoying because i cant play on lan through my computer because of this
Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
This is still valid in the 1.4.5 release. However, the exception I recieved is:
java.io.IOException: Received string length longer than maximum allowed (24 > 16)
at net.minecraft.server.Packet.a(SourceFile:236)
at net.minecraft.server.Packet2Handshake.a(SourceFile:30)
at net.minecraft.server.Packet.a(SourceFile:193)
at net.minecraft.server.NetworkManager.i(SourceFile:249)
at net.minecraft.server.NetworkManager.c(SourceFile:15)
at net.minecraft.server.NetworkReaderThread.run(SourceFile:93)
EDIT: Just realized I posted the de-obfuscated stack trace. Either way, the error is the same. I can additionally post the obfuscated one, if desired.
EDIT2: More information is always better! Here's the obfuscated stack trace.
java.io.IOException: Received string length longer than maximum allowed (24 > 16)
at eg.a(SourceFile:236)
at cz.a(SourceFile:30)
at eg.a(SourceFile:193)
at cg.i(SourceFile:249)
at cg.c(SourceFile:15)
at ch.run(SourceFile:93)
I get this on my localhost server but same error.
ALSO: None of the numbers match the email AND i logged on properly.
@Dinnerbone is this your fancy new auth system broken?
(1.5.2 server)
Is this still a concern in the current Minecraft version 1.6.4 / Launcher version 1.2.5 ? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
This IS still an issue. i was kicked off my own server after placing a command block and ever since i can't get on. PLEASE help me
@aidan, your issue is probably a different problem. I suggest you visit the Mojang Support Center for help about it.
Try updating to client / server 1.4.4 (pre)