themarshallproject / klaxon

Klaxon enables reporters and editors to monitor scores of sites on the web for newsworthy changes.
https://newsklaxon.org
MIT License
646 stars 199 forks source link

500 error when logging in #460

Closed ericwallace904 closed 3 years ago

ericwallace904 commented 3 years ago

If I try to log in via the bookmarklet or via the app's main page, after I type in my email address and click "login", I get a "500 We're sorry. Something went wrong. Go home?" message. I'm using Edge on Win10, if that matters. I checked the Heroku log and there was a message of "Net::SMTPAuthenticationError (535 Authentication failed: Bad username / password" I hadn't logged in to my Klaxon in a while, if that makes a difference. I can tell from the logs that it is trying to check my saved pages.

tommeagher commented 3 years ago

@ericwallace904 Did this ever work? I wonder if there's an issue with SendGrid authorization.

ericwallace904 commented 3 years ago

@tommeagher It worked for a while. It looks like the last notification I got was in May 2020. I didn't realize it wasn't working until now...

tommeagher commented 3 years ago

@ericwallace904 it looks like you're running a very old version of Klaxon, version 0.2.6 (We're now on 0.5.0). I'm going to guess your problem relates to this: https://github.com/themarshallproject/klaxon/blob/develop/SENDGRID.md Did you update your Sendgrid API key as in those instructions?

ericwallace904 commented 3 years ago

I had not updated my Sendgrid API key - just did that and email works! Thanks! I tried updating my Klaxon, and things are breaking because of that mimemagic issue...

tommeagher commented 3 years ago

@ericwallace904 Doh. Ok. I will note in #461 you're getting caught in that too. I don't think we'll be able to fix it today, but will try to tackle it early next week.