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

Visualisation web socket doesn't reconnect #22

Open
NeilW opened this issue Jun 23, 2020 · 1 comment
Open

Visualisation web socket doesn't reconnect #22

NeilW opened this issue Jun 23, 2020 · 1 comment

Comments

@NeilW
Copy link

NeilW commented Jun 23, 2020

Describe the bug
If the web socket gets closed, the simulation stops and doesn't reset without a manual refresh of the page.

Expected behavior
The web socket should attempt to reopen if it gets closed

To Reproduce
In my case when my Mac goes to sleep overnight and the sockets all time out in my virtual machine!

Additional context
May be worth switching the direct call to WebSocket to a ReconnectingWebSocket library like https://github.com/joewalnes/reconnecting-websocket

@tpike3
Copy link
Member

tpike3 commented Jul 31, 2020

@NeilW Thanks we could absolutely use some front end help if you would be interested in making these changes and submitting a pull request.

@rht rht transferred this issue from projectmesa/mesa Sep 1, 2023
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