hassio-addons / addon-motioneye

motionEye - Home Assistant Community Add-ons

Home Page:https://addons.community

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

update to 0.19.1 from 0.18.0 and the mjpg camera not working, error: "Enable to open video device

AsanovDenis opened this issue · comments

Problem/Motivation

update to 0.19.1 from 0.18.0 and the mjpg cgi camera with low resolution 640x480 not working, error: "Enable to open video device".The application does not show the resolution of the video stream . The browser sees the video stream from the camera, but the HA motioneye extension does not see it.

Expected behavior

(What you expected to happen)

Actual behavior

Steps to reproduce

(How can someone else make/see it happen)

Proposed changes

(If you have a proposed change, workaround or fix,
describe the rationale behind it)
2023-05-02_11-33-28
2023-05-02_11-31-31

I have the same problem,, not working after I have update it

Any news to fix this issue? I have cams that NOT working anymore after I have updated it from 0.19.1

Hello.

LOG from motioneye addon:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
Add-on: motionEye
Simple, elegant and feature-rich CCTV/NVR for your cameras
Add-on version: 0.19.1
You are running the latest version of this add-on.
System: Home Assistant OS 10.1 (amd64 / qemux86-64)
Home Assistant Core: 2023.5.0
Home Assistant Supervisor: 2023.04.1
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-nginx: starting
s6-rc: info: service init-motioneye: starting
backing up /data/motioneye/motioneye.conf
s6-rc: info: service init-nginx successfully started
s6-rc: info: service init-motioneye successfully started
s6-rc: info: service motioneye: starting
s6-rc: info: service motioneye successfully started
s6-rc: info: service nginx: starting
s6-rc: info: service nginx successfully started
s6-rc: info: service discovery: starting
[23:21:42] INFO: Starting motionEye...
configure_logging cmd motioneye: False
configure logging to file: None
INFO: hello! this is motionEye server 0.43.0
INFO: cleanup started
INFO: wsswitch started
INFO: tasks started
INFO: mjpg customer garbage collector has started
INFO: smb mounts started
INFO: server started
[23:21:53] INFO: Starting NGinx...
[23:21:54] INFO: Successfully send discovery information to Home Assistant.
s6-rc: info: service discovery successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
ERROR: Exception in callback test_mjpeg_url..on_response() at /usr/lib/python3.10/site-packages/motioneye/utils/mjpeg.py:119
handle: <Handle test_mjpeg_url..on_response() at /usr/lib/python3.10/site-packages/motioneye/utils/mjpeg.py:119>
Traceback (most recent call last):
File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/lib/python3.10/site-packages/motioneye/utils/mjpeg.py", line 120, in on_response
response = res_future.result()
tornado.curl_httpclient.CurlError: HTTP 599: Empty reply from server
ERROR: Exception in callback test_mjpeg_url..on_response() at /usr/lib/python3.10/site-packages/motioneye/utils/mjpeg.py:119
handle: <Handle test_mjpeg_url..on_response() at /usr/lib/python3.10/site-packages/motioneye/utils/mjpeg.py:119>
Traceback (most recent call last):
File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self.args)
File "/usr/lib/python3.10/site-packages/motioneye/utils/mjpeg.py", line 120, in on_response
response = res_future.result()
tornado.curl_httpclient.CurlError: HTTP 599: Empty reply from server
2023/05/14 23:40:00 [error] 334#334: *3271 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.30.32.2, server: a0d7b954-motioneye, request: "GET /config/list/?
=1683996039323&scheme=http&host=192.168.1.42&port=&path=/video/mjpg.cgi&username=&password=&proto=netcam&_username=admin&signature=870eb3ad77174c5771167dfca3eae33bd50f8c0f HTTP/1.1", upstream: "http://127.0.0.1:28765/config/list/?_=1683996039323&scheme=http&host=192.168.1.42&port=&path=/video/mjpg.cgi&username=&password=&proto=netcam&_username=admin&_signature=870eb3ad77174c5771167dfca3eae33bd50f8c0f", host: "192.168.1.52:8123", referrer: "http://192.168.1.52:8123/api/hassio_ingress/JsN0fh1q0BjI8hhKjR1p7zKTm0o3SEBDdah_ytTfUT4/"
2023/05/14 23:43:21 [error] 334#334: *3466 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.30.32.2, server: a0d7b954-motioneye, request: "GET /config/list/?
=1683996240503&scheme=http&host=192.168.1.42&port=&path=/video/mjpg.cgi&username=&password=&proto=netcam&_username=admin&_signature=eeb155a17526c0f88c948ae85b99f28692bd21cb HTTP/1.1", upstream: "http://127.0.0.1:28765/config/list/?_=1683996240503&scheme=http&host=192.168.1.42&port=&path=/video/mjpg.cgi&username=&password=&proto=netcam&_username=admin&_signature=eeb155a17526c0f88c948ae85b99f28692bd21cb", host: "192.168.1.52:8123", referrer: "http://192.168.1.52:8123/api/hassio_ingress/JsN0fh1q0BjI8hhKjR1p7zKTm0o3SEBDdah_ytTfUT4/"
INFO: adding new netcam camera with id 3...
ERROR: Exception in callback test_mjpeg_url..on_response() at /usr/lib/python3.10/site-packages/motioneye/utils/mjpeg.py:119
handle: <Handle test_mjpeg_url..on_response() at /usr/lib/python3.10/site-packages/motioneye/utils/mjpeg.py:119>
Traceback (most recent call last):
File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/lib/python3.10/site-packages/motioneye/utils/mjpeg.py", line 120, in on_response
response = res_future.result()
tornado.curl_httpclient.CurlError: HTTP 599: Operation timed out after 10000 milliseconds with 1141015 bytes received
INFO: removing camera config file /data/motioneye/camera-3.conf...
INFO: adding new netcam camera with id 3...
ERROR: Exception in callback test_mjpeg_url..on_response() at /usr/lib/python3.10/site-packages/motioneye/utils/mjpeg.py:119
handle: <Handle test_mjpeg_url..on_response() at /usr/lib/python3.10/site-packages/motioneye/utils/mjpeg.py:119>
Traceback (most recent call last):
File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/lib/python3.10/site-packages/motioneye/utils/mjpeg.py", line 120, in on_response
response = res_future.result()
tornado.curl_httpclient.CurlError: HTTP 599: Operation timed out after 10001 milliseconds with 489769 bytes received
ERROR: mjpg client timed out receiving data for camera 3 on port 9083
ERROR: mjpg client timed out receiving data for camera 3 on port 9083
ERROR: mjpg client timed out receiving data for camera 3 on port 9083
ERROR: mjpg client timed out receiving data for camera 3 on port 9083
ERROR: mjpg client timed out receiving data for camera 3 on port 9083

And do not work downgrade to 18.0 version, because backup incomplete.

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!