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.
In a support thread regarding email polling errors with Google Apps, user alehandrof reported a “Temporary system problem” error preventing Discourse from polling incoming emails. User zogstrip guided the troubleshooting process, identifying that the issue likely stemmed from Google’s security settings. As noted in a quote from codinghorror, Google Apps mailboxes require “access from less secure apps” to be enabled to avoid POP3 authentication failures. alehandrof confirmed they had enabled this setting for the reply address but not the notification email, so they enabled it for both. zogstrip clarified that this setting only affects incoming emails, not outgoing ones. Finally, alehandrof asked if the glitch caused missed emails or if the system would catch up once resolved. zogstrip confirmed that the polling job will retrieve any emails sent during the interruption that haven’t been seen yet.
What does the “info” tab say when you look at that particular error?
Info:
Job exception: -ERR [SYS/TEMP] Temporary system problem. Please try again later.
Backtrace:
/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'
Env:
hostname connect-app
process_id [31169, 95, 698, 17513, 14817, 16461]
application_version [8c51d34100a98d2b1548965bc4a9c5432913a5e7, 2f3ee3b6586dbec793d5b2605b45a2cc8c462827, 4d65370797d87d90741f2f3774b7c6dccdb6a7ae, 802b502818ced8530e5dca3c8aeda477d9c7d74b]
current_db default
current_hostname connect.amicalnet.org
job Jobs::PollMailbox
message Signing in to poll incoming emails.
opts
Does any of this help? ![]()
Are you polling from GMail by any chances?
Yes, we’re using Google Apps for polling.
Make sure you enable “access from less secure apps”.
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.
I don’t mind if emails were delayed, but might this issue have prevent emails from going out or coming in altogether?
It’s just for incoming emails.
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?
We’ve found that Google would requires us to re-login every two months or so. Not sure why though ![]()
Yes, it will poll all the emails it hasn’t seen yet.