Closed zacofany closed 7 years ago
I believe your camera takes down the openHAB server by denial-of-service when it's malfunctioning. Please try F12 in Chrome and report errors in red in the Console and also failed network requests in the Network tab.
Hi, I have Foscam cameras at home. I use happabel's IMAGE and Template widget to view MJPEG streams from these cameras. Sometimes MJPEG stream goes down, but camera still works in h.264 stream. However if something like this happen then I get the following WARN in openhab2 log: [WARN ] [org.openhab.io.net.http.HttpUtil ] - Method failed: HTTP/1.1 503 Service Not Available for example: 2017-04-09 21:55:53.902 [WARN ] [org.openhab.io.net.http.HttpUtil ] - Method failed: HTTP/1.1 503 Service Not Available 2017-04-09 21:55:53.926 [WARN ] [org.openhab.io.net.http.HttpUtil ] - Method failed: HTTP/1.1 503 Service Not Available 2017-04-09 21:55:58.643 [WARN ] [org.openhab.io.net.http.HttpUtil ] - Method failed: HTTP/1.1 503 Service Not Available 2017-04-09 21:55:58.679 [WARN ] [org.openhab.io.net.http.HttpUtil ] - Method failed: HTTP/1.1 503 Service Not Available 2017-04-09 21:56:03.384 [WARN ] [org.openhab.io.net.http.HttpUtil ] - Method failed: HTTP/1.1 503 Service Not Available 2017-04-09 21:56:03.416 [WARN ] [org.openhab.io.net.http.HttpUtil ] - Method failed: HTTP/1.1 503 Service Not Available 2017-04-09 21:56:08.185 [WARN ] [org.openhab.io.net.http.HttpUtil ] - Method failed: HTTP/1.1 503 Service Not Available 2017-04-09 21:56:08.211 [WARN ] [org.openhab.io.net.http.HttpUtil ] - Method failed: HTTP/1.1 503 Service Not Available 2017-04-09 21:56:12.927 [WARN ] [org.openhab.io.net.http.HttpUtil ] - Method failed: HTTP/1.1 503 Service Not Available 2017-04-09 21:56:12.957 [WARN ] [org.openhab.io.net.http.HttpUtil ] - Method failed: HTTP/1.1 503 Service Not Available 2017-04-09 21:56:17.695 [WARN ] [org.openhab.io.net.http.HttpUtil ] - Method failed: HTTP/1.1 503 Service Not Available 2017-04-09 21:56:17.733 [WARN ] [org.openhab.io.net.http.HttpUtil ] - Method failed: HTTP/1.1 503 Service Not Available 2017-04-09 21:56:22.451 [WARN ] [org.openhab.io.net.http.HttpUtil ] - Method failed: HTTP/1.1 503 Service Not Available 2017-04-09 21:56:22.479 [WARN ] [org.openhab.io.net.http.HttpUtil ] - Method failed: HTTP/1.1 503 Service Not Available 2017-04-09 21:56:27.115 [WARN ] [org.openhab.io.net.http.HttpUtil ] - Method failed: HTTP/1.1 503 Service Not Available 2017-04-09 21:56:27.155 [WARN ] [org.openhab.io.net.http.HttpUtil ] - Method failed: HTTP/1.1 503 Service Not Available 2017-04-09 21:56:31.893 [WARN ] [org.openhab.io.net.http.HttpUtil ] - Method failed: HTTP/1.1 503 Service Not Available 2017-04-09 21:56:31.930 [WARN ] [org.openhab.io.net.http.HttpUtil ] - Method failed: HTTP/1.1 503 Service Not Available 2017-04-09 21:56:36.942 [INFO ] [eclipse.smarthome.model.script.Rules] - Converting temperatures
In such situation Habpanel stops refresh itself and says in red colour that it's disconnected from Openhab. All goes back to normal after restarting camera. I believe it's bug.