vck3000 / ProAvalon

Online platform for The Resistance!
https://www.ProAvalon.com
MIT License
89 stars 73 forks source link

Player gets disconnected. #305

Closed Sowmith-iiit closed 8 months ago

Sowmith-iiit commented 4 years ago

Describe the bug People get disconnect way too often during the game.

To Reproduce

Expected behavior https://github.com/vck3000/ProAvalon/pull/141 - Does clicking the danger icon gets us back into the game or the lobby ?

Refreshing the page because lost connections leads to going to lobby again (as the room is not mapped to any url, one fix could be to at least map the room with some url so that people can just refresh.) May be store information about the session in cookies and try to take him to the room when disconnected.

If we could make the disconnection go away by changing something, that would be epic.

Desktop (please complete the following information):

vck3000 commented 4 years ago

Hey!

This is a big issue with the current site. We are working on a multi-server approach for load balancing in the next re-write of the site. The current implementation of ProAvalon cannot scale horizontally.

We did not expect such a high influx of new users on the site and definitely was not prepared for it. If you would like to help out writing the new website, let us know and we would be happy to have you help!

vck3000 commented 8 months ago

We've added in a auto-reconnect feature. Hopefully this fixes this.