New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MJPEG IP Camera broke in 2023.6 #94877
Comments
Having a similar issue as well. All my other cameras work, but my old Tenvis camera stopped working and HA returns a 502 Bad Gateway when trying to access. |
I am only get this to work by hard coding the creds in the request, but even then only still view refreshes work. Still getting the 502 when clicking the camera to open it. Example: http://IPADDRESS/videostream.cgi?user=admin&pwd=password |
I have the same problem with an old Foscam FI9828P (502 Bad Gateway) My configuration has been with the user/pass in the url since I switched it to the frontend configuration
I also checked the logs, found no errors |
Same problem. After upgrading HA my doorbell mjpeg camera broke. |
I'm having the same issue as well. Worked fine in 2023.5.x Does anybody have any fixes? |
No, still not working. Are there any alternatives? |
I have the same problem with my VStarcam c29. |
I believe I also have this issue. It has also broken notifications for me, as linked above. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Still an issue, the person that upgraded the dependencies seemingly never even bothered to look at this issue/error report. Frustrating at times to be a Home Assistant user. |
Still an issue for me. CORRECTION: I just tried it now and it seems to be working. This must have been resolved in the last two updates. |
Not working for me. Just tested with 2024.1.2 |
There is a problem, cameras are not being added to the new house. http://IP/video/mjpg.cgi |
Can someone facing this issue please post:
|
Still Image URL:
|
Have you tried a simpler password without any special characters? Are you using a username too? Also, what is the make and model? |
The preview works just fine, and that requires the password, its just the live feed that isn’t working.
However I will try a simpler password to see if that works.
It’s a Dlink DCS-5020L
From: Cody C ***@***.***>
Sent: Monday, January 15, 2024 12:17 PM
To: home-assistant/core ***@***.***>
Cc: E. Scott MacBride ***@***.***>; Comment ***@***.***>
Subject: Re: [home-assistant/core] MJPEG IP Camera broke in 2023.6 (Issue #94877)
Have you tried a simpler password without any special characters? Are you using a username too?
Also, what is the make and model?
—
Reply to this email directly, view it on GitHub<#94877 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AULTKOHCIF7GFXI3UHQWNL3YOV6DBAVCNFSM6AAAAAAZMJ5NWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJSGY3DQNBSGA>.
You are receiving this because you commented.Message ID: ***@***.******@***.***>>
|
It looks like your camera supports H.264 which you may find to be more reliable in the mean time. Let us know how you get on with amending your password. |
OK I changed the password and removed the “!” and it still doesn't work.
I will investigate changing the camera to H.264. I assume that will require a different integration than the MJPEG?
Thank for the help!
From: Cody C ***@***.***>
Sent: Monday, January 15, 2024 12:49 PM
To: home-assistant/core ***@***.***>
Cc: E. Scott MacBride ***@***.***>; Comment ***@***.***>
Subject: Re: [home-assistant/core] MJPEG IP Camera broke in 2023.6 (Issue #94877)
It looks like your camera supports H.264<https://eu.dlink.com/si/sl/-/media/consumer_products/dcs/dcs-5020l/manual/dcs5020la1manualv100.pdf> which you may find to be more reliable in the mean time. Let us know how you get on with amending your password.
—
Reply to this email directly, view it on GitHub<#94877 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AULTKODLKARDFQ5SRCSECSDYOWB4LAVCNFSM6AAAAAAZMJ5NWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJSGY4TQNJQHA>.
You are receiving this because you commented.Message ID: ***@***.******@***.***>>
|
Yep, just |
I switched to the generic camera integration and my camera is now working. Thanks to Cody C. |
I've got an old MJPEG-only camera (DCS-932L) and the preview in lovelace (the camera_proxy URL) endpoint is serving 500s, but the live view (the camera_proxy_stream URL) works fine. It's just HTTP basic auth to the camera, alphabetic-only username and password. I can specify the URL as If I try to specify both forms of authentication, then I do get a log message about how it can't combine the credentials and that things are misconfigured, so I'm extra mystified by the seeming no-log 500 being served. I hope that's useful information! |
No sooner than I write that comment, I realized that somehow the |
I picked up an old DCS-930L (circa 2010) camera to test with to fix #94877
I picked up an old DCS-930L (circa 2010) camera to test with to fix #94877
I picked up an old DCS-930L (circa 2010) camera to test with to fix #94877
I picked up an old DCS-930L (circa 2010) camera to test with to fix #94877
…112861) * Fix MJPEG fallback when still image URL is missing with basic auth I picked up an old DCS-930L (circa 2010) camera to test with to fix #94877 * Fix MJPEG fallback when still image URL is missing with basic auth I picked up an old DCS-930L (circa 2010) camera to test with to fix #94877 * Fix MJPEG fallback when still image URL is missing with basic auth I picked up an old DCS-930L (circa 2010) camera to test with to fix #94877 * Fix MJPEG fallback when still image URL is missing with basic auth I picked up an old DCS-930L (circa 2010) camera to test with to fix #94877
…112861) * Fix MJPEG fallback when still image URL is missing with basic auth I picked up an old DCS-930L (circa 2010) camera to test with to fix #94877 * Fix MJPEG fallback when still image URL is missing with basic auth I picked up an old DCS-930L (circa 2010) camera to test with to fix #94877 * Fix MJPEG fallback when still image URL is missing with basic auth I picked up an old DCS-930L (circa 2010) camera to test with to fix #94877 * Fix MJPEG fallback when still image URL is missing with basic auth I picked up an old DCS-930L (circa 2010) camera to test with to fix #94877
The problem
After installing 2023.6 the MJPEG IP Camera integration for my very old D-Link camera broke. It has worked for many years and rolling back to 2023.5 it works "again". I see that something was changed regarding http client and authentication.
I use a url in the format http://username:password@192.168.x.x/image/jpeg.cgi. Opening the url directly in the browser still works but the MJPEG IP Camera integration does not (only shows broken image).
What version of Home Assistant Core has the issue?
core-2023.6.2
What was the last working version of Home Assistant Core?
core-2023.5.4
What type of installation are you running?
Home Assistant OS
Integration causing the issue
MJPEG IP Camera
Link to integration documentation on our website
https://www.home-assistant.io/integrations/mjpeg
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: