- Feb 11, 2017
- 17
- 6
I am trying to follow some of the many scripts that have been posted on this site for connecting to Hikvision cameras via CURL so that I can eventually toggle the day/night profiles.
I feel like I have tried all of them and nothing seems to be working.
From a camera directly, I can access the URL directly like so:
http://192.168.30.3:65001/ISAPI/Image/channels/1/ISPMode
I have tried both authentication method settings on the camera (digest and digest/basic).
It seems like no matter what I try, I am getting:
<!DOCTYPE html>
<html><head><title>Document Error: Unauthorized</title></head>
<body><h2>Access Error: 401 -- Unauthorized</h2>
<p>Authentication Error</p>
</body>
</html>
Does this have something to do with the virtual access to the cameras via NVRIP:CameraPort?
The camera I am trying this with currently is: DS-2CD2042WD-I @ V5.5.53 build 180730
I feel like I have tried all of them and nothing seems to be working.
From a camera directly, I can access the URL directly like so:
http://192.168.30.3:65001/ISAPI/Image/channels/1/ISPMode
I have tried both authentication method settings on the camera (digest and digest/basic).
It seems like no matter what I try, I am getting:
<!DOCTYPE html>
<html><head><title>Document Error: Unauthorized</title></head>
<body><h2>Access Error: 401 -- Unauthorized</h2>
<p>Authentication Error</p>
</body>
</html>
Does this have something to do with the virtual access to the cameras via NVRIP:CameraPort?
The camera I am trying this with currently is: DS-2CD2042WD-I @ V5.5.53 build 180730