cPanel,WHM and webmail login issue

Today, suddenly I have started getting the below error message when i try to access the cPanel/WHM.

“A network error occurred while sending your login request. Please try again. If thiscondition persists, contact your network service provider.”

If you have done bunch of failed login attempt to cpanel,webmail & whm and you have gotten the above error message when you try to login cpanel, whm & webamil.

That might be a firewall blocking your access over server, Your Internet IP got blacklisted in “cPHulk Brute Force Protection” and you have to remove and make it work. But in this scenario you might not be able to login to your server from your system because it is already blacklisted.

So if you have the more then one server you can attempt to login from one terminal to another and REMOVE/WHITELIST your IP from “cPHulk Brute Force Protection” and try to access.

Use the below command to white-list (If you have STATIC IP) your IP from cPHulk Brute Force Protection:

/scripts/cphulkdwhitelist YOURIP

You can also use the below command to remove your IP from cPHulk Brute Force Protection.

 

mysql -u root -p
connect cphulkd

Use the below command to check whether your IP got blacklisted at cPHulk Brute Force Protection.

select IP, BRUTETIME from brutes order by BRUTETIME;
select IP, LOGINTIME FROM logins order by LOGINTIME;

If your IP got blacklisted at cPHulk Brute Force Protection. Use the below command to remove it.

delete from brutes;
delete from logins;

Finally exit from MySQL server.

quit

Once your IP removed, try to access it again. Now you will be login without any issues.