andrewrk / andrewrk/groovebasin

Web UI does not reconnect after suspend/resume cycle

Open
#437 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
2k
Forks
119
PR merge metrics
No merged PRs in 30d

Description

When a suspend/resume cycle is done with the web ui open, groovebasin never manages to reconnect to the server. A refresh is necessary.

```
27/05 10:49 andrewrk: my gb instance ui does not reconnect to the server when I suspend/resume with the website open
27/05 10:49 do you recall fixing something like that since 1.4?
27/05 10:58 reloading the page makes it work again
27/05 15:42 fsateler, I have the same problem. I haven't figured out what that is yet
27/05 15:42 the web socket is set to reconnect whenever there is an error or a disconnect, so it's weird that it does not recover from that
27/05 15:43 my best guess is the connection hanging - e.g. no error but also not working
27/05 15:43 in which case the solution I think would be to implement a heart beat, and if the heartbeat is not detected, close and re-open the connection
27/05 15:50 I don't think there is a github issue filed for this; feel free to make one
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.