From 3cb9539405fae30d145a17fcf23653605f4f0acb Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 2 Dec 2025 18:49:06 -0500 Subject: [PATCH] If we fail to get events, set healthy=false so that we reconnect. HikVision cam reports soap_fault_string=the parameter value is illegal detail=No pullmsg manager but a restart fixes it. --- src/zm_monitor_onvif.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zm_monitor_onvif.cpp b/src/zm_monitor_onvif.cpp index c378ee63c..aa8fda39a 100644 --- a/src/zm_monitor_onvif.cpp +++ b/src/zm_monitor_onvif.cpp @@ -221,7 +221,7 @@ void Monitor::ONVIF::WaitForMessage() { soap->os = old_stream; // no longer writing to the stream Debug(1, "Response was %s", ss.str().c_str()); - // healthy = false; + healthy = false; } else { Debug(1, "Result of getting ONVIF PullMessageRequest result=%d soap_fault_string=%s detail=%s", result, soap_fault_string(soap), detail ? detail : "null");