KipK / openevse-gui-v2

OpenEVSE WiFi Gateway User Interface (V2)
BSD 2-Clause "Simplified" License
5 stars 2 forks source link

If host unreachable, UI hangs at loading #16

Closed fhteagle closed 1 year ago

fhteagle commented 1 year ago

So my OpenEVSE is being really stubborn about connecting to my Wifi the past couple of days. Not reachable on the network.

I get console output in the terminal I launched nvm run dev from:

8:08:52 AM [vite] http proxy error at : Error: connect EHOSTUNREACH LANIPHere:80 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1187:16)

But the UI just looks like it is stuck at 1/3 loaded.

Could we add an error message about this if OpenEVSE cannot be contacted in ~30 seconds or so?

KipK commented 1 year ago

Yep it's undone yet. I'm out for 2 weeks for now ;)

Le dim. 27 nov. 2022, 12:27, D.H @.***> a écrit :

So my OpenEVSE is being really stubborn about connecting to my Wifi the past couple of days. Not reachable on the network.

I get console output in the terminal I launched nvm run dev from:

8:08:52 AM [vite] http proxy error at : Error: connect EHOSTUNREACH LANIPHere:80 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1187:16)

But the UI just looks like it is stuck at 1/3 loaded.

Could we add an error message about this if OpenEVSE cannot be contacted in ~30 seconds or so?

— Reply to this email directly, view it on GitHub https://github.com/KipK/openevse-gui-v2/issues/16, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADXKVMJZKRPBCM3F2RONM3WKN4UXANCNFSM6AAAAAASMSG5HA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

KipK commented 1 year ago

I've fixed this for the initial fetchData. I'll have to do the same for the web socket