AlexxIT / WebRTC

Home Assistant custom component for real-time viewing of almost any camera stream using WebRTC and other technologies.
https://github.com/AlexxIT/Blog
MIT License
1.41k stars 165 forks source link

TAPO cameras failling after firmware update #603

Closed CoYoNq closed 9 months ago

CoYoNq commented 9 months ago

One of my Tapo C310 hw v2.0 receive an update (new version is 1.3.9) and, after this, cannot be accessed anymore by WebRTC HASS integration. I didn't update my another C310 and still working fine. Looks like new firmware changes something in the auth process (it ends in "streams: wrong response on DESCRIBE, 401 Unauthorized"

Log:

023-11-13 19:06:51.201 DEBUG (webrtc) [custom_components.webrtc.utils] 19:06:51.201 INF go2rtc version 1.8.1 linux/arm64
2023-11-13 19:06:51.203 DEBUG (webrtc) [custom_components.webrtc.utils] 19:06:51.202 INF [api] listen addr=0.0.0.0:1984
2023-11-13 19:06:51.206 DEBUG (webrtc) [custom_components.webrtc.utils] 19:06:51.204 INF [rtsp] listen addr=0.0.0.0:8554
2023-11-13 19:06:51.206 DEBUG (webrtc) [custom_components.webrtc.utils] 19:06:51.205 INF [webrtc] listen addr=0.0.0.0:8555/tcp
2023-11-13 19:07:02.694 DEBUG (MainThread) [custom_components.webrtc] New client: {'authSig': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJkZWEwZGJmYjU1MzY0Y2QyYjQwMDg2OTg2NTE3ZTM4ZiIsInBhdGgiOiIvYXBpL3dlYnJ0Yy93cyIsInBhcmFtcyI6W10sImlhdCI6MTY5OTkxMzIyMiwiZXhwIjoxNjk5OTEzMjUyfQ.JzOUGuwbzvfNQbLWf4GnSPOL1PGGN9CHF8B6jzasCFQ', 'url': 'rtsp://10.0.0.253:8554/c310puerta?mp4'}
2023-11-13 19:07:06.037 DEBUG (webrtc) [custom_components.webrtc.utils] 19:07:06.037 ERR github.com/AlexxIT/go2rtc/internal/mjpeg/init.go:166 > error="streams: wrong response on DESCRIBE, 401 Unauthorized"

Please, ask me for any other info i can provide to help solve this issue. Thanks!

UPDATE: one of my C100 updates too and shows same issue. The other ones still with old firmware and working fine.

AlexxIT commented 9 months ago

https://github.com/AlexxIT/go2rtc/issues/733