Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Occasionally, somewhat quick exiting can result in failure to properly close and then silentfail to bind to the port #316

Open
erwynne opened this issue Feb 10, 2024 · 3 comments
Labels

Comments

@erwynne
Copy link

erwynne commented Feb 10, 2024

Serversync Version:

Latest Serverside

Minecraft Version:

Latest

Issue:

An oddity, on Windows if you repeatedly close and open the serversync program eventually it will silently fail to bind because sometimes it will continue to run in the background without having a window open (until you, presumably, force end in task mgr). I was at my wits end to why it wasnt working even though port was fwded this morning and restarted my PC, as it was restarting, it showed up on the screen that a blank, nameless, iconless application had not closed and needed to close. Upon restarting, the issue was resolved. But it would not let go of the port, and it was not visible in the taskbar, and had been closed with the X button, and when I would run the Serversync Serverside, it would not report that the port was occupied, instead gave the all OK.

It can be resolved by restarting PC.

@rheimus
Copy link
Collaborator

rheimus commented Feb 23, 2024

Indeed, I have noticed in the past that SS does not always shut down gracefully.

Have not investigated it far enough to figure out if this is the software itself or if its just windows being windows 🤷, presumably its something SS is doing.

@rheimus rheimus added the bug label Feb 23, 2024
@rheimus
Copy link
Collaborator

rheimus commented Feb 23, 2024

One small fix could be to give SS a proper process name so its easier to terminate. At the moment I think it just shows up as java or something equally unhelpful.

@rheimus
Copy link
Collaborator

rheimus commented Jan 24, 2025

possibly related, closing the exe versions via the UI X seems to fail to shut down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants