Skip to content
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

Tapo IPCam - Server returned 401 Unauthorized (authorization failed) BUT Motion detection screenshot is correct #3035

Open
lmarceg opened this issue Jun 2, 2024 · 1 comment

Comments

@lmarceg
Copy link

lmarceg commented Jun 2, 2024

Hi,
I have been using MotionEyeOS for years already.
I am using 0.41rc1, Motion version 4.2.2, motionEyeOS dev20190820

I have two cameras (TAPO external and a Tapo C210 internal) all setup correctly and they work fine.
I have just bought a third camera (TAPO C210) and since I already had a third camera, I stopped the motioneyeos server, edited the camera-1.conf, modified all the data etc and fired up the server again.
But the new camera can't be found, I always get the same error:

[3:ml3:Cantina] [ERR] [NET] netcam_rtsp_open_context: Normal resolution: Unable to open camera(Cantina): Server returned 401 Unauthorized (authorization failed)

With VLC, the stream works fine, so the credentials are correct, both for SD and HD.
I removed the camera and added it manually (via the GUI) but I get the same error.

I just don't know what to look for. Any ideas?
Thanks!

@lmarceg lmarceg changed the title Tapo IPCam - Server returned 401 Unauthorized (authorization failed) Tapo IPCam - Server returned 401 Unauthorized (authorization failed) BUT Motion detection screenshot is correct Jun 5, 2024
@lmarceg
Copy link
Author

lmarceg commented Jun 5, 2024

I just wanted to add that tonight I have received a notification for a motion detection on the camera for which I have the authentication failure. So basically MotioneyeOS cannot connect to the camera but it detects motion and even sends me a picture of the motion!
How can this be ?!

This is what I see in the web interface
Screenshot 2024-06-05 090630

But I gort the correct notification
IMG_6793

On top, I have tried this command, and it works

[root@MotionEyeOS etc]# curl -s http://localhost:7999/1/detection/connection
Camera Cantina 
Camera 1 -- Cantina Connection OK 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant