WebLaunch fullscreen browser crash after few hours
Hi,
this may be hard to crack, I wonder if anyone has any advice. I was planning to use Kindle Touch as Smart Home control panel. Just a local HTML page doing regular HTTP (REST) calls and displaying results. My test page runs JavaScript code every second, doing screen updates (and calling JQuery ajax method every 30 seconds). It crashes after several hours of flawless operation (ie. overnight) - you can see the error message in the attachment. The calls are to localhost, to my tiny python sever which forwards the call to Smart home (mainly handles the HTTP authentication, which doesn't work reliably from WAF (for some reason, it sometimes displays a popup asking for a login and password although I have filled that in JavaScript)).
The crash happened to me twice already (I haven't been testing it for longer, so it seems it does crash always, eventually). I have been monitoring free memory via SSH, seems not to drop down significantly, at least not in the first several hours.
This basically destroys my plan to use it as a permanent Smart Home control panel on the wall.
Any advice, tip?
I was thinking of workaround - in the Python script I could trigger an action if no request came in for certain amount of time. Is there a way to start KUAL extension (WebLaunch) from a command line? This way I could restart WebLaunch as soon as it crashes.
I liked the idea of developing it in HTML since it's very flexible and rather easy, compared to let's say custom Python PyGTK app.
|