In account section reset password not working

and in LMS logs that type of error shows

password_reset.py:294 - Password reset rate limit exceeded for email edx@example.com.

thanks in advance

and how to increase the limit of a password reset

Not really sure… probably those settings

need to increase?

PASSWORD RESET RATE LIMIT SETTINGS

PASSWORD_RESET_IP_RATE = ‘4/m’
PASSWORD_RESET_EMAIL_RATE = ‘4/h’

but the issue is still occurs

Just to diagnose the issue, try bumping them way up – 20/m each, see if it keeps happening. If it does, then the issue is elsewhere.

Other thoughts:

  • I believe the rate-limiting is tracked in Redis or Memcache. Is it possible that caching isn’t set up properly, and that’s causing an error in the rate-limiting code? Check logs.
  • There’s a mechanism CLOSEST_CLIENT_IP_FROM_HEADERS that controls how the IP address is determined for rate-limiting (and other) purposes. If misconfigured, it can result in inappropriate rate-limiting. But that shouldn’t matter for devstack.
1 Like
PASSWORD RESET RATE LIMIT SETTINGS

PASSWORD_RESET_IP_RATE = ‘20/m’
PASSWORD_RESET_EMAIL_RATE = ‘20/h’
also restart the docker container memcached

IN LMS-logs

if anyone has
solutions so please help me

By looking at the ambiguous screenshot, it seems the error is related to the SMTP conection, hence when you restet password an email would be sent. Are you sure you have correct SMTP setting/setup

Agreed, check the host/port for your mailer settings. It’s not a rate-limiting issue.