Tonight I had a spectacular crash again. It could have started at 3:00 AM. The log is missing for the early phase but this is one of the log messages that appeared:
Caused by: java.lang.OutOfMemoryError: Java heap space
2018-12-15 03:00:39.261 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 11248870 failed: HttpConnectionOverHTTP@364ff325(l:/127.0.0.1:60850 <-> r:localhost/127.0.0.1:8080,closed=false)[HttpChannelOverHTTP@32165ec3(exchange=HttpExchange@44f2f639 req=TERMINATED/null@null res=PENDING/null@null)[send=HttpSenderOverHTTP@3135e416(req=QUEUED,snd=COMPLETED,failure=null)[HttpGenerator@78aaffce{s=START}],recv=HttpReceiverOverHTTP@78ca465e(rsp=IDLE,failure=null)[HttpParser{s=CLOSED,0 of 0}]]]
2018-12-15 03:00:39.259 [WARN ] [e.jetty.util.thread.QueuedThreadPool] -
java.lang.OutOfMemoryError: Java heap space
Could this be related to the fact that myOpenHAB went off-line for maintenance around the same time?
I have now uninstalled the CloudConnector binding and will wait to see what happens.
I have also recently installed a reverse proxy (nginx) with encryption (https) and authentication for remote access like you. Only issue there is that grafana graphs are not visible since they are on a different port. I might have to change to Apache2.