Open joh-klein opened 9 years ago
Same problem here on Android 5 with recent Chrome. A refresh does not solve the problem, I have to close the tab and reopen it. This very annoying when running the WebUI as "app", linked from the home screen, which effectively is a chrome tab without toolbar.
I have a similar issue in where I get the "Connecting" appearing all by itself, in where the server is fully reachable. This usually occurs after I leave the web page open on the WebUI for many minutes before coming back to my computer. However, in my case, a simple refresh (F5) fixes the issue.
The WebUI uses a COMET long poll request to wait for updates from the backend. There is a good chance this will time out if the client goes into standby, but I've also seen it time out for no good reason very occasionally. Do you guys see a pattern when this happens?
edit: It would help debugging (if you run the client in Chrome) to open the Javascript console (ctrl-shift-j) and leave it open. When the spinner shows up, forward me what's in the "console" and "network" tabs.
Hmm looks like the long poll times out after roughly 1 hour every time... Anyone seeing anything different?
I've rolled in a possible fix on e5d5f81bf784e8e028dede9ccdf7367fefd9dcc2. Let me know if this solves the problem.
When I open http://volumio.local the first time, everything is fine, but when I lock and unlock my iPhone (iOS 8) it only says "CONNECTING..." and never opens the actual page. Normal reload works flawlessly.