So ever since the new Synology DSM integration is now the ‘way to go’ I’ve been having many issues. One of them is that I had to disable 2FA, and now I’m getting loads and loads of 401 errors when I put camera’s on my dashboard (even when I’m not viewing!’.
av.error.HTTPUnauthorizedError: [Errno 825242872] Server returned 401 Unauthorized (authorization failed): 'rtsp://syno:[email protected]:554/Sms=4.unicast'; last error log: [rtsp] method DESCRIBE failed: 401 Unauthorized
2020-11-04 21:33:56 ERROR (stream_worker) [libav.rtsp] method DESCRIBE failed: 401 Unauthorized
2020-11-04 21:33:56 ERROR (stream_worker) [homeassistant.components.stream.worker] Stream connection failed: rtsp://syno:[email protected]:554/Sms=4.unicast
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 54, in stream_worker
_stream_worker_internal(hass, stream, quit_event)
File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 71, in _stream_worker_internal
container = av.open(stream.source, options=stream.options, timeout=STREAM_TIMEOUT)
File "av/container/core.pyx", line 354, in av.container.core.open
File "av/container/core.pyx", line 225, in av.container.core.Container.__cinit__
File "av/container/core.pyx", line 257, in av.container.core.Container.err_check
File "av/error.pyx", line 336, in av.error.err_check
So what is wrong here? Is it something to do with rights? I don’t really understand where the user ‘syno’ is coming from with the password? I’ve entered something else for the DSM integration… Also when I try to open the RTSP feed in VLC I keep getting prompted to login, so something is wrong obviously.
I’ve disabled my two cameras on my dashboard and the errors are gone, but that’s no solution obviously. It’s around 3000 errors per day… Not nice to have your logs flooded.