Hi everyone,
I’m running a self-hosted Frappe server. Recently, I’ve been facing frequent “connection timed out” issues while accessing the server.
Has anyone else experienced this? If you have any suggestions or possible solutions to fix or debug this issue, I would really appreciate your help.
Thanks in advance!
It may be due to fail2ban
/etc/init.d/fail2ban status
/etc/init.d/fail2ban stop
could be possible to take a look at nginx-proxy.conf?
Will there be any issues if we stop the service?
It’s best not to stop fail2ban permanently, as it helps protect your server. Instead, check if your IP is being blocked and add trusted IPs to the whitelist so they don’t get banned.
You can also check out this related discussion for more details:
If your connection coming from a fix IP address you can add it to ignoreip in jail.conf
# "ignoreip" can be an IP address, a CIDR mask or a DNS host. Fail2ban will not
# ban a host which matches an address in this list. Several addresses can be
# defined using space (and/or comma) separator.
ignoreip = 127.0.0.1/8
Furthermore, do you have also SELinux or AppArmor enabled?
First, try to disable it and check if you are banned again.
If problem persists, re-enable SELinux and modify nginx-proxy…