content type 'text/plain' killing zmc

Forum for questions and support relating to the 1.24.x releases only.
Locked
2manyhobbeez
Posts: 2
Joined: Wed Dec 12, 2012 9:56 pm

content type 'text/plain' killing zmc

Post by 2manyhobbeez »

Greetings:

my system...
ZM 1.24.4
FreeBSD 9.0
Camera Tenvis IP391W

Overall, zm is working OK in all respects. However, the zmc process dies and restarts every few minutes. I setup debug and see this recorded when the failures occur...

BSD# tail -20 zm_debug.log.59943
12/12/12 13:05:43.616674 zmc_m1[-1].DB4-zm_remote_camera_http.cpp/257 [Captured
header (173 bytes):
'HTTP/1.1 200 OK
Server: Netwave IP Camera
Date: Wed, 12 Dec 2012 21:05:41 GMT
Content-Type: text/plain
Content-Length: 27
Cache-Control: no-cache
Connection: close

']
12/12/12 13:05:43.616724 zmc_m1[-1].DB3-zm_remote_camera_http.cpp/275 [Got statu
s '200' (OK), http version 1.1]
12/12/12 13:05:43.616773 zmc_m1[-1].DB3-zm_remote_camera_http.cpp/282 [Got conne
ction 'close']
12/12/12 13:05:43.616822 zmc_m1[-1].DB3-zm_remote_camera_http.cpp/290 [Got conte
nt length '27']
12/12/12 13:05:43.616870 zmc_m1[-1].DB3-zm_remote_camera_http.cpp/298 [Got conte
nt type 'text/plain'
]
12/12/12 13:05:43.616910 zmc_m1[-1].ERR-zm_remote_camera_http.cpp/344 [Unrecogni
sed content type 'text/plain']
12/12/12 13:05:43.617002 zmc_m1[-1].ERR-zm_remote_camera_http.cpp/1091 [Unable t
o get response]
12/12/12 13:05:43.617141 zmc_m1[-1].DB3-zm_remote_camera_http.cpp/114 [Disconnec
ted from host]
12/12/12 13:05:43.617349 zmc_m1[-1].ERR-zmc.cpp/265 [Failed to capture image fro
m monitor 1 (0/1)]
12/12/12 13:05:43.617838 zmc_m1[-1].DB3-zm_remote_camera_http.cpp/114 [Disconnec
ted from host]

I'd like to know exactly what this means. I speculate that it might mean that the camera is quitting for some reason and sending text indicating that. Or maybe the camera is just arbitrarily sending something as text and zm doesn't expect it. Or what? Perhaps my configuration is screwy? But then it works most of the time.

Note that this camera is connected by wireless for the moment and experiences a lot of signal dropouts. Those show up as blue windows in zm, but when zmc quits I see a black window until the process resets. Another data point is that the camera works fine in Blue Iris.

Comments?

TIA, George
2manyhobbeez
Posts: 2
Joined: Wed Dec 12, 2012 9:56 pm

Re: content type 'text/plain' killing zmc

Post by 2manyhobbeez »

This seems to be a case of an overloaded camera. I forgot that I had two zm systems querying this camera. I'm guessing that the camera surrendered after a while and was reset (periodically). Now that I am connecting it to only one monitor it has been running solid.
Locked