PretendoNetwork / nex-go

Barebones PRUDP/NEX server library written in Go
GNU Affero General Public License v3.0
74 stars 16 forks source link

[Bug]: Custom clients like Cemu and NintendoClients fail to establish good connections (general connection instability) #54

Open jonbarrow opened 6 months ago

jonbarrow commented 6 months ago

Checked Existing

What happened?

Currently both Cemu and NintendoClients fail to establish good connections with our servers. This seems to be caused by just general connection instability. These are incredibly easy to see. Cemu has this issue when loading the friends server, it often gets stuck in a loop trying to login, disconnecting and reconnecting over and over. Some of this is on Cemu's side (Exzap mentioned that Cemu did not always respect PING packets from the server, which we use), however NintendoClients should be assumed to be a 100% compliant client, so any issues connecting with it should be assumed to be our fault.

An issue regarding NintendoClients connecting to our friends server is open here https://github.com/PretendoNetwork/friends/issues/16, however this is a more general connection issue so it should be addressed here.

What did you expect to happen?

These clients should be fully supported. Especially NintendoClients, as it should be assumed to be 1:1 compatible with existing servers.

Steps to reproduce? (OPTIONAL)

Try to connect to our servers using either Cemu or NintendoClients

Any other details to share? (OPTIONAL)

No response