Page load error: Could not connect: Network is unreachable
Hello, i dont know if this is the right place for reporting my problem (and also ask for help).
I have installed ubuntu core 22 and 2 snaps: ubuntu-frame and wpe-webkit-mir-kiosk:
snap services
Service Startup Current Notes
ubuntu-frame.daemon enabled active -
wpe-webkit-mir-kiosk.daemon enabled active -
wpe-webkit-mir-kiosk.restart-watcher enabled active -
the only thing i configured is the url: snap set wpe-webkit-mir-kiosk url=http://10.0.20.1:8888
Everything good so far, but from time to time, especially on reboot i sometimes get a "Page load error"
$ snap logs wpe-webkit-mir-kiosk.daemon
2023-11-21T01:05:56Z -[1632]: Your application does not implement g_application_activate() and has no handlers connected to the 'activate' signal. It should do one of these.
2023-11-21T01:05:56Z -[1632]: Acquired D-Bus well-known name com.igalia.Cog
2023-11-21T01:05:56Z -[1643]: Could not open /sys/class/dmi/id/chassis_type: Failed to open file “/sys/class/dmi/id/chassis_type”: Permission denied
2023-11-21T01:05:56Z -[1643]: Could not open /sys/firmware/acpi/pm_profile: Failed to open file “/sys/firmware/acpi/pm_profile”: Permission denied
2023-11-21T01:05:56Z -[1632]: <http://10.0.20.1:8888/> Load started.
2023-11-21T01:05:56Z -[1632]: <http://10.0.20.1:8888/> Page load error: Could not connect: Network is unreachable
2023-11-21T01:05:56Z -[1632]: <> Loaded successfully.
2023-11-21T01:05:56Z -[1632]: <http://10.0.20.1:8888/> Load started.
2023-11-21T01:05:56Z -[1632]: <http://10.0.20.1:8888/> Loading...
2023-11-21T01:05:56Z -[1632]: <http://10.0.20.1:8888/> Loaded successfully.
I dont think this is a network issue, since the url is always available with other devices. i rather have the feeling wpe-webkit-mir-kiosk is starting to early when network is not yet available (systemd or whatever ubuntu core / snap is using)
Is there anything i can do, like put a delay on wpe startup, or reload every day/hour or something like that?
Hardware is a intel NUC with core i5-1135G7
Kind Regards, Stefan