Skip to content

Any login attempt after the first with the same credentials fails with error #628

Closed

Description

@mfranca0009

Operating system

Windows

Bug description

When logging into the server for the first time, it will function appropriately. After attempting to re-login again using the same credentials after quitting the game, it will give you a generic disconnect error stating: "Disconnected from the server. (You have been disconnected from the server. Please verify that you have a stable internet connection to the internet. : 10053)". The server log shows a socket close with error code 995 (Operation aborted (thread exit / app request).

Repro steps

1. Start servers and launch the game.
2. Sign into an account and select a game server to enter.
3. Exit the game at the character select screen.
4. Relaunch the game and attempt to re-login with the same credentials.
5. Attempt to re-login with the same credentials.
6. Notice that the 10053 error message pops up stating "Disconnected from the server. (You have been disconnected from the server. Please verify that you have a stable internet connection to the internet. : 10053)"

Server logs

09:30:37.634 Session [INF] <21> Disconnected LoginSession from 127.0.0.1:54739 at Handle in C:............\Maple2\Maple2.Server.Login\PacketHandlers\LoginHandler.cs on line 87
09:30:39.648 Session [DBG] <23> Socket closed during receive (code 995) account=0 char=0

Activity

  1. mfranca0009 commented on Feb 8, 2026

    @mfranca0009
    ContributorAuthor

    PR #430 adds in a disconnect after calling list servers. Getting rid of this solves the problem, but I am unaware if this will cause oddities elsewhere. Can someone advise if it would be a problem removing the following line: LoginHandler.cs, Line 87?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions