🐞 Bug: Wont load when offline
Bug Description
When accessing arcane without an internet connection it will get stuck when checking for updates.
It will get stuck while fetching this get request:
https://api.github.com/repos/ofkm/arcane/releases/latest
If you kill the request via dev tools it will work.
Steps To Reproduce
- Disconnect from the internet (or put in a fake DNS).
- Try loading the arcane web UI
Expected Behavior
It should not wait for the check update request before loading the UI.
Actual Behavior
It will get stuck on a white screen until the request times out or is terminated via devtools.
Screenshots
Arcane Version
1.0.2
Operating System
Linux
Browser
Brave
Docker Version
28.4.0, build d8eb46
Additional Context
No response
Try setting PUBLIC_UPDATE_CHECK_DISABLED=true in your env and see if that fixes it.
PUBLIC_UPDATE_CHECK_DISABLED=true
Thanks I did give that a try but it doesn't seem to stop the update check.
I should mention its not a major issue just more of an annoyance. I only really notice it if I need to restart Pi Hole. Workaround is just to set my DNS to 1.1.1.1 temporarily until I can start the container back up.
Hmm, i'll migrate the version check to the backend tomorrow and then try to fix that, appreciate the report on it though cause i never would've thought to test that.
Hmm, i'll migrate the version check to the backend tomorrow and then try to fix that, appreciate the report on it though cause i never would've thought to test that.
Thank I appreciate your help. I love the tool btw. It's a great middle ground between Portainer and Dockge with a much better UI.