Open grantland opened 6 months ago
Are you sure you using latest go2rtc version?
Yes, I'm on version 1.8.4
For what it's worth I just restarted Frigate and therefore go2rtc and now both cameras are now showing the 401 Unauthorized error
Have you upgrade firmware before this problem?
I have not. c120_A_stream1
is relatively new, has been deployed with 1.1.7, and working for at least a week prior to this issue. c120_B_stream1
is brand new, also on 1.1.7, and was working for a day or so before this issue.
Well. I have same issue with my TC60 camera. You need to open stream from mobile app once and all will be fixed.
I am suffering same issue with C210. After trying clear test, md5 and sha256 combinations. Thanks in advance.
Well. I have same issue with my TC60 camera. You need to open stream from mobile app once and all will be fixed.
Do you mean just opening it from the Tapo app? If so, I've done this and the issue still persists
I just purchased C520WS. I have the 401 unauthorized error, when using tapo protocol. The camera's firmware is 1.2.6. I am running go2rtc 1.5. I did not use go2rtc 1.8.5, because my two-way audio with Amcrest camera was lagging. So, I am using go2rtc 1.5 for the moment. BTW, I used both MD5 and SHA256, got same error.
You need to open stream from the tapo mobile app once.
Thanks very much for your quick response.
Yes. I saw your earlier comments, and did open the tapo app. But still got the same error.
I tried to login to the camera via its IP address. But I saw no content. However, it provided some connection info, including SHA-256 fingerprint. But it is different from that I created using the app password (I didn't sign up for cloud service), which I think is the cloud password, using the echo command you provided in your document.
Regards.
Benjamin Chen
On Thu, Feb 29, 2024, 10:05 AM Alex X @.***> wrote:
You need to open stream from the tapo mobile app once.
— Reply to this email directly, view it on GitHub https://github.com/AlexxIT/go2rtc/issues/849#issuecomment-1971580697, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUEOBEL4YERUVQZHG72GHZ3YV5PWFAVCNFSM6AAAAABBF6M4KOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZRGU4DANRZG4 . You are receiving this because you commented.Message ID: @.***>
Same issues, none of my tapo cameras work with tapo protocol. They work with RSTP though.
I wonder if the cause why this isn't working could be the same as to why the HASS integration for Tapo is also experiencing issues. It appears TP-Link are rolling out a security fix in waves which most likely broke the way go2rtc was making the connection to the cameras. The only workaround seems to be a factory reset followed by blocking internet access for the cameras which is unacceptable for me as I am using the cloud storage subscription.
https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/551
@AlexxIT reach out to me in discord if you want and are affected as well, i can provide more details about what is going on and might be able to help find the solution for both of us. I am not affected yet unfortunately.
Same issue here. My C320WS, C200, C100 and C220 all started to show the same 401 unauthorized error, after restarting my frigate & go2rtc instance today. I reverted to rtsp streams for now, but that sucks. Note, there was no prompt for a firmware update on these cameras in the tapo app. It has to be something OTA though. If there are any logs i can provide you to help you track this, will be glad to help.
@AlexxIT reach out to me in discord if you want and are affected as well, i can provide more details about what is going on and might be able to help find the solution for both of us. I am not affected yet unfortunately.
My Tapo integration in HASS was working fine even with latest firmware until I changed my tapo password which broke all my cameras. I only changed it because I was setting up the tapo integration in go2rtc.
Is go2rtc working for you?
Same issue for tapo protocol.
WRN [rtsp] error="streams: 401 Unauthorized" stream=garage_camera
edit: Tried few more options and it only breaks when SHA or MD5 password is used.
Reseting the camera, re-adding it to tapo app and immediately blocking internet access for it, seems to do the trick for now on the latest firmware (1.3.13) for C200. It has to be something server side that gets provisioned as soon as the camera calls home.
@JurajNyiri thanks, maybe later
ArbiterGR
401 unautorized here too though I can't get rtsp streams to work. Do you still have them running?
ArbiterGR
401 unautorized here too though I can't get rtsp streams to work. Do you still have them running?
Yes, RTSP streams are running fine for all my tapo cameras. It sucks though that i'm missing out on 2way microphone :/ Just Make sure you create a local account/password in tapo app -> camera -> advanced settings -> local account for them to work.
ArbiterGR
401 unautorized here too though I can't get rtsp streams to work. Do you still have them running?
Yes, RTSP streams are running fine for all my tapo cameras. It sucks though that i'm missing out on 2way microphone :/ Just Make sure you create a local account/password in tapo app -> camera -> advanced settings -> local account for them to work.
I have those account set and I used to get rtsp before but now I can't. Was using go2rtc's tapo protocol of course and don't know since when they stopped working. Now that tapo is not going to work for a while need to get back to rtsp. Tried all of these combination:
rtsp://ip/stream1 rtsp://user:pass@ip/stream1 rtsp://user:sha256(pass)@ip:554/stream1 rtsp://user:md5(pass)@ip:554/stream1
also tried adding :554 port.
ArbiterGR
401 unautorized here too though I can't get rtsp streams to work. Do you still have them running?
Yes, RTSP streams are running fine for all my tapo cameras. It sucks though that i'm missing out on 2way microphone :/ Just Make sure you create a local account/password in tapo app -> camera -> advanced settings -> local account for them to work.
I have those account set and I used to get rtsp before but now I can't. Was using go2rtc's tapo protocol of course and don't know since when they stopped working. Now that tapo is not going to work for a while need to get back to rtsp. Tried all of these combination:
rtsp://ip/stream1 rtsp://user:pass@ip/stream1 rtsp://user:sha256(pass)@ip:554/stream1 rtsp://user:md5(pass)@ip:554/stream1
also tried adding :554 port.
What works for me is: rtsp://username:password@camera_ip:554/stream1 . Stream 1 for high res stream, Stream 2 for the lower res. username and password in plaintext, Did you trie deleting the local account from the tapo app and recreate it ?
Tapo RTSP user/pass not related to cloud user/pass. They are totally different.
I have two C120 units on the same Tapo Cloud account and am having authentication issues using the Tapo Protocol
tapo://
on only one of them.My config:
Using the
stream
link forc120_B_2way
results in a viewer with the following errors, while using thestream
link forc120_A_2way
works just fine:webrtc/offer: streams: 401 Unauthorized
and sometimesmse: streams: 401 Unauthorized
Unsure if related, but I'm seeing the following logs:
What's weird is that I was originally having this issue with both
c120_A_2way
andc120_B_2way
and found #781 so I attempted to remove and reconnectc120_B_2way
. After,c120_A_2way
started working again andc120_B_2way
still didn't work.Also before I reconnected
c120_B_2way
, I attempted to usetapo://{cloud-password}@{IP_A}
and changed by password to not have special characters and this didn't resolve anything.Lastly, the normal RTSP streams for both A and B work just fine and I've double checked that the passwords between
c120_A_2way
andc120_B_2way
are the same as well as the IPs onc120_B_stream1
andc120_B_2way
are the same.