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

Reconnect does not work all the time #28

Open
foxfriends opened this issue Nov 28, 2020 · 0 comments
Open

Reconnect does not work all the time #28

foxfriends opened this issue Nov 28, 2020 · 0 comments
Labels
bug Something isn't working frontend Requires updating the frontend (JS/Svelte) code

Comments

@foxfriends
Copy link
Owner

When the client disconnects from the server, it is supposed to automatically reconnect. This is working, but sometimes leaves the client in an invalid state:

  1. Set name
  2. Create room
  3. Cause disconnection (e.g. restart server)

Notice that the client now attempts to rejoin the room, but the room does not exist anymore. Even without the server restarting, this same situation could happen if the lobby only had one player in it when the player lost connection. The client should somehow handle the failed reconnection attempt and go back to the Choose Game form, rather than becoming broken.

@foxfriends foxfriends added bug Something isn't working frontend Requires updating the frontend (JS/Svelte) code labels Nov 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Requires updating the frontend (JS/Svelte) code
Projects
None yet
Development

No branches or pull requests

1 participant