I’ve been down this road recently and in some cases even whitelisting and restarting did not remove the IP from the ban list. I had to manually clear the ban. I did so through SSH.
show list: “iptables -L fail2ban-SIP”
Delete: “iptables -D fail2ban-SIP #” (where # is the sequence number of the IP you want to clear)