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

Automatically attempt to reconnect after failure #621

Closed
HammyHavoc opened this issue Nov 29, 2017 · 3 comments
Closed

Automatically attempt to reconnect after failure #621

HammyHavoc opened this issue Nov 29, 2017 · 3 comments

Comments

@HammyHavoc
Copy link
Contributor

As per my tweet on https://twitter.com/hammyhavoc/status/935595873656098816, I've been asked to open an issue here regarding it.

@RocketChat If the desktop client can't connect to a RocketChat server and you're presented with the 'Reload' button and error, does it ever automatically attempt to reconnect? If not, that needs addressing; been trying to ping colleague but their RC client had that.

@gdelavald
Copy link
Contributor

Hey @HammyHavoc, thanks for the suggestion. That would actually be pretty cool, we can't focus on it right now but we'd love if someone from the community could work on this.

@netzwerch
Copy link
Contributor

I'd also love to see this feature. I've also got the same problem when using autostart, meaning that the client gets started without having a wifi/vpn connection yet.

@netzwerch
Copy link
Contributor

So I now got something that works for me.
In the file /src/public/loading-error.html
I added the following line somewhere in the <html>
<script>setInterval(() => { document.getElementById("reload").click() }, 10000)</script>
Quick and simple... opinions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants