Getting Unexpected / Malformed input from Linux clients.
Posted: 27 Oct 2009, 23:01
Hi,
I have a small SFS based game running online right now, and it's working great with Mac/Windows machines, but when someone using linux with firefox (specifically Ubuntu, but it may well be wider) tries to connect, we get this:
[ WARNING ] [id: 11] (SmartFoxServer.readIncomingMessages): Unexpected / Malformed input: java.nio.charset.MalformedInputException: Input length = 1
The user manages to connect, but then the messages from the client are crap, and we get no further. We're wondering if this might be some sort of UTF8/encoding/protocol issue, but we're just guessing and don't really know what to do, hence this plea for some help. Anyone have any ideas/solutions?
cheers,
Mike
I have a small SFS based game running online right now, and it's working great with Mac/Windows machines, but when someone using linux with firefox (specifically Ubuntu, but it may well be wider) tries to connect, we get this:
[ WARNING ] [id: 11] (SmartFoxServer.readIncomingMessages): Unexpected / Malformed input: java.nio.charset.MalformedInputException: Input length = 1
The user manages to connect, but then the messages from the client are crap, and we get no further. We're wondering if this might be some sort of UTF8/encoding/protocol issue, but we're just guessing and don't really know what to do, hence this plea for some help. Anyone have any ideas/solutions?
cheers,
Mike