Big Crash....... ???
-
Last night at 22.30 I checked MYC to see if all was well. It wasn't. The first graph I looked at had stopped getting data at about 20.35. The next sensors also stopped at that time.
Looking in more detail, there were HUGE spikes in temperature. The loft which was a cool 24C suddenly registered over 850C and the hot water in the kitchen went to over 9000C !!!!!
Then I looked into resources->nodes and was shocked to see 6(!) Mys gateways with random id's and all my nodes were totally screwed up. Nodes that never had batteries were reporting battery levels, Nodes suddenly became repeater nodes and sensor values were all muddled (pressure sensor reporint humidity and so on).....
Sensor widgets lost their data as did many graphs.
I don't know what caused this. No electrical storms and no power cuts. May be it was a power surge of some type, but nothing else was affected.
The log for this incident contains a long break in information, but included here for completeness.
2017-08-14 16:25:14,008 WARN [Quartz_Scheduler_Worker-3] [org.mycontroller.standalone.rule.McRuleEngine:120] Scheduled Rule execution skipped. Engine not available for more than 4000 ms [Mon Aug 14 18:27:15 BST 2017] IO error: javax.net.ssl.SSLHandshakeException: Received fatal alert: unknown_ca in processing a request from /192.168.1.6:8443 / sun.security.ssl.SSLSocketImpl [Mon Aug 14 18:27:16 BST 2017] IO error: javax.net.ssl.SSLHandshakeException: Received fatal alert: unknown_ca in processing a request from /192.168.1.6:8443 / sun.security.ssl.SSLSocketImpl [Mon Aug 14 22:07:37 BST 2017] IO error: javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Received fatal alert: unknown_ca in processing a request from /192.168.1.6:8443 / sun.security.ssl.SSLSocketImpl 2017-08-14 22:11:47,161 ERROR [Thread-7] [org.mycontroller.standalone.gateway.serialport.SerialDataListenerjSerialComm:94] Exception, java.lang.NegativeArraySizeException: null at org.mycontroller.standalone.gateway.serialport.SerialDataListenerjSerialComm.serialEvent(SerialDataListenerjSerialComm.java:59) at com.fazecast.jSerialComm.SerialPort$SerialPortEventListener.waitForSerialEvent(SerialPort.java:937) at com.fazecast.jSerialComm.SerialPort$SerialPortEventListener$1.run(SerialPort.java:885) at java.lang.Thread.run(Thread.java:745) [Mon Aug 14 22:11:49 BST 2017] Accept: java.net.SocketException: Socket closed [Mon Aug 14 22:11:49 BST 2017] Unexpected problem running servlet org.jboss.resteasy.spi.UnhandledException: RESTEASY003770: Response is committed, can't handle exception at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:167) at org.jboss.resteasy.core.SynchronousDispatcher.writeResponse(SynchronousDispatcher.java:471) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:415) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:202) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56) at org.jboss.resteasy.plugins.server.tjws.TJWSServletDispatcher.service(TJWSServletDispatcher.java:40) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at Acme.Serve.Serve$ServeConnection.runServlet(Serve.java:2328) at Acme.Serve.Serve$ServeConnection.parseRequest(Serve.java:2282) at Acme.Serve.Serve$ServeConnection.run(Serve.java:2054) at Acme.Utils$ThreadPool$PooledThread.run(Utils.java:1402) at java.lang.Thread.run(Thread.java:745) Caused by: java.net.SocketException: Socket is closed at sun.security.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1532) at sun.security.ssl.SSLSocketImpl.checkWrite(SSLSocketImpl.java:1553) at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:71) at java.io.OutputStream.write(OutputStream.java:75) at Acme.Serve.Serve$ServeOutputStream.flush(Serve.java:4889) at Acme.Serve.Serve$ServeOutputStream.close(Serve.java:4923) at org.jboss.resteasy.plugins.server.servlet.HttpServletResponseWrapper$DeferredOutputStream.close(HttpServletResponseWrapper.java:58) at org.jboss.resteasy.util.CommitHeaderOutputStream.close(CommitHeaderOutputStream.java:87) at org.jboss.resteasy.util.DelegatingOutputStream.close(DelegatingOutputStream.java:60) at com.fasterxml.jackson.core.json.UTF8JsonGenerator.close(UTF8JsonGenerator.java:1060) at org.jboss.resteasy.plugins.providers.jackson.ResteasyJackson2Provider.writeTo(ResteasyJackson2Provider.java:209) at org.mycontroller.standalone.api.jaxrs.mixins.McJacksonJson2Provider.writeTo(McJacksonJson2Provider.java:120) at org.jboss.resteasy.core.interception.AbstractWriterInterceptorContext.writeTo(AbstractWriterInterceptorContext.java:131) at org.jboss.resteasy.core.interception.ServerWriterInterceptorContext.writeTo(ServerWriterInterceptorContext.java:60) at org.jboss.resteasy.core.interception.AbstractWriterInterceptorContext.proceed(AbstractWriterInterceptorContext.java:120) at org.jboss.resteasy.plugins.interceptors.encoding.GZIPEncodingInterceptor.aroundWriteTo(GZIPEncodingInterceptor.java:100) at org.jboss.resteasy.core.interception.AbstractWriterInterceptorContext.proceed(AbstractWriterInterceptorContext.java:124) at org.jboss.resteasy.core.ServerResponseWriter.writeNomapResponse(ServerResponseWriter.java:98) at org.jboss.resteasy.core.SynchronousDispatcher.writeResponse(SynchronousDispatcher.java:466) ... 12 more
So, any ideas what happened? This has dented my confidence a little. Maybe I can put a better oiwer supply with UPS on this pi, I have all the things I need to build one (except time OFC)...
I'm stumped! ???
-
-
Log sent.
#is there a way to back up and restore when this happens#?
-
@skywatch Thank you for the email.
#is there a way to back up and restore when this happens#?
Yes, you can schedule backup for every hour once. If something goes unrecoverable. do restore from the last backup.