doitandbedone / ispyagentdvr-docker

GNU General Public License v3.0
116 stars 44 forks source link

ONVIF Event Errors #561

Closed Dvalin21 closed 1 year ago

Dvalin21 commented 1 year ago

Agent DVR 4.5.2.0.

Describe the bug

Needing help getting this situated. Getting the following ONVIF errors.

23:12:ONVIF State Monitor: Front Door: Onvif event receiver state: Connection error: The request channel timed out attempting to send after 00:00:15. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.

23:12:ONVIF Events: Front Door: Ignored ONVIF event: </tt:source></tt:data>

Also

20:39:AI Facial Recognition: AI Facial Recognition: Object reference not set to an instance of an object. 20:39:Error: AI Facial Recognition: AI Facial Recognition: Object reference not set to an instance of an object. 20:39:AI Facial Recognition: at CoreLogic.AI.FaceRecognizer.ProcessResults(FaceResponse resp, String json, Mat f) at CoreLogic.AI.FaceRecognizer.Detect() 20:39:Error: AI Facial Recognition: at CoreLogic.AI.FaceRecognizer.ProcessResults(FaceResponse resp, String json, Mat f) at CoreLogic.AI.FaceRecognizer.Detect() 20:39:Object reference not set to an instance of an object. 20:39:Will retry AI processing in 30 seconds.

Expected behavior A clear and concise description of what you expected to happen.

Reproduction rate How often does this happen in % [e.g. 100% or 50%] 100%

Host System Information (where ispy agent is running/hosted):

Additional Information

Camera Info

Anibux A8SB 4K Dual Lens 8mp

20:58:Discovery: Front Door: Media available at http://x.x.x.x:8899/onvif/media2_service 20:58:Discovery: Front Door: PTZ available at http://x.x.x.x:8899/onvif/ptz_service 20:58:Discovery: Front Door: Events available at http://x.x.x.x:8899/onvif/event_service 20:58:PTZ Discovery: Front Door: Could not get PTZ config for Onvif Device - using defaults

ispysoftware commented 1 year ago

This is just saying that your camera isn't responding to events polling. If you want it to respond to your custom rule you can add

to server settings - onvif settings as a custom string to look for

Dvalin21 commented 1 year ago

Thanks for the response. So, I didn't realize this was for custom rules. I just set the camera up for Onvif and turned on Onvif in Detector. Is there good documentation on adding custom rules to "Detect XML"?

On Tue, Feb 21, 2023 at 1:00 AM sean tearney @.***> wrote:

This is just saying that your camera isn't responding to events polling. If you want it to respond to your custom rule you can add

to server settings - onvif settings as a custom string to look for

— Reply to this email directly, view it on GitHub https://github.com/doitandbedone/ispyagentdvr-docker/issues/561#issuecomment-1437948160, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABY7PVO7KGWP672DCXS443TWYRRX7ANCNFSM6AAAAAAVCUAXOQ . You are receiving this because you authored the thread.Message ID: @.***>

ispysoftware commented 1 year ago

it's just looking for a substring match so any substring in the "ignored onvif event" log entry will make it not ignore that event and treat it as a motion event.

Dvalin21 commented 1 year ago

it's just looking for a substring match so any substring in the "ignored onvif event" log entry will make it not ignore that event and treat it as a motion event.

So after putting in the entry I get the following

21:04:StartSaving: Front Door: 21:04:Front Door: StartSaving: Front Door: StartSaving: Transport endpoint is not connected : '/agent/Media/WebServerRoot/Media/video/RJYWS/' 21:04:Error: Front Door: StartSaving: Front Door: StartSaving: Transport endpoint is not connected : '/agent/Media/WebServerRoot/Media/video/RJYWS/' 21:04:Front Door: StartSaving: at System.IO.FileSystem.CreateDirectory(String ) at System.IO.Directory.CreateDirectory(String ) at CoreLogic.Objects.AgentControlBase.OpenWriter() 21:04:Error: Front Door: StartSaving: at System.IO.FileSystem.CreateDirectory(String ) at System.IO.Directory.CreateDirectory(String ) at CoreLogic.Objects.AgentControlBase.OpenWriter() 21:04:Transport endpoint is not connected : '/agent/Media/WebServerRoot/Media/video/RJYWS/' 21:04:StartSaving: Front Door: Retry in 5 seconds

Dvalin21 commented 1 year ago

And also

21:04:ONVIF Events: Front Door: Ignored ONVIF event: </tt:source></tt:data> 21:04:ONVIF Received: </tt:Source></tt:Data> 21:04:ONVIF Received: </tt:Source></tt:Data> 21:04:ONVIF Received: </tt:Source></tt:Data>

ispysoftware commented 1 year ago

do any of these events contain the text you entered?

Dvalin21 commented 1 year ago

do any of these events contain the text you entered?

No