Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-2555

Cannot Connect To Own Server While Not Online (LAN) / Playername being E-Mail address when offline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.4.2, Minecraft 1.4.4, Minecraft 1.4.5, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w02b, Snapshot 13w05b, Snapshot 13w06a, Snapshot 13w07a, Snapshot 13w09a, Snapshot 13w09b, Snapshot 13w09c, Snapshot 13w10a, Snapshot 13w10b, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.5.1
    • None
    • Confirmed

      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)

            dinnerbone [Mojang] Nathan Adams
            hibyguy Liam Newell
            Votes:
            15 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: