BeamMP-Server icon indicating copy to clipboard operation
BeamMP-Server copied to clipboard

[Feature Request] Connection test between server and backend

Open O1LER opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. The serverlist conatins servers that are not port forwarded properly, or have a similar issue that impedes the ability to connect to them.

Describe the solution you'd like On server startup, the server checks in on the backend and informs the owner by stating

[17/12/23 12:19:13] [INFO] Resumed authenticated session! Success, Your server listing has been updated.
[17/12/23 12:19:13] [INFO] ALL SYSTEMS STARTED SUCCESSFULLY, EVERYTHING IS OKAY

But in reality this check was only for the connection server-backend. It does not mean that users connecting from the serverlist are actually able to connect.

Upon receiving information of a new/restarted server, the backend should do a sanity check on the posted port to determine if actual users are able to connect to that port. If thats the case, the server console can state the ALL SYSTEMS STARTED SUCCESSFULLY, EVERYTHING IS OKAY If the port is closed, or the server is otherwise not reachable via the posted port, then in fact not everything is okay. Server owner should be notified of that in the server console

Describe alternatives you've considered The server could do a connection check to its port via a third party service, like a portchecker website. If thats available for automatic use

O1LER avatar Dec 17 '23 11:12 O1LER