Are you using Cloudflare or another reverse proxy?
This error indicates that the IP address of the login request is blocked. The users’ IPs may fall within a blocked IP range, or Discourse may be seeing the proxy’s IP rather than their actual IPs.
If you’re using Cloudflare’s proxy with a standard Docker installation, check whether templates/cloudflare.template.yml is included in your app.yml.
We had a similar issue reported here.