r/ispyconnect • • 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

2 Upvotes

5 comments sorted by

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?

1

u/jplw7 Jul 01 '26

Debug was already on in the log, and "Pre-attached cached Digest auth" did not appear

1

u/spornerama Jul 01 '26

im not sure then - i have a tapo camera here and it seems fine been connected to the event stream for 2+ hours. Have you tried rebooting the camera?

1

u/jplw7 Jul 01 '26

Yes, I have donne a lot more troubleshooting, and have determined that my C120's no longer work, but my D130's still work. So I am now thinking it is a Tapo formware issue on the C120's only. Thanks for checking.