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
Long time to refresh supervisor on outside network #2448
Comments
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
This issue is still present, even with latest version (supervisor-2021.03.6 and core-2021.3.4, still on RPI4 4Gb on Debian GNU/Linux 10 (buster) and Docker 20.10.5) |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Just commenting here to remove the stale label, as this issue is still present, even with latest versions:
|
From today on I am experiencing the same problem! I am looking for a solution. Before that, 2 months from the moment of installation, everything was OK. |
I want to add an important detail. Long downloads are observed only with remote access. I am not using DDNS, instead I am emulating VLANs via the ZeroTier One integration. Logically, the system should think that I am working on a local network. And further! If you clear the browser cache, open Supervisor or any of its addons on the local network at 192.168.1.X, then something is cached and then for some time (several days or even months) the brakes are not observed on the external network! If you clear the cache and go from outside, then there is a long load. PS On a local network, opening Supervisor or any add-on takes a few milliseconds. I have suspicions that some part of hassio is trying to access the local address 192.168.1.X when it is working on an external network or VLAN. The specified address is unavailable and the page opens on timeout without downloading the necessary information from the address 192.168.1.X Check it out, please. |
I am also seeing relatively slow performance loading the supervisor page, even on the local network, where it takes up to 5s to load the page - an anomaly in a web app that is normally extremely snappy. This started for me in the previous release (I think!) but has not changed even running the latest version (core-2021.6.3 / supervisor-2021.05.4). Screen grab of Chrome waterfall As a note, the affected file (entrypoint.e529ad28.js, loaded by entrypoint.js) is not being cached and is loaded over the network on every page load - 1.4MB of it. Without this network load, the page would load in approx 0.5s, rather than 5s. |
@daernsinstantfortress Most likely, the lack of caching of this file is the problem. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
I have the same problem, still, happened since the last 3-4 versions, rebooting the pi fixes it once, after that it's slow or not loading again |
I also still see this regularly when accessing my instance remotely through nginx reverse proxy. |
Hi, I have been having exactly the same problem since I started with HA early this year. Now I'm on fairly latest software (Supervisor 2021.8.8, OS 6.2). Local loading is very fast unlike remote access via VPN that is usually ~5 second for the supervisor and add-ons. Seems like the same issue with the JS file not being cached. |
I can confirm that after updating to 2021.9.7 the supervisor loads instantly. Looks like endpoint.*.js javascript is being cached now. |
I am on 2021.9.7 as well and haven't noticed any change in load times. |
@meichthys - I'm not caching anything. Must be the browser: |
Describe the issue
Hi,
I have a huge lag when accessing the supervisor or even any supervisor addon through the android app or even chrome when I'm not on the same network as the server.
You can find my forum post here with some screenshots : https://community.home-assistant.io/t/supervisor-slow-loading-when-outside-network/248593/10
It seems like it is caused by /api/hassio/app/frontend_latest/entrypoint.6bc241a4.js that takes a lot of time to load. I made a performance test and it seems like it.
Steps to reproduce
Enviroment details
RPI4 4GB RAM (using good power adapter)
128Gb SANDISK usb hard drive (boot on usb)
Debian 10 buster using docker v19.03.14 (followed https://community.home-assistant.io/t/installing-home-assistant-supervised-on-a-raspberry-pi-with-debian-10/247116)
Using duckdns + nginx
Conbee 2 attached
Addons: ADB, adguard home (disabled), duckdns, file editor, home assistant google drive backup, influxdb (disabled), mariadb, mosquitto broker, nginx, node-red (disabled), valetudo mapper, visual studio code, zibee2mqtt edge, deconz (disabled)
Core version: core-2021.1.4
Supervisor version: supervisor-2021.01.5 (chanell stable)
Speedtest server side: 19.5Mbps download, 1Mbps upload
Speedtest client side: 45Mbps download, 2Mbps upload
Supervisor logs
Not sure what logs I can give since there isn't any errors or such.
System Information
Not sure if I can use this command since I'm not on HA OS. You can find this info in the environnement details.
The text was updated successfully, but these errors were encountered: