ProAvalon icon indicating copy to clipboard operation
ProAvalon copied to clipboard

Player gets disconnected.

Open Sowmith-iiit opened this issue 4 years ago • 1 comments

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

To Reproduce

  • Play the game for some time may be during high traffic periods. Was not happening initially but happened way too many times in the last two set of games.

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):

  • OS: Mac, Linux, Windows
  • Browser : Chrome
  • Version : 80.0.3987.163 (Official Build) (64-bit)

Sowmith-iiit avatar Apr 19 '20 10:04 Sowmith-iiit

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 avatar Apr 19 '20 11:04 vck3000

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

vck3000 avatar Mar 02 '24 01:03 vck3000