Error getting new camera image - snapshot not show

Hello good evening, I wanted to tell you that after the last update some of my cameras stopped showing the snapshot, this is the error message that I get in the logs.

Error getting new camera image from Camera2: peer closed connection without sending complete message body (received 11200 bytes, expected 11248)

Before updating they worked correctly. my configuration is the following,

If I paste the still_image url in my browser it shows me the snapshot. so communication to the DVR is there and it works in the browser, but not within Homeassistant.

Could it be a bug? or should I modify some parameter?

sorry for my bad english
Gabriel

Hello good morning, does anyone know if the parameter, “still_image_url:” stopped working for generic cameras?

Having same issue after latest upgrade, none of my cameras work now… :cry:

Hello C-soft I leave you the form that I use to solve it temporarily.

I use an older version of camera.py and it works again.

Attached link of the version that I put.

1 Like

Having the same issue since last core update as well.

You can use the attached camera.py to fix the problem temporarily.

Is there an issue opened on Github for this?

EDIT: I couldn’t find an open issue for this; so, I open a new one here:

1 Like

Hello good night, I once opened a ticket on github, I am attaching the link if you want to follow the thread

Greetings

https://github.com/home-assistant/core/issues/47511

1 Like

Thanks. It doesn’t look like the developer is working on a fix for the issue you opened. I don’t think using an older version of camera.py is a good long-term solution for everyone affected by the issue.

1 Like

I agree with you. At the time I proposed that there be a second generic camera option for older cameras or with this problem.

Changing the camera.py after an upgrade is a bit annoying.

Let’s hope they find a solution …