[PROBLEM] web UI disconnects for a few seconds - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: [PROBLEM] web UI disconnects for a few seconds (/showthread.php?tid=5325) Pages:
1
2
|
web UI disconnects for a few seconds - Mark Dirac - 01-22-2023 When I'm navigating through the config screens, and clicking "set" within config screens, Chrome reports "This site can't be reached" for a couple of seconds, and then shows the moOde "reconnect" screen for a few seconds, once or twice. Mostly but not always after each and every UI change or page-to-page navigation. Sometimes Chrome does not reconnect at all. I have just updated from v7.4.1 to v8.2.5 64bit, running on Allo USBridge. Connection via ethernet on Allo, wifi on PC. I tried restarting the router and clearing Chrome's cache and cookies. Chrome Version 109.0.5414.75, on Windows 10. After upgrade, the same IP address was allocated and Chrome reconnected to moOde without any intervention. RE: web UI disconnects for a few seconds - Tim Curtis - 01-22-2023 Thats very odd. The symptoms suggest a network or possibly a uSD card issue. You could try a 20 sec ping test from PC to USBridge (or vis versa) to see what the ping stats look like. Code: # From PC You could also see if there are any TX or RX errors or drops reported for the Ethernet (eth0) interface on the USBridge. Code: ifconfig RE: web UI disconnects for a few seconds - Mark Dirac - 01-23-2023 (01-22-2023, 10:56 PM)Tim Curtis Wrote: Thats very odd. The symptoms suggest a network or possibly a uSD card issue.Thanks Tim.
RE: web UI disconnects for a few seconds - Mark Dirac - 01-23-2023 oops oops RE: web UI disconnects for a few seconds - Tim Curtis - 01-23-2023 (01-23-2023, 03:54 PM)Mark Dirac Wrote:(01-22-2023, 10:56 PM)Tim Curtis Wrote: Thats very odd. The symptoms suggest a network or possibly a uSD card issue.Thanks Tim. The result below suggests the issue is isolated to the Windows PC. Code: "The problem only happens with Chrome for Windows. It doesn't happen on Chrome for Android!" You might want to check if any Chrome extensions are interfering with Browser throughput. RE: web UI disconnects for a few seconds - Mark Dirac - 01-23-2023 (01-23-2023, 04:09 PM)Tim Curtis Wrote:(01-23-2023, 03:54 PM)Mark Dirac Wrote:(01-22-2023, 10:56 PM)Tim Curtis Wrote: Thats very odd. The symptoms suggest a network or possibly a uSD card issue.Thanks Tim. Good idea, but not extensions - I only have three extensions: 1. AdGuard AdBlocker, which was always disabled for moOde's URL, and is now disabled for the whole PC. 2. Google Translate, which I have disabled. 3. Chrome Remote Desktop, which I have also disabled. Yes, Windows PC, or perhaps the way it's networked. (It worked with 7.4.1 release of moOde.) Windows and Android connects over wifi to eero router. Then ethernet to USBridge. eero router connected via ethernet to ISP's ADSL router. Pings from Windows to USBridge: Code: C:\Users\markj>ping -n 20 moode.local RE: web UI disconnects for a few seconds - Tim Curtis - 01-23-2023 The ping results look fine. You could try Chrome - View, Developer, Javascript console and see if there are any errors but I don't have any experience debugging on Windows and so can only offer generic suggestions. RE: web UI disconnects for a few seconds - Always_In_The_Moode - 01-23-2023 I wonder if it's worth doing a constant ping to the server and as soon as you notice the UI disconnect, go straight to the ping output and see if there's been any time outs or large delays etc. Wifi is unreliable sometimes, I've experienced issues in the past with conflicting neighbouring routers for example especially on 2.4Ghz which causes things like this to happen. You could also try an alternative browser installed with default settings and nothing addition installed to it, for example, Firefox. Have you tried Edge as well? Do they exhibit the same behaviour? RE: web UI disconnects for a few seconds - Mark Dirac - 01-23-2023 Thanks for giving this some thought Tim. My PC and network are well-maintained & plenty powerful-enough. I reckon it's best to wait to see if anyone else experiences this or some other web server quirk. And I do have a good workaround - Android. RE: web UI disconnects for a few seconds - TheOldPresbyope - 01-23-2023 @Mark Dirac @Tim Curtis Just so we don't get too focused in on MS Windows--- I've seen this same effect in Desktop Chromium browser running on my Linux laptop (but not today). Since until very recently I didn't use Firefox routinely on my laptop, I can't say for sure the effect never occurred in it as well but I don't recall it happening. I was never able to track down the cause and since it hasn't happened in any browser on my Android/iOS/iPadOS devices I haven't been motivated to do a deep dive. Until proven otherwise, I'm content to suspect x86 Chromium and its JavaScript engine are running into some sort of corner case. I have no reason to suspect hardware or network problems because of all the other stuff I do. As for using the developer's console in either Chromium or Firefox, I always see various messages which usually look fixable (if you're a JS/CSS wiz, which I'm not) but they have never looked to me like a proverbial 'smoking gun'. A few random examples from Chromium looking at a moOde 8.2.5 player (I added the #lines) this morning: Code: # identified as lib.min.js related; occurs a number of times While from Firefox Code: This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. Regards, Kent PS - Mark, as a retired physicist I'm moved to ask, is there any relation to Paul Adrian Maurice Dirac, creator of the Dirac Equation for which he was awarded the 1933 Nobel Prize (shared with Erwin Schroedinger)? |