After upgrading to discourse 3.. can only access to admin using safe-mode

There are lots of reasons you might see rate limit issues.

The top culprit is using something like Cloudflare without the Cloudflare template. Doing so means that your server things all of your users originate from one or two IPs.

Tell us about your setup and we can help troubleshoot - what worked for others may not work for your specific configuration.