magefree / magefree/mage

Freeze connection on second login with same client but diff name

Open
#12,995 0 comments 0 reactions 1 assignee Claimed by @JayDi85 View on GitHub
bug server
Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

Sometime client freeze with "connection..." state for few minutes.

Steps to reproduce:
* connect to server by name 1;
* disconnect with wait option;
* connect to server by name 2;
* results:
* bad: client freeze with "connection..." state untile old session catch a timeout;
* good: client must be connected and see both players (old and new names) or catch a fast error about connection;

Reconnection with same name and restored session works fine.

Looks like it's an inner network limitation from sockets or jboss logic (restrict multiple connections from same app), need research. In normal use case users must see connection error or allow to connect with new session/socket.

![shot_241012_112017](https://github.com/user-attachments/assets/799cbf53-3694-4f02-b68b-eadf15a113cd)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.