Skip to content

Handle Websockets Closing #13

@vkoves

Description

@vkoves

Websockets close after a timeout, and this can cause the UI to no longer work and respond. This should be handled either via:

  • Informing the websocket disconnected and asking them to refresh
  • Trying to reconnect the websocket on an action being taken

Here's a screenshot of this occuring with me trying to join a lobby after leaving a tab in the background for a few minutes:

screenshot from 2018-01-07 23-24-14

Since the UI doesn't handle this error, to a normal user you would just be confused why pressing Join Lobby isn't doing anything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions