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

Jupiter losing IRC connection once servers die/disconnect #11

Open
fffreak9999 opened this issue Apr 27, 2020 · 1 comment
Open

Jupiter losing IRC connection once servers die/disconnect #11

fffreak9999 opened this issue Apr 27, 2020 · 1 comment

Comments

@fffreak9999
Copy link

fffreak9999 commented Apr 27, 2020

Attempted with 2 Game Servers running,
If one of the servers that Jupiter is connected to dies (is killed), Jupiter disconnects from IRC.
Also Jupiter hangs if one server it is set to connect to isn't running.
This only happens when running on Linux (Ubuntu 19.10 is what I am using).

This does not occur with the last provided Windows Release, as it ignores servers it cannot connect to, and if a server disconnects/dies it continues to post in the IRC channel.

@JAJames
Copy link
Owner

JAJames commented Nov 18, 2021

This should be resolved when sockets are refactored to actually connect asynchronously.

In the meantime, a workaround to mitigate the issue is to use RenX.Listen to have the game servers connect to Jupiter (instead of Jupiter connecting to the game server), and to then relay the traffic further up to the server list using RenX.Relay.

Note that the issue can resurface using the above workaround if RenX.Relay itself then fails to connect to the upstream server list bot, since that connection also has the same issue with Jupiter's socket implementation using a blocking connect(). This workaround also requires that the bot be hosted on the same IP address as the game server, or that the node hosting the bot proxy traffic to/from the game server, which currently would have to be configured outside of the scope of Jupiter.

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

No branches or pull requests

2 participants