Waziup / WaziGate

Waziup LoRa Edge gateway
21 stars 20 forks source link

V2: Errors after clicking "Shutdown" #86

Open cdupont opened 3 years ago

cdupont commented 3 years ago

After clicking the "Shutdown" button, I get a lot of errors: Screenshot from 2020-10-22 18-33-11

I guess this is due to failed API request? Maybe redirecting to a simple HTML page after "shutdown" will prevent it to make additional requests?

mojtaba-esk commented 3 years ago

This is obvious because there is no server (pi) to respond. and there is a page showing once the gateway is not accessible for any reason being shutdown or connectivity issues. it just takes few seconds to show. Here it is:

image

cdupont commented 3 years ago

I understand the issue, however the big errors appearing are frightening. I wonder if there is any way to avoid to show them. Can we redirect directly to the "gateway is not accessible" or any other simple HTML before shutting down? Another small comment: image

The color coding using in this form is not used anywhere else in the UI, so they seems a bit strange.

mojtaba-esk commented 3 years ago

yes this is fixed already, please update the system and test

mojtaba-esk commented 3 years ago

And yes the color should be changed

cdupont commented 3 years ago

I had the message "gateway is not accessible" for a second, correctly, but after the big scary messages came back...

cdupont commented 3 years ago

Peek 2020-11-19 18-07

cdupont commented 3 years ago

Hi Moji, any progress?

cdupont commented 3 years ago

This is better now: Peek 2020-11-30 18-30

Only one error remaining.

cdupont commented 3 years ago

I would say, let's move to V2.1 not to lose time on this version.