[MC-5526] Java Socket Error in Offline Mode Created: 29/Dec/12  Updated: 10/Feb/13  Resolved: 29/Dec/12

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.6
Fix Version/s: None

Type: Bug
Reporter: Michael Bielski Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Environment:

Client: w7pro, 8g ram, current Java.
Server: Linux, 2.5g ram, current Java.


Issue Links:
Duplicate
duplicates MC-2555 Cannot Connect To Own Server While No... Resolved
Confirmation Status: Unconfirmed
Game Mode: Survival

 Description   

When minecraft.net is not available for login validation and Play Offline is chosen, connecting to a multiplayer server that is also set to offline mode yields:
Connection Lost
Internal Exception: java.net.SocketException: Connection Reset

The message in the server log is:
java.io.IOException: Received string length longer than maximum allowed (25 > 16)
at ef.a(SourceFile:235)
at cy.a(SourceFile:30)
at ef.a(SourceFile:192)
at cg.i(SourceFile:249)
at cg.c(SourceFile:15)
at ch.run(SourceFile:93)
(date:time) [INFO] /(player ip) lost connection



 Comments   
Comment by Michael Bielski [ 29/Dec/12 ]

Thanks Tails, didn't find that one when I was searching.

Comment by Tails [ 29/Dec/12 ]

Duplicate of MC-2555.

Generated at Sun Jan 12 12:08:11 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.