ERPNext drops sometimes and suddenly it goes up

The default fail2ban rules are quite strict. Multiple client errors (404’s or disconnects) may actually trigger a temporary ban. The best is to whitelist the public IP from where you want to access your ERPnext instance: