Closed titiviking closed 1 year ago
Usually means your camera needs a reboot
I've done that, but I still get quite a bit of disconnects...
2:14:07 AM | Error: Garden-Front:Reader: Garden-Front: AV_READ_FRAME:Immediate exit requested
-- | --
2:14:07 AM | Reconnect: Garden-Front: Reconnecting main in 2s
2:14:14 AM | ONVIF Presets: Garden-Front: Presets not supported
2:14:14 AM | Error: ONVIF Presets: Garden-Front: Presets not supported
2:14:29 AM | open (record): Garden-Front: Trying UDP
2:14:29 AM | MainSourceError: Garden-Front: rtsp://admin:L208733E@192.168.5.212:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif:Reader: Garden-Front: OPEN_INPUT:Invalid data found when processing input
2:14:29 AM | Error: MainSourceError: Garden-Front: rtsp://admin:L208733E@192.168.5.212:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif:Reader: Garden-Front: OPEN_INPUT:Invalid data found when processing input
2:14:29 AM | Reconnect: Garden-Front: Reconnecting main in 5s
2:14:39 AM | ONVIF Presets: Garden-Front: Presets not supported
2:14:39 AM | Error: ONVIF Presets: Garden-Front: Presets not supported
2:14:54 AM | open (record): Garden-Front: Trying TCP
2:14:54 AM | MainSourceError: Garden-Front: rtsp://admin:L208733E@192.168.5.212:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif:Reader: Garden-Front: OPEN_INPUT:Invalid data found when processing input
2:14:54 AM | Error: MainSourceError: Garden-Front: rtsp://admin:L208733E@192.168.5.212:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif:Reader: Garden-Front: OPEN_INPUT:Invalid data found when processing input
2:14:54 AM | Reconnect: Garden-Front: Reconnecting main in 10s
2:15:08 AM | ONVIF Presets: Garden-Front: Presets not supported
2:15:08 AM | Error: ONVIF Presets: Garden-Front: Presets not supported
2:15:23 AM | open (record): Garden-Front: Trying UDP
2:15:23 AM | MainSourceError: Garden-Front: rtsp://admin:L208733E@192.168.5.212:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif:Reader: Garden-Front: OPEN_INPUT:Operation not permitted
2:15:23 AM | Error: MainSourceError: Garden-Front: rtsp://admin:L208733E@192.168.5.212:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif:Reader: Garden-Front: OPEN_INPUT:Operation not permitted
2:15:23 AM | Reconnect: Garden-Front: Reconnecting main in 30s
2:15:57 AM | ONVIF Presets: Garden-Front: Presets not supported
2:15:57 AM | Error: ONVIF Presets: Garden-Front: Presets not supported
2:16:12 AM | open (record): Garden-Front: Trying TCP
2:16:12 AM | MainSourceError: Garden-Front: rtsp://admin:L208733E@192.168.5.212:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif:Reader: Garden-Front: OPEN_INPUT:Invalid data found when processing input
2:16:12 AM | Error: MainSourceError: Garden-Front: rtsp://admin:L208733E@192.168.5.212:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif:Reader: Garden-Front: OPEN_INPUT:Invalid data found when processing input
2:16:12 AM | Reconnect: Garden-Front: Reconnecting main in 30s
2:16:45 AM | ONVIF Presets: Garden-Front: Presets not supported
2:16:45 AM | Error: ONVIF Presets: Garden-Front: Presets not supported
I also face many MQTT disconnects:
7:27:12 AM | Push blocked (Send:False, Enabled:True, Connected: False)
-- | --
7:27:12 AM | Processing MQTT (home/Security/Motion/Living)
7:27:55 AM | Processing MQTT (home/Security/Motion/Living)
7:27:59 AM | Processing MQTT (home/Security/Motion/Living)
7:28:16 AM | Push blocked (Send:False, Enabled:True, Connected: False)
7:28:16 AM | Processing MQTT (home/Security/Motion/Living)
7:33:41 AM | Push blocked (Send:False, Enabled:True, Connected: False)
7:33:41 AM | Processing MQTT (home/Security/Motion/Living)
7:34:32 AM | Processing MQTT (home/Security/Motion/Living)
7:36:36 AM | Push blocked (Send:False, Enabled:True, Connected: False)
7:36:36 AM | Processing MQTT (home/Security/Motion/Living)
7:36:40 AM | Processing MQTT (home/Security/Motion/Living)
7:39:02 AM | Push blocked (Send:False, Enabled:True, Connected: False)
7:39:02 AM | Processing MQTT (home/Security/Motion/Living)
7:39:21 AM | Processing MQTT (home/Security/Motion/Living)
7:40:16 AM | Push blocked (Send:False, Enabled:True, Connected: False)
7:40:16 AM | Processing MQTT (home/Security/Motion/Living)
7:41:03 AM | Processing MQTT (home/Security/Motion/Living)
7:41:24 AM | Push blocked (Send:False, Enabled:True, Connected: False)
7:41:24 AM | Processing MQTT (home/Security/Motion/Living)
7:43:41 AM | Apply profile Disabled
7:46:38 AM | Apply profile Disabled
7:48:42 AM | MQTT disconnected
7:48:47 AM | Connecting MQTT
7:48:47 AM | Connected to MQTT server
The iSpyAgent is running on a docker that runs on my NAS. My NAS is not showing any signs or warnings of disconnects, so I don't think it's a networking issue.
what makes you think mqtt is disconnecting?
7:48:42 AM | MQTT disconnected
7:48:47 AM | Connecting MQTT
7:48:47 AM | Connected to MQTT server
oh right i didn't see that you could try decreasing the check interval in mqtt settings
How about those entries:
7:40:16 AM | Push blocked (Send:False, Enabled:True, Connected: False)
does it mean that the push to MQTT is blocked and therefore the event is not published? or does it has a differnet meaning in the iSpyAgent implementation ?
no it's just debug saying that a push notification (ios/ android) hasn't been sent
I've performed a reboot again over the week and kept an eye out on the logs... I still keep on seeing many ONVIF disconnects... The camera app does not show disconnects and the feed keeps on going, even when iSpyAgent detects a connection failure...
Any idea what I could look at? I've checked my network, but I don't see packet loss or interference happening.
Usually this means the camera app is connecting to a different endpoint and the ONVIF implementation on it is buggy. You can try scanning the camera for alternate feeds using the wizard.
If this was a bug in Agent's ONVIF code then everyone would be seeing the same thing..
Running iSpyAgent 4.5.4 on a docker, I'm facing many ONVIF issues for one of my cameras.
11:30:08 AM | Reconnect: Garden-Front: Reconnecting main in 2s -- | -- 11:30:15 AM | ONVIF Presets: Garden-Front: Presets not supported 11:30:15 AM | Error: ONVIF Presets: Garden-Front: Presets not supported 11:30:29 AM | SourcePlayingFinished: Garden-Front: Playing finished (DeviceLost) 11:30:29 AM | Reconnect: Garden-Front: Reconnecting in 2s 11:30:29 AM | open (record): Garden-Front: Trying UDP 11:30:32 AM | intervals: Garden-Front: Reconnecting 11:30:32 AM | intervals: Garden-Front: Reconnect Exit 11:30:33 AM | Discovery (GetServices): Garden-Front: ONVIF v1.0 11:30:33 AM | Discovery: Garden-Front: Using Media Version 1 11:30:33 AM | Discovery: Garden-Front: Media available at http://192.168.5.212/onvif/media_service 11:30:33 AM | Discovery: Garden-Front: PTZ available at http://192.168.5.212/onvif/ptz_service 11:30:33 AM | Discovery: Garden-Front: Events available at http://192.168.5.212/onvif/event_service 11:30:36 AM | ONVIF Presets: Garden-Front: Presets not supported 11:30:36 AM | Error: ONVIF Presets: Garden-Front: Presets not supported 11:30:39 AM | Start Stream: Garden-Front: Using software decoder 11:30:39 AM | ONVIF State Monitor: Garden-Front: Onvif event receiver state: Connecting to http://192.168.5.212/onvif/device_service... 11:30:39 AM | ONVIF Presets: Garden-Front: Presets not supported 11:30:39 AM | Error: ONVIF Presets: Garden-Front: Presets not supported 11:30:44 AM | ONVIF Received:Any idea how I can fix those reconnects and enable the ONVIF events properly ?