evercam / ex_nvr

Video recording and computer vision for edge devices
https://evercam.github.io/ex_nvr/
GNU Affero General Public License v3.0
40 stars 10 forks source link

EXNVR HTTPS Port Closes on RPi5 frequently #477

Closed dhairyas17 closed 4 weeks ago

dhairyas17 commented 3 months ago

We have noticed a couple of times that after some time of running, the exnvr HTTPS port closes by itself without giving any error in the log, making it unreachable. This issue is primarily observed on the Raspberry Pi 5 and might be related to firmware (may be).

It significantly affects gate report cameras, as the NVRs become unreachable through the HTTPS port while processing ANPR events.

Restarting the EXNVR service on the Pi temporarily fixes the issue, but it reoccurs periodically

marcoherbst commented 2 months ago

We discussed a server side scripted workaround (if port closed, restart service). Of course this script could also run locally. If needed by checking port open state using something like https://canyouseeme.org/