cameradar: Digest authentication no longer works
Context
Both binary and docker releases
Any commit since digest authentication was added
Environment
Any OS
Issue
Making any requests with digest authentication causes the following issue:
* Trying 127.0.0.1:8554...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 8554 (#0)
* Server auth using Digest with user 'ubnt'
> DESCRIBE rtsp://ubnt:administrator@127.0.0.1:8554/live.sdp RTSP/1.0
CSeq: 1
Accept: application/sdp
< RTSP/1.0 401 Unauthorized
< CSeq: 1
< WWW-Authenticate: Digest realm="GStreamer RTSP Server", nonce="3034e78651e4e61e"
< Server: GStreamer RTSP server
< Date: Sun, 12 Jan 2020 09:36:53 GMT
<
* Connection #0 to host 127.0.0.1 left intact
* Issue another request to this URL: 'rtsp://ubnt:administrator@127.0.0.1:8554/live.sdp'
* Protocol "rtsp" not supported or disabled in libcurl
* Closing connection -1
* Protocol "rtsp" not supported or disabled in libcurl
While when using basic authentication or no authentication, streams are accessed without any issue, and this log never appears.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 20 (13 by maintainers)
Now it works great. In my case with a HIKVISION DS-2CD2345FWD-I camera I had to modify the parameters --attack-interval duration to avoid a problem like this: Perform failed for “rtsp: // admin: 4321@192.168.10.64: 554 /” ( auth 3): curl: Failure when receiving data from the peer. Maybe it can be useful for other discussions. Thanks again I will let you know after other tests.