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

Losing connection freezes the server #47

Open
Slydelix opened this issue Dec 17, 2018 · 1 comment
Open

Losing connection freezes the server #47

Slydelix opened this issue Dec 17, 2018 · 1 comment

Comments

@Slydelix
Copy link
Contributor

Slydelix commented Dec 17, 2018

Losing connection (DOS/DDOS attack) causes the server to lag/freeze (WebSockets/SocketListener.cs (SocketClosed method))

Whenever the connection is lost 2 messages are printed to console and new connection attempt is made = huge console spam = 1 fps whole time

Maybe adding some sort of delay before trying to reconnect may be a good idea

@DDraBB
Copy link

DDraBB commented Dec 17, 2018

@Slydelix This is a known issue. He's working on a new build soon that should include a fix for this. Best thing to do if possible would be to close the discord connection if the network goes to shit and reopen once it's back to normal.

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

No branches or pull requests

2 participants