-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
Icefish 8.99.4
-
None
We are getting this error sometimes when we tried to launch a webapp:
Feb 04 11:22:52 raspberrypi4 WebAppMgr[548]: [0204/112252.541210:INFO:CONSOLE(5)] "webapps-settings@0.0", source: http://localuser--32:8080/index.js (5)
Feb 04 11:22:52 raspberrypi4 WebAppMgr[548]: [0204/112252.563014:INFO:CONSOLE(5)] "Uncaught (in promise) ReferenceError: log is not defined", source: http://localuser--32:8080/index.js (5)
Feb 04 11:22:52 raspberrypi4 systemd[1]: Starting HTML5 SETTINGS demo...
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: -----BEGIN OF CONFIG----
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: –
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: -----END OF CONFIG----
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: INFO: running with pid 747 [/home/igalia/apuentes/agl-master-rpi4/build/tmp/work/aarch64-agl-linux/af-binder/master+gitAUTOINC+65353dce81-r0/git/src/main-afb-daemon.c:978,main]
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: INFO: API monitor added [/home/igalia/apuentes/agl-master-rpi4/build/tmp/work/aarch64-agl-linux/af-binder/master+gitAUTOINC+65353dce81-r0/git/src/afb-apiset.c:510,afb_apiset_add]
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: INFO: Can't acces socket path /run/platform/supervisor: No such file or directory [/home/igalia/apuentes/agl-master-rpi4/build/tmp/work/aarch64-agl-linux/af-binder/master+gitAUTOINC+65353dce81-r0/git/src/afb-supervision.c:164,try_connect_supervisor]
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: INFO: Scanning dir=[/usr/lib/afb] for bindings [/home/igalia/apuentes/agl-master-rpi4/build/tmp/work/aarch64-agl-linux/af-binder/master+gitAUTOINC+65353dce81-r0/git/src/afb-api-so.c:176,adddirs]
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: INFO: Scanning dir=[/usr/lib/afb/monitoring] for bindings [/home/igalia/apuentes/agl-master-rpi4/build/tmp/work/aarch64-agl-linux/af-binder/master+gitAUTOINC+65353dce81-r0/git/src/afb-api-so.c:176,adddirs]
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ERROR: can't open client socket for unix:/run/user/1001/apis/ws/windowmanager [/home/igalia/apuentes/agl-master-rpi4/build/tmp/work/aarch64-agl-linux/af-binder/master+gitAUTOINC+65353dce81-r0/git/src/afb-socket.c:352,afb_socket_open_scheme]
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ERROR: can't open client socket for unix:/run/user/1001/apis/ws/homescreen [/home/igalia/apuentes/agl-master-rpi4/build/tmp/work/aarch64-agl-linux/af-binder/master+gitAUTOINC+65353dce81-r0/git/src/afb-socket.c:352,afb_socket_open_scheme]
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ERROR: can't open client socket for unix:/run/user/1001/apis/ws/network-manager [/home/igalia/apuentes/agl-master-rpi4/build/tmp/work/aarch64-agl-linux/af-binder/master+gitAUTOINC+65353dce81-r0/git/src/afb-socket.c:352,afb_socket_open_scheme]
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ERROR: can't open client socket for unix:/run/user/1001/apis/ws/Bluetooth-Manager [/home/igalia/apuentes/agl-master-rpi4/build/tmp/work/aarch64-agl-linux/af-binder/master+gitAUTOINC+65353dce81-r0/git/src/afb-socket.c:352,afb_socket_open_scheme]
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: NOTICE: API monitor starting... [/home/igalia/apuentes/agl-master-rpi4/build/tmp/work/aarch64-agl-linux/af-binder/master+gitAUTOINC+65353dce81-r0/git/src/afb-apiset.c:808,start_api]
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: INFO: API monitor started [/home/igalia/apuentes/agl-master-rpi4/build/tmp/work/aarch64-agl-linux/af-binder/master+gitAUTOINC+65353dce81-r0/git/src/afb-apiset.c:827,start_api]
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: INFO: Alias for url=/icons to path=/var/local/lib/afm/icons [/home/igalia/apuentes/agl-master-rpi4/build/tmp/work/aarch64-agl-linux/af-binder/master+gitAUTOINC+65353dce81-r0/git/src/main-afb-daemon.c:299,init_alias]
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: INFO: Alias for url=/monitoring to path=/usr/lib/afb/monitoring [/home/igalia/apuentes/agl-master-rpi4/build/tmp/work/aarch64-agl-linux/af-binder/master+gitAUTOINC+65353dce81-r0/git/src/main-afb-daemon.c:299,init_alias]
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: NOTICE: Serving rootdir=/var/local/lib/afm/applications/webapps-settings/0.0 uploaddir=. [/home/igalia/apuentes/agl-master-rpi4/build/tmp/work/aarch64-agl-linux/af-binder/master+gitAUTOINC+65353dce81-r0/git/src/main-afb-daemon.c:401,start_http_server]
Feb 04 11:22:52 raspberrypi4 systemd[1]: Started HTML5 SETTINGS demo.
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: NOTICE: Listening interface *:30036 [/home/igalia/apuentes/agl-master-rpi4/build/tmp/work/aarch64-agl-linux/af-binder/master+gitAUTOINC+65353dce81-r0/git/src/afb-hsrv.c:557,hsrv_itf_connect]
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: NOTICE: Browser URL= http://localhost:30036 [/home/igalia/apuentes/agl-master-rpi4/build/tmp/work/aarch64-agl-linux/af-binder/master+gitAUTOINC+65353dce81-r0/git/src/main-afb-daemon.c:416,start_http_server]
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: NOTICE: Listening interface localuser--36:8080 [/home/igalia/apuentes/agl-master-rpi4/build/tmp/work/aarch64-agl-linux/af-binder/master+gitAUTOINC+65353dce81-r0/git/src/afb-hsrv.c:557,hsrv_itf_connect]
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[int main(int, const char**)] ### Starting /usr/bin/web-runtime
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[virtual int WebRuntimeAGL::run(int, const char**)] WebRuntimeAGL::run
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[virtual int WebRuntimeAGL::run(int, const char**)] WebRuntimeAGL - creating WebAppLauncherRuntime
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[int WamSocketLockFile::openLockFile()] Failed to open lock file descriptor
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[virtual int WebAppLauncherRuntime::run(int, const char**)] WebAppLauncherRuntime::run - creating SharedBrowserProcessWebAppLauncher
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[bool WebAppLauncherRuntime::init()] 0: http://localuser--36:8080/index.html
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[bool WebAppLauncherRuntime::init()] 1: http:
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[bool WebAppLauncherRuntime::init()] 2: http
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[bool WebAppLauncherRuntime::init()] 3: //localuser--36:8080
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[bool WebAppLauncherRuntime::init()] 4: localuser--36:8080
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[bool WebAppLauncherRuntime::init()] 5: /index.html
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[bool WebAppLauncherRuntime::init()] 6:
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[bool WebAppLauncherRuntime::init()] 7:
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[bool WebAppLauncherRuntime::init()] 8:
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[bool WebAppLauncherRuntime::init()] 9:
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[int WebAppLauncherRuntime::parse_config(const char*)] id: webapps-settings
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[int WebAppLauncherRuntime::parse_config(const char*)] version: 0.0.0
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[int WebAppLauncherRuntime::parse_config(const char*)] name: SETTINGS
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[int WebAppLauncherRuntime::parse_config(const char*)] content: index.html
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[int WebAppLauncherRuntime::parse_config(const char*)] description: HTML5 SETTINGS demo
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[int WebAppLauncherRuntime::parse_config(const char*)] author: Igalia, S.L.
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[int WebAppLauncherRuntime::parse_config(const char*)] icon: icon.svg
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[bool WebAppLauncherRuntime::init()] id=[webapps-settings@0.0], name=[SETTINGS], role=[webapps-sett], url=http://localuser--36:8080/index.html?token=QhY0VacUQPsFD4L0ItEHcVRUaQwIn4wh, host=[localuser--36], port=8080, token=[QhY0VacUQPsFD4L0ItEHcVRUaQwIn4wh]
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: [1120008.841] [libwm ERROR] [libwindowmanager.cpp, operator()(), Line:532] >>> Windowmanager-service is not initialized: {
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: "jtype":"afb-reply",
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: "request":
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: }
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: [1120008.963] [libwm ERROR] [libwindowmanager.cpp, api_call(), Line:753] >>> calling windowmanager/GetDisplayInfo failed: Success
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: [1120009.015] [libwm ERROR] [libwindowmanager.cpp, getDisplayInfo(), Line:538] >>> api_call() failed
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[bool WebAppLauncherRuntime::init_wm()] cannot initialize windowmanager
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ## (DEBUG)[bool WebAppLauncherRuntime::init()] cannot setup wm API
Feb 04 11:22:52 raspberrypi4 afbd-webapps-settings@0.0[747]: ...parse_config...