I can not access to NVR connected camera

tkjp

n3wb
May 8, 2018
8
1
i want access to camera (isapi)
but not access Camera(connected NVR)

Router <-> NVR <-> Camera

request
curl http://use:pass@host:port/ISAPI/Image/channels

response
<!DOCTYPE html>
<html><head><title>Document Error: Unauthorized</title></head>
<body><h2>Access Error: 401 -- Unauthorized</h2>
<p>Authentication Error</p>
</body>
</html>

i can access to NVR (ISAPI) but not access Camera(NVR connected)

please help
 
Assuming that you are using the NATted connection provided by the NVR Virtual Host facility :

If it's the NATted access that's getting in the way of the ISAPI call, it may be worth experimenting with direct access to the cameras at their actual, not NAT, address.
To do this you need 3 things:

Virtual Host enabled on the NVR.
The camera default gateway IP address set to the IP address of the NVR POE interface, usually by default 192.168.254.1
This will need the POE channel that the camera is connected to to be in Manual mode as opposed to Plug&Play, to inhibit the NVR changing the value back to the non-working one.
And finally, your LAN gateway/router needs to know the network route to the camera.
This is easily done by adding a static route, something like :
"For network 192.168.254.0/24 (ie subnet mask 255.255.255.0) use <NVR_LAN_interface_IP_address> as the gateway"

Then you can access the POE-connected cameras directly at their 192.168.254.x IP addresses.
 
thanks reply.
i found solution.
change camera auth setting.
It was a problem that authentication was in digest mode.
auth mode digest to digest/basic.
success basic auth.

thank you.
 
  • Like
Reactions: alastairstevenson