[Camera Support]: Server returned 401 Unauthorized (authorization failed) #11214
-
Describe the problem you are havingi have 3 cameras, they're the same brand, have the same password (yeah, i know.) and are configured exactly the same. i have added them with the exact same config under cameras: user and password are working perfectly fine when using it via the camera web interface. Version0.13.2-6476F8A Frigate config filefeeling uncomfortable to post sensitive data. redacted config is visible via screenshot above Relevant log output2024-05-03 09:14:03.782963790 [2024-05-03 09:14:03] watchdog.camera_name ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-05-03 09:14:03.782964741 [2024-05-03 09:14:03] ffmpeg.camera_name.detect ERROR : [rtsp @ 0x559cb54eae00] method DESCRIBE failed: 401 Unauthorized
2024-05-03 09:14:03.782965703 [2024-05-03 09:14:03] ffmpeg.camera_name.detect ERROR : rtsp://*:*@camera-uri:554/h264Preview_01_sub: Server returned 401 Unauthorized (authorization failed)
2024-05-03 09:14:03.822773356 [2024-05-03 09:14:03] ffmpeg.camera_name.record ERROR : [rtsp @ 0x562c692f0f40] method DESCRIBE failed: 401 Unauthorized
2024-05-03 09:14:03.822775160 [2024-05-03 09:14:03] ffmpeg.camera_name.record ERROR : rtsp://*:*@camera-uri:554/h264Preview_01_main: Server returned 401 Unauthorized (authorization failed) FFprobe output from your camera[rtsp @ 0x5635e2c88700] method DESCRIBE failed: 401 Unauthorized
rtsp://user:pass@camera-uri:554/h264Preview_01_main: Server returned 401 Unauthorized (authorization failed) Frigate statsNo response Operating systemDebian Install methodDocker Compose Coral versionCPU (no coral) Network connectionWired Camera make and modelReolink Zoom E1 Any other information that may be helpfuli am aware what the logs and ffprobe says but maybe you guys have an idea? it seems to be a reolink issue. maybe someone else had this already? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
after a lot of grey and pulled out hair i found what the issue is and i wanted to document it in here, should someone else have the same problem. the issue was, that the url was too long for the reolink camera. i was using an FQDN to access the camera via rtsp and that resulted in the 401. when using the IP or only the host name it worked just fine. so, make sure you check the length oif the fqd. i believe it can not be more than 32 charactors or it just always throws the 401 error. |
Beta Was this translation helpful? Give feedback.
-
I was also having a 401 Unauthorized Error and this was the solution to it for me and Docker Wyze Bridge: just sharing in case people find your issue and are looking for other paths forward. |
Beta Was this translation helpful? Give feedback.
after a lot of grey and pulled out hair i found what the issue is and i wanted to document it in here, should someone else have the same problem.
the issue was, that the url was too long for the reolink camera. i was using an FQDN to access the camera via rtsp and that resulted in the 401. when using the IP or only the host name it worked just fine.
so, make sure you check the length oif the fqd. i believe it can not be more than 32 charactors or it just always throws the 401 error.