Author Topic: Hik-Vision NVR - basic http path will not work for still image.  (Read 378 times)

Offline burn1out

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
Hik-Vision NVR - basic http path will not work for still image.
« on: February 21, 2018, 06:30:33 pm »
As the title says, I have added this still image link in the test area before accepting and naming the device, but after adding I get a nice shot of "invalid credentials" on local lan in the Desktop website and the Vera Mobile app but ImperiHome show the actual image on local lan.  I just don't get why a simple issue like this has no resolve. I'd love for someone to just tell me I'm doing it wrong, lol.


Offline burn1out

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
Re: Hik-Vision NVR - basic http path will not work for still image.
« Reply #1 on: February 25, 2018, 10:40:11 am »
Here are the log entries, The url works in any browser and in the test mechanism when setting up in the Vera Add Camera section.

12   02/25/18 9:35:48.487   luvd_get_info_data_request starting /data_request?id=request_image&cam=65&mode=test&rand=0.9963159312644734 pMem 0x1637000/23293952 diff: 10539008 <0x7354c520>
10   02/25/18 9:35:48.487   JobHandler_LuaUPnP::HandleRequest id request_image request pMem 0x1637000/23293952 diff: 10539008 <0x7354c520>
35   02/25/18 9:35:48.487   Generic_IP_Camera_Manager::REQ_Image 65, Test Mode: 1 <0x7354c520>
10   02/25/18 9:35:48.488   Generic_IP_Camera_Manager::REQ_Image 65 diff1:10539008 diff2:10539008 timeout:5 starting http://192.168.33.249/onvif/snapshot/102 user:(****) pass:(********) retry 0 <0x7354c520>
02   02/25/18 9:35:48.491   write_data_header failed with 0/401 0x48 0x54 0x54 0x50 0x2f 0x31 0x2e 0x31 0x20 0x34 0x30 0x31 0x20 0x55 0x6e 0x61 0x75 0x74 0x68 0x6f 0x72 0x69 0x7a 0x65 0x64 0xd 0xa (HTTP/1.1 401 Unauthorized\r\n) <0x7354c520>
02   02/25/18 9:35:48.492   write_data_header wrote:0 bytes:27 <0x7354c520>
22   02/25/18 9:35:48.492   write_data_header wrote: 0, read:27 diff1:10539008 diff2:10539008 <0x7354c520>
02   02/25/18 9:35:48.493   write_data_header failed with 0/401 0x44 0x61 0x74 0x65 0x3a 0x20 0x53 0x75 0x6e 0x2c 0x20 0x32 0x35 0x20 0x46 0x65 0x62 0x20 0x32 0x30 0x31 0x38 0x20 0x30 0x39 0x3a 0x33 0x35 0x3a 0x30 0x39 0x20 0x47 0x4d 0x54 0xd 0xa (Date: Sun, 25 Feb 2018 09:35:09 GMT\r\n) <0x7354c520>
02   02/25/18 9:35:48.493   write_data_header wrote:0 bytes:37 <0x7354c520>
22   02/25/18 9:35:48.493   write_data_header wrote: 0, read:37 diff1:10539008 diff2:10539008 <0x7354c520>
02   02/25/18 9:35:48.493   write_data_header failed with 0/401 0x53 0x65 0x72 0x76 0x65 0x72 0x3a 0x20 0x44 0x4e 0x56 0x52 0x53 0x2d 0x57 0x65 0x62 0x73 0xd 0xa (Server: DNVRS-Webs\r\n) <0x7354c520>
02   02/25/18 9:35:48.494   write_data_header wrote:0 bytes:20 <0x7354c520>
22   02/25/18 9:35:48.494   write_data_header wrote: 0, read:20 diff1:10539008 diff2:10539008 <0x7354c520>
02   02/25/18 9:35:48.494   write_data_header failed with 0/401 0x43 0x61 0x63 0x68 0x65 0x2d 0x43 0x6f 0x6e 0x74 0x72 0x6f 0x6c 0x3a 0x20 0x6e 0x6f 0x2d 0x63 0x61 0x63 0x68 0x65 0xd 0xa (Cache-Control: no-cache\r\n) <0x7354c520>
02   02/25/18 9:35:48.495   write_data_header wrote:0 bytes:25 <0x7354c520>
22   02/25/18 9:35:48.495   write_data_header wrote: 0, read:25 diff1:10539008 diff2:10539008 <0x7354c520>
02   02/25/18 9:35:48.495   write_data_header failed with 0/401 0x43 0x6f 0x6e 0x74 0x65 0x6e 0x74 0x2d 0x54 0x79 0x70 0x65 0x3a 0x20 0x74 0x65 0x78 0x74 0x2f 0x68 0x74 0x6d 0x6c 0xd 0xa (Content-Type: text/html\r\n) <0x7354c520>
02   02/25/18 9:35:48.495   write_data_header wrote:0 bytes:25 <0x7354c520>
22   02/25/18 9:35:48.496   write_data_header wrote: 0, read:25 diff1:10539008 diff2:10539008 <0x7354c520>
02   02/25/18 9:35:48.496   write_data_header failed with 0/401 0x43 0x6f 0x6e 0x6e 0x65 0x63 0x74 0x69 0x6f 0x6e 0x3a 0x20 0x6b 0x65 0x65 0x70 0x2d 0x61 0x6c 0x69 0x76 0x65 0xd 0xa (Connection: keep-alive\r\n) <0x7354c520>
02   02/25/18 9:35:48.496   write_data_header wrote:0 bytes:24 <0x7354c520>
22   02/25/18 9:35:48.496   write_data_header wrote: 0, read:24 diff1:10539008 diff2:10539008 <0x7354c520>
02   02/25/18 9:35:48.497   write_data_header failed with 0/401 0x4b 0x65 0x65 0x70 0x2d 0x41 0x6c 0x69 0x76 0x65 0x3a 0x20 0x74 0x69 0x6d 0x65 0x6f 0x75 0x74 0x3d 0x36 0x30 0x2c 0x20 0x6d 0x61 0x78 0x3d 0x39 0x39 0xd 0xa (Keep-Alive: timeout=60, max=99\r\n) <0x7354c520>
02   02/25/18 9:35:48.497   write_data_header wrote:0 bytes:32 <0x7354c520>
22   02/25/18 9:35:48.497   write_data_header wrote: 0, read:32 diff1:10539008 diff2:10539008 <0x7354c520>
02   02/25/18 9:35:48.498   write_data_header failed with 0/401 0x57 0x57 0x57 0x2d 0x41 0x75 0x74 0x68 0x65 0x6e 0x74 0x69 0x63 0x61 0x74 0x65 0x3a 0x20 0x44 0x69 0x67 0x65 0x73 0x74 0x20 0x72 0x65 0x61 0x6c 0x6d 0x3d 0x22 0x62 0x61 0x33 0x64 0x30 0x61 0x32 0x39 0x33 0x66 0x38 0x37 0x37 0x33 0x39 0x61 0x35 0x35 0x33 0x35 0x63 0x39 0x64 0x62 0x22 0x2c 0x20 0x64 0x6f 0x6d 0x61 0x69 0x6e 0x3d 0x22 0x3a 0x3a 0x22 0x2c 0x20 0x71 0x6f 0x70 0x3d 0x22 0x61 0x75 0x74 0x68 0x22 0x2c 0x20 0x6e 0x6f 0x6e 0x63 0x65 0x3d 0x22 0x32 0x35 0x35 0x34 0x38 0x66 0x65 0x62 0x39 0x32 0x66 0x66 0x65 0x35 0x37 0x35 0x63 0x35 0x36 0x30 0x39 0x35 0x33 0x63 0x39 0x35 0x34 0x39 0x37 0x36 0x39 0x39 0x3a 0x31 0x35 0x31 0x39 0x35 0x35 0x31 0x33 0x31 0x30 0x34 0x37 0x39 0x22 0x2c 0x20 0x6f 0x70 0x61 0x71 0x75 0x65 0x3d 0x22 0x22 0x2c 0x20 0x61 0x6c 0x67 0x6f 0x72 0x69 0x74 0x68 0x6d 0x3d 0x22 0x4d 0x44 0x35 0x22 0x2c 0x20 0x73 0x74 0x61 0x6c 0x65 0x3d 0x22 0x46 0x41 0x4c 0x53 0x45 0x22 0xd 0xa (WWW-Authenticate: Digest realm="ba3d0a293f87739a5535c9db", domain="::", qop="auth", nonce="25548feb92ffe575c560953c95497699:1519551310479", opaque="", algorithm="MD5", stale="FALSE"\r\n) <0x7354c520>
02   02/25/18 9:35:48.499   write_data_header wrote:0 bytes:183 <0x7354c520>
22   02/25/18 9:35:48.499   write_data_header wrote: 0, read:183 diff1:10539008 diff2:10539008 <0x7354c520>
02   02/25/18 9:35:48.499   write_data_header failed with 0/401 0x57 0x57 0x57 0x2d 0x41 0x75 0x74 0x68 0x65 0x6e 0x74 0x69 0x63 0x61 0x74 0x65 0x3a 0x20 0x42 0x61 0x73 0x69 0x63 0x20 0x72 0x65 0x61 0x6c 0x6d 0x3d 0x22 0x62 0x61 0x33 0x64 0x30 0x61 0x32 0x39 0x33 0x66 0x38 0x37 0x37 0x33 0x39 0x61 0x35 0x35 0x33 0x35 0x63 0x39 0x64 0x62 0x22 0xd 0xa (WWW-Authenticate: Basic realm="ba3d0a293f87739a5535c9db"\r\n) <0x7354c520>
02   02/25/18 9:35:48.500   write_data_header wrote:0 bytes:58 <0x7354c520>
22   02/25/18 9:35:48.500   write_data_header wrote: 0, read:58 diff1:10539008 diff2:10539008 <0x7354c520>
02   02/25/18 9:35:48.500   write_data_header failed with 0/401 0xd 0xa (\r\n) <0x7354c520>
02   02/25/18 9:35:48.500   write_data_header wrote:0 bytes:2 <0x7354c520>
22   02/25/18 9:35:48.501   write_data_header wrote: 0, read:2 diff1:10539008 diff2:10539008 <0x7354c520>