When connected directly via LAN (Wifi or Ethernet), GUI-v2 loads reasonably fast.
Same case over VRM, since the UI “blob” is then served by VRM.
Over a slow link (1Mbps VPN in my case), I see traffic pegged at 1Mbps while the GUI-v2 window says “Loading…” but the download never seems to complete.
From initial findings it seems the GUI-v2 UI download session times out after a few minutes and restarts, effectively causing a never ending download loop.
Since the slow link is a VPN with MTU 1420 bytes in my case, I’ve tried lowering the MTU and MSS clamping - to no avail.
It seems the UI blob download starts in all cases but times out & restarts before the download finishes.
A lack of bandwidth for the initial UI blob download seems to be the main culprit.
Possible fixes I can quickly think of:
- serve the UI blob download as a compressed file (if it isn’t already), although this might still cause failures over slow links (think ADSL, dial-up or mobile connections in rural areas)
- allow a configurable timeout instead of a fixed timeout
- option to pre-download the UI blob from a fast source (like it’s done by VRM).
For me this issue is a mild inconvenience as my slow VPN serves as a backup Out of Band connection and I’ve got other ways to connect to the GX: fast main internet line, local jump server, VRM or GUI-v1.
Unfortunately, GUI-v1 doesn’t provide the same options as GUI-v2 anymore and in case of a serious issue I might lose the local jumpserver.
For people without a fast uplink and who are not connected to VRM, using GUI-v2 from outside the local network (using their own VPN for example, like I do) might pose a problem.
I’m aware that this is a peculiar use case and Victron could just say “Sorry, won’t fix, just use VRM” but at the same time Victron has always been strong about allowing people to use their systems “offline”, without requiring an internet connection to the Victron cloud.
In that regard, GUI-v2 is a bit of a party pooper for people who run their systems in a private network, not necessarily cloud connected (like me).
Edit: the Android remote GX display seems to be working more or less in the same way as the VRM option in that it runs the UI blob locally sourced and only requires the low bandwidth backend connection to the GX, so not needing to download the UI blob from the GX.
If this was available for desktop use (with a configurable remote GX IP option), that could be a solution.
Depending how it’s implemented, that could mean the comfort of using a web connection via any browser is lost by having to use a “fat client” 