Brand new Hikvision HS-HD1, 30VA transformer
Latest Hikvision firmware
Configured using only batch config tool, never allowed to connect to internet or to an app.
Wifi 2.4 GHz Router about 12' away.
QNAP QVR Pro connecting to the camera via ONVIF at 3MP / 10 fps, recording all the time.
QVR has this camera and another camera connected (also via ONVIF and the same wifi SSID, different vendor)
So about every 3 mins, the camera stops streaming for about 15 seconds. It doesn't appear that the connection is lost, it just stops sending.
The other camera records constantly, also over the same wifi SSID/band, and there do not appear any drops in the wifi net overall.
So ran continuous pings to the device to see if the connection itself dropped, and lo and behold, not only did the connection not drop, but also the video never stopped recording.
It appears that some sort of "keep alive" might be needed to keep an ONVIF stream going?
Has anyone else run into this behavior and is there any simpler workaround?
Again, note that the camera has not been allowed to phone home or connect to any app but the BCT and an ONVIF connection, so that might be a bit different then most (and BTW, it's hammering my firewall trying to connect to litedev.ezvizlife.com:8666 ... denied...)
OK, looks like the issue was the ICMP firewall issue discussed on the 101 page. Enabled a rule for that and the disconnects appear to have stopped immediately.
I never noticed this item in the 101 as the symptoms was not included with the tip in the 101. I was troubleshooting the exact same issue with my DB1 for the past month. While the DB1 never actually disconnected from the wifi, it would restart the RTSP stream every 3 minutes, which appears as a signal loss / disconnect in BI and when using VLC. As Alex pointed out recently to another user, there is semantics in the usage of the word as "disconnect" as it implies it disconnected from the network to him (while others simply indicated the symptom which was that BI/VLC stops receiving the stream and would try to reconnect to the camera after a few seconds implying it disconnected from the camera, not the network).
Switching my access point from EAP120 to a EAP245 and switching band from 2Ghz to 5Ghz didn't solve it. I already had my firewall (an EdgeRouter) open to allow the DB1 unrestricted access to the internet.
Yesterday, while troubleshooting an NTP issue between my newly install GS324T Managed Pro switch and my EdgeRouter, I enabled logging on the local interface firewall since the traffic between the switch and the router would never leave the VLAN to find the NTP packets, I found the DB1 ICMP packets getting sent to the local interface on its VLAN and were getting blocked as I only allowed NTP and DNS to all devices on the local interface, and SSH and GUI port access only to "admin" devices. I added allowing ICMP packets to the local interface for just the DB1 VLAN, and the DB1 has now been running smoothly without the constant 3 minute restarts of the RTSP stream.
While I had allowed unrestricted access to the internet, and unrestricted access to NTP and DNS on the local interface (gateway router), I didn't allow ICMP pings on the local interface.
Like you said Ronin, you need to ensure that the DB1 can ping its gateway IP address, otherwise, the DB will stop and restart the RTSP stream every 3 minutes, while not disconnecting from the network itself.
Now, I just need to review my DB1 firewall logs for the past month to isolate all the IP addresses and ports it communicates with on the internet so that I can lock down the DB1 firewall policy. The list of ports that cool77 mentioned did not work for me at the beginning which is why I have allowed unrestricted internet access.
@David, can you revise the 101.
In your Firewall settings, allow ICMP from the Doorbell to your router, otherwise you will lose the RTSP stream every 3 minutes in BI, VLC, etc.the doorbell will disconnect/reconnect the WiFi
Remove the disconnect/reconnect the Wifi as that never showed up in my AP logs and the normal cloud apps did not appear to lose its streaming connection either.
It's unfortunate the 101 wiki is not more clear and you spent extra time troubleshooting like I did.
I already asked David to revise the 101 so that the solution to the 3 minute loss of signal issue can be found easier. The wiki only says blocking icmp causes the wifi to disconnect, which as you and I found, wifi never disconnects, so you may have assumed that is not the issue to your problem and then end up spending more time troubleshooting. But, neither Alex nor David thought the wiki needed fixing.