Unrecognised content type 'application/octet-stream'
Posted: Sun Jun 30, 2013 7:33 pm
Trying to get an old Cisco WVC200 IP camera up and going with Zoneminder 1.25 . When I turn on debugging, this is what I see:
06/30/13 12:20:59.040480 zmc_m1[2327].DB3-zm_remote_camera_http.cpp/717 [Got status '200' (OK), http version 1.1]
06/30/13 12:20:59.040487 zmc_m1[2327].DB3-zm_remote_camera_http.cpp/724 [Got connection 'close']
06/30/13 12:20:59.040494 zmc_m1[2327].DB3-zm_remote_camera_http.cpp/758 [Got content type 'application/octet-stream']
06/30/13 12:20:59.040501 zmc_m1[2327].ERR-zm_remote_camera_http.cpp/800 [Unrecognised content type 'application/octet-stream']
06/30/13 12:20:59.040935 zmc_m1[2327].ERR-zm_remote_camera_http.cpp/1097 [Unable to get response]
06/30/13 12:20:59.041366 zmc_m1[2327].DB3-zm_remote_camera_http.cpp/114 [Disconnected from host]
06/30/13 12:20:59.041398 zmc_m1[2327].ERR-zmc.cpp/263 [Failed to capture image from monitor 1 (0/1)]
06/30/13 12:20:59.042122 zmc_m1[2327].DB3-zm_remote_camera_http.cpp/114 [Disconnected from host]
I have the following settings configured for the camera:
* Source Type: Remote
* Function: Monitor
* Protocol: HTTP
* Method: Simple
* Hostname / Port: <IP Address> / 80
* Host Path: /img/mjpeg.cgi (works in browser, BTW)
Also of interesting note, when I use Chrome Developer tools and watch the HTTP response headers from the camera, it advertises its content type as image/jpeg , so i'm not sure where the application/octet stream is coming from.
06/30/13 12:20:59.040480 zmc_m1[2327].DB3-zm_remote_camera_http.cpp/717 [Got status '200' (OK), http version 1.1]
06/30/13 12:20:59.040487 zmc_m1[2327].DB3-zm_remote_camera_http.cpp/724 [Got connection 'close']
06/30/13 12:20:59.040494 zmc_m1[2327].DB3-zm_remote_camera_http.cpp/758 [Got content type 'application/octet-stream']
06/30/13 12:20:59.040501 zmc_m1[2327].ERR-zm_remote_camera_http.cpp/800 [Unrecognised content type 'application/octet-stream']
06/30/13 12:20:59.040935 zmc_m1[2327].ERR-zm_remote_camera_http.cpp/1097 [Unable to get response]
06/30/13 12:20:59.041366 zmc_m1[2327].DB3-zm_remote_camera_http.cpp/114 [Disconnected from host]
06/30/13 12:20:59.041398 zmc_m1[2327].ERR-zmc.cpp/263 [Failed to capture image from monitor 1 (0/1)]
06/30/13 12:20:59.042122 zmc_m1[2327].DB3-zm_remote_camera_http.cpp/114 [Disconnected from host]
I have the following settings configured for the camera:
* Source Type: Remote
* Function: Monitor
* Protocol: HTTP
* Method: Simple
* Hostname / Port: <IP Address> / 80
* Host Path: /img/mjpeg.cgi (works in browser, BTW)
Also of interesting note, when I use Chrome Developer tools and watch the HTTP response headers from the camera, it advertises its content type as image/jpeg , so i'm not sure where the application/octet stream is coming from.