Gmail POP3 needs an app password nowadays

Would this be the cause of our recent gmail issues too?

Approx three days ago we started seeing this:

The logs show:

Job exception: -ERR [AUTH] Username and password not accepted.

And the details:

/usr/local/lib/ruby/2.7.0/net/pop.rb:1007:in `check_response_auth'
/usr/local/lib/ruby/2.7.0/net/pop.rb:906:in `auth'
/usr/local/lib/ruby/2.7.0/net/pop.rb:568:in `do_start'
/usr/local/lib/ruby/2.7.0/net/pop.rb:531:in `start'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:39:in `poll_pop3'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:14:in `execute'
/var/www/discourse/app/jobs/base.rb:232:in `block (2 levels) in perform'
rails_multisite-4.0.1/lib/rails_multisite/connection_management.rb:80:in `with_connection'
/var/www/discourse/app/jobs/base.rb:221:in `block in perform'
/var/www/discourse/app/jobs/base.rb:217:in `each'
/var/www/discourse/app/jobs/base.rb:217:in `perform'
/var/www/discourse/app/jobs/base.rb:279:in `perform'
mini_scheduler-0.13.0/lib/mini_scheduler/manager.rb:93:in `process_queue'
mini_scheduler-0.13.0/lib/mini_scheduler/manager.rb:37:in `block (2 levels) in initialize'

Per:

The username and password are both unchanged (for years now) and also confirmed they were correct by copying and pasting them from the Discourse admin panel in to gmail.com to confirm they were correct.

Your one sounds more like the recent change that now makes you use 2FA and App Password for your google account:

3 Likes