core: Fetch snapshot failing to FFmpeg
The problem
The snapshot fetch is failing, and thus, falling back to FFmpeg.
This was working before, I’m not sure when this was broken. Versions 0.117.6 and 0.118.0 have the problem.
Environment
- Home Assistant Core release with the issue: 0.118.0
- Last working Home Assistant Core release (if known): Not too sure, I think 0.116.x was working.
- Operating environment (OS/Container/Supervised/Core): OS
- Integration causing this issue: ONVIF
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/onvif/
Problem-relevant configuration.yaml
None.
Traceback/Error logs
2020-11-19 08:26:20 ERROR (MainThread) [homeassistant.components.onvif] Fetch snapshot image failed from Cámara pasillo, falling back to FFmpeg; Unknown error: peer closed connection without sending complete message body (received 99 bytes, expected 973)
Additional information
None.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 4
- Comments: 29 (6 by maintainers)
Possibly related to #42020. Could you test by editing
.storage/config_entriesand changingsnapshot_authfor the camera to eitherbasicordigest(the opposite of whatever it is currently set to) and restarting HA?Tried chaning my username and password using only letters/numbers as mentioned above, changed from “digest” to “basic” and restarted. No luck.
Using a Reolink E1 Pro, on HAOS 2023.3.6
This is wasting an absurd amount of log space, and makes it really difficult to find other things in the log…even a suggestion to suppress the entries would be welcome as a workaround.
Or is there a way to just tell HA not to fetch the snapshot?
Problem still present on 2023.3.5
same error today
I’m running Home Assistant Core version 2020.12.2 and I’m having the exact same issue with my two ONVIF cameras (Hikvision). I tried changing the auth more from digest to basic but the issue persists. Any other ideas?
Also, how can I see the snapshot URL that HA is trying to fetch?