theodi / open-data-certificate

The mark of quality and trust for open data
https://certificates.theodi.org/
MIT License
46 stars 39 forks source link

Password Reset emails slow or not received #1680

Open olivierthereaux opened 6 years ago

olivierthereaux commented 6 years ago

Expected Behaviour

Login screen offers the ability to reset password via email.

https://certificates.theodi.org/users/password/new?locale=en

Entering a valid email (linked to an existing account) should result in an email with reset link being received near-immediately.

Current Behaviour

We have received reports that the emails arrive very, very late, so much so that by then the link is no longer valid.

I have reproduced the issue: have tried the "forgot my password" link 24 hours ago in production instance of certificates, and yet to receive email. Email does not appear to have been spam filtered, although that is one possibility.

It is possible that the issue was caused by a recent deploy, which included a bump in dependencies.

olivierthereaux commented 6 years ago

My hunch: the integration with Mandrill is broken / outdated.

langphil commented 6 years ago

Having tested this, I am not currently seeing a delay in receiving emails when requesting a password reset.

Alongside this, the password reset seems to fix the 'Server Error' issue outlined in https://github.com/theodi/open-data-certificate/issues/1686 that is being returned upon attempted logins.

I'll continue to investigate.

langphil commented 6 years ago

The Mandrill API app for staging was switched to 'off', emails were not being recieved as the service was not in play. This has now been switched 'on' and emails are being sent and recieved.