Skip to content

Client disconnects when password contains extended ASCII #132

@txtsd

Description

@txtsd

With a password that contains extended ASCII (eg: »ø¦ÿÜ¿öÏàäÿí£Ê·Ìõ¾µ), I'm able to login to the website just fine.

I'm also able to retrieve my list of characters in the client fine.

Although, after selecting a character, the client disconnects and goes back to the login screen.

This is what the log shows:

ERROR - 2022-01-27 22:41:39,152 - [LWJGL Application]: Book ID: 417 not found. File goodregent.book.xml is missing in the resources.
WARN  - 2022-01-27 22:42:05,510 - [LWJGL Application]: Changing the locale will not effect ALL loaded resource bundles. TextRenderer should work now tho :)
WARN  - 2022-01-27 22:42:09,660 - [pool-7-thread-1]: Disconnect received: Connection was stopped by the server.
Reason: The password is wrong.
ERROR - 2022-01-27 22:42:09,681 - [Illarion input thread]: The connection to the server is not working anymore.
java.io.IOException: Connection reset by peer
	at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
	at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
	at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
	at sun.nio.ch.IOUtil.read(IOUtil.java:192)
	at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
	at illarion.client.net.Receiver.receiveData(Receiver.java:424)
	at illarion.client.net.Receiver.run(Receiver.java:274)
WARN  - 2022-01-27 22:42:09,700 - [Illarion input thread]: Disconnect received: A technical problem in Receiver thread has occurred. Check logfiles for details.
ERROR - 2022-01-27 22:42:09,767 - [pool-6-thread-1]: Connection failure: Broken pipe

I was able to get ingame after changing my password to one that doesn't have extended ASCII in it.

In this age of password managers, it's very important to be able to handle any kind of password.

(I'm not sure if the problem is in the client or the server, so feel free to move the issue to the server repo if the issue stems from there.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions