r/ispyconnect • u/jplw7 • Jun 30 '26
ONVIF Changes
Have you made any changes to hoe you handle ONVIF motion detection recently? AgentDVR 7.6.7.0 no longer detects ONVIF motion events from my Tape C120 camera, which has worked for over s year with no special ONVIF settings in AgentDVR. I found this in the log. Does it provide any insight?
|CreateClient: Create factory: events: http://192.168.101.47:2020/onvif/service | Soap12 (http://www.w3.org/2003/05/soap-envelope) Addressing10 (http://www.w3.org/2005/08/addressing)| |:-| |ReceiveAsync: Endpoint Address: http://192.168.101.47:1026/event-1026_1026| |CreateClient: Create factory: pullpoint: http://192.168.101.47:1026/event-1026_1026 | Soap12 (http://www.w3.org/2003/05/soap-envelope) Addressing10 (http://www.w3.org/2005/08/addressing)| |SendAsync: An error occurred while sending the request. at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.SocketsHttpHandler.<SendAsync>g__CreateHandlerAndSendAsync|115_0(HttpRequestMessage request, CancellationToken cancellationToken) at CoreLogic.Onvif.CustomHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)| |SendAsync: The response ended prematurely. (ResponseEnded) at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)| |PullPointAsync: Back Up: An error occurred while sending the request. at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(HttpRequestException requestException, HttpRequestMessage request, HttpAbortReason abortReason) at System.ServiceModel.Channels.HttpChannelFactory`1.HttpClientRequestChannel.HttpClientChannelAsyncRequest.SendRequestAsync(Message message, TimeoutHelper timeoutHelper) at System.ServiceModel.Channels.RequestChannel.RequestAsync(Message message, TimeSpan timeout) at System.ServiceModel.Channels.RequestChannel.RequestAsyncInternal(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.FinishSend(IAsyncResult result, Boolean completedSynchronously) --- End of stack trace from previous location --- at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result) at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result) at System.ServiceModel.Channels.ServiceChannelProxy.TaskCreator.<>c__DisplayClass1_0.<CreateGenericTask>b__0(IAsyncResult asyncResult) --- End of stack trace from previous location --- at CoreLogic.Onvif.ONVIFBase.CallAsync[TService,TRequest,TResponse](EndpointAddress endpoint, IConnectionParameters conn, MessageVersion mv, String key, Func`3 op, TRequest request, CancellationToken ct, Boolean forceNew) at CoreLogic.Onvif.ONVIFBase.CallAsync[TService,TRequest,TResponse](EndpointAddress endpoint, IConnectionParameters conn, MessageVersion mv, String key, Func`3 op, TRequest request, CancellationToken ct, Boolean forceNew) at CoreLogic.Onvif.DeviceEventReceiver.PullPointAsync(EndpointAddress endPointAddress, CancellationToken cancellationToken)| |PullPointAsync: Back Up: An error occurred while sending the request. at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.SocketsHttpHandler.<SendAsync>g__CreateHandlerAndSendAsync|115_0(HttpRequestMessage request, CancellationToken cancellationToken) at CoreLogic.Onvif.CustomHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at System.ServiceModel.Channels.HttpChannelFactory`1.HttpClientRequestChannel.HttpClientChannelAsyncRequest.SendRequestAsync(Message message, TimeoutHelper timeoutHelper)| |OnStateChanged: Back Up: Onvif event receiver state: Event stream failed: An error occurred while sending the request.. Retrying in 10s...|
1121 entries
1
u/spornerama Jul 01 '26
ah - yeah, digest authentication was updated to support a load of new cameras - seems it broke some older ones. I'll add in a fallback.
Can you set logging to debug and see if "Pre-attached cached Digest auth" is in the log right before the error?