My server blocking me to access

My server is blocking me to access via browser
Give me this errors This site can’t be reached
I known its a block because when i try from another device it works very good
My server info is
Ubuntu 16.04
I used free ssl letsencrypt
Any ideas

Probably a cache problem. Clear your HSTS cache too. You can clear it at chrome://net-intervals

I had the same blocking issue last week on an fresh ubuntu server after setting up email service in erpnext. With an other IP it worked. Also after some hours it worked again. do not know if this has to do with session management because there was no failure message from erpnext, just a server not found in the browser?

2 Likes

i had this too after setup email service

Any error log on server and client side?

no there is no errors
in erpnext

@clarkej @rmehta
Please Help us

"
My server is blocking me to access via browser
Give me this errors This site can’t be reached
I known its a block because when i try from another device it works very good
"
Search the forum…check for network connectivity and open ports

1 Like

i’ll try thank you

1 Like

after i check iptables -S
i found this line
-A f2b-NoNginxProxy -s 196.131.42.4/32 -j REJECT --reject-with icmp-port-unreachable

To help or understand your problem context, first you need to explain this in more detail

"
My server is blocking me to access via browser
Give me this errors This site can’t be reached
I known its a block because when i try from another device it works very good
"

1 Like

hi clarkei
i’ve installed erpnext on clean ubuntu 16.04 server
after that i tried to send e-mails but i faild then i do this
apt-get purge postfix
apt-get install mailutils
and i changed the server to another name
then this problem happens

Your description lacks sufficient details to identify and resolve your issue fatheyabdelslam

I suggest that you reinstall erpnext, then seek advice when you get stuck.

To help you please appreciate we will specifics on what you did and the result, for eg an error message or traceback and so on.

cheers

Have the same blocking/connecting problem again. Here some details:
Failure Message from Browser: Unable to Connect.
Blocking comes up when refreshing user Page> security settings in erpnext.

Simultaneous Sessions: 5
Login After: 0
Login Before: 0
Restrict IP: blank

Changing Browser does not help so its not a browser cache thing! Only changing the IP you connect to erp. When i switch to mobile or go to the site over a free proxy (insecure?) with the same browser it works without any problem. Tried to change from mobile the security settings but after a refresh it also blocks mobile browser, but for a much shorter time.

Setup:
Ubuntu 16.04.3
Fresh install with no install failures.

Is this a host incompatible (or mail) blocking issue?
any idea how to fix this “bug”?

1 Like

Hi all,

have you checked if this is related to fail2ban? You can temporarily remove it and see if this resolves the issue…

sudo apt remove --purge fail2ban
2 Likes

thanks @lasalesi i will check that!

i try to enter ignore IPs in file:
/etc/fail2ban/jail.local

Hi @philip,

yes, in ignoreip = and don’t forget

sudo service fail2ban restart
1 Like

@lasalesi fail2ban restart worked for now! :man_mechanic:thanks.

i surf with an ipv6 IP and my version of Fail2Ban (v0.9.3) maybe does not support “ignoreip” IPv6.
is updating fail2Ban to 0.9.4 or (0.9.10 experimental) hurt the erpnext installation or is it a simple task?

now i observe what action is causing fail2ban to get active here.

Currently, Debian stretch ships with fail2ban (0.9.6-2) and sid contains fail2ban (0.9.7-2).

But according to https://github.com/fail2ban/fail2ban/issues/39 v0.9.3 should already contain IPv6 support… Make sure to enable to switch and use /64.