Waziup / WaziGate

Waziup LoRa Edge gateway
21 stars 20 forks source link

Wazigate grey screen after login #162

Open cdupont opened 3 years ago

cdupont commented 3 years ago

Today I'm connecting to my ever running WaziGate (V2.1.11-beta). I get a grey screen. Console says:

Welcome to Wazigate! This is a master build. 1.0.3 main.js:40:41799
Connecting to mqtt... main.js:15:96130
MQTT Connected. main.js:40:43069
GEThttp://172.16.11.187/icon.png
[HTTP/1.1 404 Not Found 1ms]

GEThttp://172.16.11.187/apps/waziup.wazigate-system/ui/icons/help.svg
[HTTP/1.1 502 Bad Gateway 4ms]

GEThttp://172.16.11.187/apps/waziup.wazigate-system/ui/icons/settings.svg
[HTTP/1.1 502 Bad Gateway 3ms]

Apps loaded: 
Array(3) [ {…}, {…}, {…} ]
main.js:48:17228
Gateway ID: 0242ac1200034df0 main.js:48:98123
TypeError: e is undefined
    v http://172.16.11.187/dist/main.js:48
    DeviceComp http://172.16.11.187/dist/main.js:48
    React 12
    promise callback*t.default/< http://172.16.11.187/dist/main.js:48
    React 11
react-dom.production.min.js:125:24
Uncaught (in promise) TypeError: e is undefined
    v http://172.16.11.187/dist/main.js:48
    DeviceComp http://172.16.11.187/dist/main.js:48
    React 12
    promise callback*t.default/< http://172.16.11.187/dist/main.js:48
    React 11

Here is some logs from Edge:

[HTTP ] 172.16.11.184:33742 200 GET "/sys/uptime" s:0
[HTTP ] 172.16.11.184:40552 200 GET "/sys/uptime" s:0
[HTTP ] 172.16.11.184:33738 200 GET "/sys/uptime" s:0
[HTTP ] 172.16.11.184:40552 200 GET "/sys/uptime" s:0
[WWW  ] (127.0.0.1:36474) 200 GET "/"
[HTTP ] 172.16.11.184:33742 200 GET "/sys/uptime" s:0
[HTTP ] 172.16.11.184:40552 200 GET "/sys/uptime" s:0
[HTTP ] 172.16.11.184:33738 200 GET "/sys/uptime" s:0
[MQTT ] "chirpstack-application-s" Message "gateway/aa55a00000000000/event/up" s:98 r:false q:0
[HTTP ] 172.16.11.184:40552 200 GET "/sys/uptime" s:0
[MQTT ] "chirpstack-application-s" Message "application/1/device/aa555a0026011d01/event/up" s:441 r:false q:0
[HTTP ] 172.18.0.6:52008 404 POST "/devices/test000" s:4
[MQTT ] "chirpstack-network-serve" Message "gateway/aa55a00000000000/command/down" s:217 r:false q:0
[MQTT ] "chirpstack-application-s" Message "gateway/aa55a00000000000/event/ack" s:38 r:false q:0
[WWW  ] (127.0.0.1:36488) 200 GET "/"
[HTTP ] 172.16.11.184:33742 200 GET "/sys/uptime" s:0
[MQTT ] "dashboard_f56e85ec" Err websocket: close 1001 (going away)
[WWW  ] (172.16.11.184:33738) 304 GET "/"
[WWW  ] (172.16.11.184:33742) 304 GET "/node_modules/react/umd/react.production.min.js"
[WWW  ] (172.16.11.184:33738) 304 GET "/node_modules/react-dom/umd/react-dom.production.min.js"
[WWW  ] (172.16.11.184:33742) 304 GET "/dist/main.js"
[HTTP ] 172.16.11.184:33738 200 GET "/sys/uptime" s:0
[APP  ] Proxy `/var/run/docker.sock` GET "containers/wazigate-edge/json"
[HTTP ] 172.16.11.184:33742 200 GET "/clouds" s:0
[APP  ] Proxy `/var/run/docker.sock` GET "containers/waziup.wazigate-lora/json"
[APP  ] Proxy `/var/run/docker.sock` GET "containers/waziup.wazigate-system/json"
[HTTP ] 172.16.11.184:33738 200 GET "/apps" s:0
[WWW  ] (172.16.11.184:33742) 304 GET "/dist/img/e6d076cd519c1a9fec210b04b9ce5463.svg"
[MQTT ] "dashboard_2cee9903" Connected Protocol 0x4
[APP  ] >> "waziup.wazigate-system" GET /ui/icons/help.svg
[APP  ] Err Get http://localhost/ui/icons/help.svg: dial unix /root/apps/waziup/wazigate-system/proxy.sock: connect: connection refused
[APP  ] Proxy `/var/run/docker.sock` GET "containers/waziup.wazigate-system/json"
[HTTP ] 172.16.11.184:33738 502 GET "/apps/waziup.wazigate-system/ui/icons/help.svg" s:0
[APP  ] >> "waziup.wazigate-system" GET /ui/icons/settings.svg
[APP  ] Err Get http://localhost/ui/icons/settings.svg: dial unix /root/apps/waziup/wazigate-system/proxy.sock: connect: connection refused
[APP  ] Proxy `/var/run/docker.sock` GET "containers/waziup.wazigate-system/json"
[HTTP ] 172.16.11.184:33742 502 GET "/apps/waziup.wazigate-system/ui/icons/settings.svg" s:0
[MQTT ] "dashboard_2cee9903" Subscribed "devices" qos:0
[WWW  ] (172.16.11.184:33738) 304 GET "/dist/img/28cc8b05c47066c8adb90dd7ad6fd127.svg"
[HTTP ] 172.16.11.184:33742 200 GET "/device/id" s:0
[HTTP ] 172.16.11.184:33738 200 GET "/devices" s:0
[MQTT ] "dashboard_2cee9903" Unsubscribed "devices"
[HTTP ] 172.16.11.184:40552 200 GET "/sys/uptime" s:0