Email polling error with Google Apps

(Alex Armstrong) #1

I’m getting the following warning on my Discourse dashboard:

And this is the log:

I’m not sure what, if anything, to do about this.

(Régis Hanol) #2

What does the “info” tab say when you look at that particular error?

(Alex Armstrong) #3


Job exception: -ERR [SYS/TEMP] Temporary system problem. Please try again later.


/usr/local/lib/ruby/2.3.0/net/pop.rb:1006:in `check_response_auth'
/usr/local/lib/ruby/2.3.0/net/pop.rb:905:in `auth'
/usr/local/lib/ruby/2.3.0/net/pop.rb:567:in `do_start'
/usr/local/lib/ruby/2.3.0/net/pop.rb:531:in `start'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:34:in `poll_pop3'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:16:in `execute'
/var/www/discourse/app/jobs/base.rb:154:in `block (2 levels) in perform'


hostname	connect-app
process_id	[31169, 95, 698, 17513, 14817, 16461]
application_version	[8c51d34100a98d2b1548965bc4a9c5432913a5e7, 2f3ee3b6586dbec793d5b2605b45a2cc8c462827, 4d65370797d87d90741f2f3774b7c6dccdb6a7ae, 802b502818ced8530e5dca3c8aeda477d9c7d74b]
current_db	default
job	Jobs::PollMailbox
message	Signing in to poll incoming emails.

Does any of this help? :confused:

(Régis Hanol) #4

Are you polling from GMail by any chances?

(Alex Armstrong) #5

Yes, we’re using Google Apps for polling.

(Régis Hanol) #6

Make sure you enable “access from less secure apps”.

(Alex Armstrong) #7

I had it turned on for the reply by email address (the polling address), but not for the notification email. I turned it on for that as well, though I don’t think it matters.

(Alex Armstrong) #8

I don’t mind if emails were delayed, but might this issue have prevent emails from going out or coming in altogether?

(Régis Hanol) #9

It’s just for incoming emails.

(Alex Armstrong) #10

OK. So I’m assuming that this is just a glitch, that Google decided not to play nice for a bit. Because a user just sent in a post via email. Sound reasonable?

If so, would the polling (when it continued) pick up on the email(s) that were sent during the glitch?

(Régis Hanol) #11

We’ve found that Google would requires us to re-login every two months or so. Not sure why though :frowning:

Yes, it will poll all the emails it hasn’t seen yet.

(Régis Hanol) #12