Closed Claudio1L closed 2 years ago
I don’t see WebRTC video feed in dashboard either after updating HA to 2022.7.0. However, I cannot see MotionEye cameras in dashboard too, despite they are displayed in MotionEye config. I think this is an issue related to how the cameras are handled in dashboards in the new HA version, not with WebRTC or MotionEye integrations themselves. Just saying in case it gives a clue about where the problem is.
+1
+1 here. I get Login failed. Though the same rtsp in VLC works just fine.
Same here after upgrading to 2022.7.0.
+1 same here
Same problem, login failed, ban ip :-)
Just in case it helps, I just realized that MotionEye cameras started working again in dashboards. However, WebRTC cameras don't, so it seems the issue is related to some sort of HA Core 2022.7.0 - WebRTC compatibility issue. I have read somewhere that it could be related to the fact that python version was updated in HA Core 2022.7.0, so it might be needed to update WebRTC accordingly.
same as #318 also you can use the fix in #318
same as #318 also you can use the fix in #318
not working for me. For this reason opened another bug
@Claudio1L did you follow the steps? it is the same bug..!
I've tested it on android, edge, chrome and an old android (had to clear cache and reboot) tested from LAN and WAN both fully functional with Sound. when you use ip-ban make sure you don't open the stream until you cleared the cache, else it will put your ip on the list.
@miit86 just did again from scratch. Removed webrt integration, redownloaded from hacs, rebooted, applied https://github.com/AlexxIT/WebRTC/pull/320/commits/38c77b400f86f20a42e0b8103bb01f6a0a7377eb
rebooted
results:
The only point I don't understand is the following: I have no reference related to IP_Ban in the configuration.yaml Have to add something?
@Claudio1L
did you clear the cache on your android or browser? can you try a inprivate window?
no if you don't use the ipban in you config. you dont have to worry about getting banned.
Yes, cleared everything, used different browsers from my Mac. Nothing
On 7 Jul 2022, at 14:06, miit86 @.***> wrote:
@Claudio1L https://github.com/Claudio1L did you clear the cache on your android or browser? no if you don't use the ipban in you config. you dont have to do anyhting
— Reply to this email directly, view it on GitHub https://github.com/AlexxIT/WebRTC/issues/321#issuecomment-1177503879, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXK6MPTJBIGTOEQSVVKXRBLVS3B4DANCNFSM524CXYVQ. You are receiving this because you were mentioned.
hmmzz, I havent got a mac, so I can't test it for you. do you have a windows PC or an Android device. and test it?
Same from a windows vm
On 7 Jul 2022, at 14:10, miit86 @.***> wrote:
hmmzz, I havent got a mac, so I can't test it for you. do you have a windows PC or an Android device. and test it?
— Reply to this email directly, view it on GitHub https://github.com/AlexxIT/WebRTC/issues/321#issuecomment-1177508517, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXK6MPQNMVE5TP53LL3BIT3VS3CJZANCNFSM524CXYVQ. You are receiving this because you were mentioned.
Anyway thanks @miit86 for your effort. Let's wait for a consolidated fix
oke, did you remove the pycache from folder: \config\custom_components\webrtc after your replaced webrtc-camera.js
I replaced the webrtc-camera.js file, removed the pycache folder, restarted HA, cleared browser cache. Still getting the same issue. Feed says restart connection after a few seconds
where do i find webrtc-camera.js file?
@Claudio1L try to apply https://github.com/AlexxIT/WebRTC/pull/320 and remove special characters from camera's login/password (if exists). It works for me. And change "version" at webrtc-camera.js file
@Claudio1L try to apply #320 and remove special characters from camera's login/password (if exists). It works for me. And change "version" at webrtc-camera.js file
was working from 3 month at least. Why should login/password be corrupted now?
+1
+1
for what it's worth..... +1
+1 and I am not using ip_ban
+1 Here! :)
another +1 here
I rolled back while a solution is worked on (I tried the workarounds discussed, but had no success).
On a positive note, I'm happy to report that Home Assistant backup rollback functionality works awesome! Haha
was working from 3 month at least. Why should login/password be corrupted now?
Double URL encoding I think
+1
+1 rolled back to previous HA version and working again.
+1, after the last HA update it isn't working anymore.
It doesn't load the stream from a Windows PC running Chrome. It doesn't load the stream from the iOS Companion App. It doesn't load the stream from Fully Kiosk Browser running on a tablet.
Getting the same error on every device I use:
Login attempt failed Login attempt or request with invalid authentication from blablabla (192.168.1.xxx). See the log for details.
Same problem,
Strange that this happens same time as the camera authorisation problems from Synology DSM... #74630
Also reolink camera issues with 2022.7 HA. https://github.com/fwestenberg/reolink_dev/issues/525#issue-1290622078
Yes, not working even with version 7.1. I replaced the webrtc-camera.js file, removed the pycache folder, restarted HA, cleared browser cache. Tryied with different browsers. Still getting the same issue. Feed says restart connection after a few seconds
after update to core 2022.7.1 Cameras are working again without touching anything! I left there all the fix from https://github.com/AlexxIT/WebRTC/pull/320/commits, I haven't tried without them because I don't want to touch anything now that is working.
@Claudio1L
would you mind to check the version of "webrtc-camera.js" you have. is it the patched one or the original?
Just Curious, because after an update the cache is cleared.
not clear where to check the version of "webrtc-camera.js". I don't see any "version" field inside the file. It should be the orgiginal with applied the fixes from https://github.com/AlexxIT/WebRTC/pull/320/commits
I deleted pycache content multiple times during testing yersterday
unfortunately, from iphone the issue is still there, both in local and from Nabucasa Cloud .
Tryied reinstall WebRTC, confgure from new, bet result the same still not working.
same here. have also ip bans activated and due to connection fails to the cams. HA also bann all my clients which tries to load the lovelace view. `http: ip_ban_enabled: true login_attempts_threshold: 4 use_x_forwarded_for: true trusted_proxies:
@Claudio1L did you follow the steps? it is the same bug..!
I've tested it on android, edge, chrome and an old android (had to clear cache and reboot) tested from LAN and WAN both fully functional with Sound. when you use ip-ban make sure you don't open the stream until you cleared the cache, else it will put your ip on the list.
- you have to replace "webrtc-camera.js"
- remove the pycache from the webrtc folder
- clear the cache from HA app in android.
- clear browsing data in chrome/edge.
This hack work perfectly in 2022.7.0 also 2022.7.1 Thanks
Same here: no stream, but Frigate NVR is recording video and clips.
For me this hack not working always appearing message restart connection.
Hack did not work for me in 7.0 or 7.1
this hack works perfectly ! thanks !!! https://github.com/AlexxIT/WebRTC/pull/320/commits/8f057469562900eaed34ce271d85476a1edeb64a
just replaced the webrtc-camera.js from the latest commit and restarted, get the exact same issue. running 2022.7.1
just replaced the webrtc-camera.js from the latest commit and restarted, get the exact same issue. running 2022.7.1
Not "only replaced" All the step and order are important and then all cameras working fine!
after update to 2022.7, logged "login attempt failed"