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

"connecting..."-spinner not disappearing #63

Open
joh-klein opened this issue Jan 11, 2015 · 5 comments
Open

"connecting..."-spinner not disappearing #63

joh-klein opened this issue Jan 11, 2015 · 5 comments
Labels

Comments

@joh-klein
Copy link

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.

@quantenschaum
Copy link

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.

@gbmhunter
Copy link

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.

@ning-yu ning-yu added the bug label May 4, 2015
@ning-yu
Copy link
Collaborator

ning-yu commented May 5, 2015

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.

@ning-yu
Copy link
Collaborator

ning-yu commented May 18, 2015

Hmm looks like the long poll times out after roughly 1 hour every time... Anyone seeing anything different?
Long poll fail

@ning-yu
Copy link
Collaborator

ning-yu commented May 27, 2015

I've rolled in a possible fix on e5d5f81. Let me know if this solves the problem.

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

No branches or pull requests

4 participants